Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6818687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:12:35+00:00 2026-05-26T21:12:35+00:00

I have given some thought on how to calculate how many users I can

  • 0

I have given some thought on how to calculate how many users I can handle with Heroku and one dyno.
But to figure it out I need some input.

And I must say that the official documentation isn’t nice to navigate and interpreter so I haven’t read it all. My complaints about it are that it doesn’t describe things very well. Sometimes it describes old stacks, sometimes it’s ruby specific, sometime it isn’t described at all and so on.

So I need some input on how Heroku, Cedar stack, works regarding requests to make my calculations.

You are more than welcome to correct me on my assumptions as I am relatively new to dyno theory.

Lets say I have a controller that takes a request and calculate a JSON response in 10ms locally will I be able to serve 100request a second?

As I understand the cedar stack doesn’t have a fronting caching solution, many questions arises.

  1. Does static content requests take up dyno time?
  2. Does transfer time count to request time.
  3. Can one dyno solution transfer many response to a request at the same time if the request requires small CPU utilization.

Some of the question is intertwined so a combined answer or other thought is valued.

An example:

Static HTML page.

<HTML>...<img><css><script>...
AjaxCall //dyno processing time 10ms
AjaxCall //dyno processing time 10ms
AjaxCall //dyno processing time 10ms
AjaxCall //dyno processing time 10ms
...</HTML>

Can I serve (1000ms / (10ms x 4)) = 25HTML pages a second?

  • This assumes that static content isn’t provided by a dyno.
  • This assumes that transfer time isn’t blamed on the dyno.

If this isn’t the case I would be a catastrophe. Lets say a mobile phone in Africa makes 10 request and have a 10sec transfer time then my App will be unavailable for over 1½ minute.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:12:36+00:00Added an answer on May 26, 2026 at 9:12 pm

    I can only really answer the first question: Static assets most certainly do take up dyno time. In fact, I think it’s best to keep all static assets, including stylesheets and JS on an asset server when using heroku’s free package. (If everyone did that, heroku would benefit and so would you). I recommend using the asset_sync gem to handle that. The Readme does explain that there are one or two, easily resolved, current issues.

    Regarding your last point, sorry if I’m misinterpreting here, but a user in south africa might take 10 seconds to have their request routed to Heroku, but most of that time is probably spent trafficking around the maze of telephone exchanges between SA and USA. Your dyno is only tied up for the portion of the request that takes place inside Heroku’s servers, not the 9.9 seconds your request spent getting there. So effectively Heroku is oblivious to whether your request is coming from South Africa or Sweden.

    There are all sorts of things you can do to speed your app up: Caching, more dynos, Unicorn with several workers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been asked this question and have given this quite some thought but
let's say I have some given coordinates x and y for a pixel, how
I have been given the task of re-writing some libraries written in C# so
cowboy coder needs some help from SO-veterans: I have a given application that uses
I have a class C(Of T). I want to determine if some given value
I have been given some 'reports' from another piece of software that contains data
I have seen that typing about:somekeywords in browsers address bar gives some information. What
I have to give a general note to some huge Java project for which
I have some code that gives a user id to a utility that then
I have given a location defined by latitude and longitude. Now i want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.