News Score: Score the News, Sort the News, Rewrite the Headlines

Async Ruby on Rails

Async programming can make your apps faster. I’ll share how you can use async in Ruby on Rails to speed up your app. While there are examples in Ruby, the principles apply to any language. I’ll group the examples into two basic principles. Here’s the first one: Don’t do now what you can do later Delay doing stuff as much as possible. Being lazy is not necessarily a bad thing. In practice, that means a few things: Pay attention when you use a method that ends with _now. They’re strong candidates ...

Read more at thoughtbot.com

© News Score  score the news, sort the news, rewrite the headlines