the queue is the list of what is waiting.

Requests coming in - requests getting served == queue.

Oren

On Mon, Mar 8, 2010 at 2:55 PM, Daniele <[email protected]> wrote:

> Hi,
> I wrote a simple test app to test the queue with a dummy 1 sec action.
> The app has 1 syno active.
> The controller:
>
> class VisitmeController < ApplicationController
>  def test
>    sleep 1
>    render :text => "#{Time.now} - Queue:
> #{request.headers["HTTP_X_HEROKU_QUEUE_DEPTH"]}"
>  end
> end
>
> So I lunch ab against it:
>
> ab -c 10 -t 60 http://myapp.heroku.com/visitme/test
>
> With a concurrency of 10 I should get a queue of 10, right?
> Instead, while response times are correctly about 10 secs, the queue
> is always at 5 or lower value. How can that be possibile?
>
> Regards,
> Daniele
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to