While some adapters (web servers) may span over several processes (and
thus can handle multiple requests "concurrently") the general client/
server model applies to Ramaze as well. Whenever a request comes in,
Ramaze does not block other requests until the first request is
processed. Instead, a new thread is started and that thread takes care
of processing that single request. In the meantime, the main thread
returns to wait for more requests.
What this means is that Ramaze by itself does not run concurrently,
but in practice it takes a very short time to start a new thread. As
long as you have enough processing power and memory Ramaze will "look"
like its serving pages concurrently. This is true even if you run an
adapter using only one process.
/lasso
On 23 Juli, 05:05, Michael Lang <
mwl...@cybrains.net> wrote:
> I use Apache + Phusion Passenger for handling multiple requests. By
> default, I think Passenger starts 6 processes, so you can handle 6
> concurrent requests. Apache will manage the queue when you have more
> concurrent requests than processes to handle them.
>
> Michael
>
>
>
>
>
> On Wed, Jul 21, 2010 at 1:48 PM, txjflip9557 <
txjflip9...@yahoo.com> wrote:
> > I think my last question was worded poorly.
>
> > When multiple clients are requesting the same server page, does Ramaze
> > Controller handle these multiple requests somehow? i.e. have some
> > kind of queue control?
>
> > or would we have to write our own queue functionality for handling
> > multiple client requests?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ramaze" group.
> > To post to this group, send email to
ram...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
ramaze+un...@googlegroups.com<
ramaze%2Bunsu...@googlegroups.com>
> > .
> --
http://codeconnoisseur.org- Dölj citerad text -
>
> - Visa citerad text -