Mobile app version of vmapp.org
Login or Join
Miguel251

: Neither workers nor dynos directly increase your application speed. If your application is slow, it will continue to be slow even if you add more dynos. Dynos represents concurrent requests.

@Miguel251

Neither workers nor dynos directly increase your application speed. If your application is slow, it will continue to be slow even if you add more dynos.

Dynos represents concurrent requests. With 1 dyno, Heroku handles 1 concurrent request at time. With 4 dynos, it will handle 4 requests but if a request takes 10 seconds to complete, 4 requests will take 10 seconds each.

Workers can indirectly speed up your application if you start moving heavy and slow processes (like email delivery or .PDF generation) to background tasks.

Generally speaking, the way to increase your application performance is to inspect your application behavior and improve the code. Normally, you might want to use a fast caching layer (like Redis or Memcached) to speed up slow queries or cache view fragments.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Miguel251

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme