On Oct 14, 2008, at 3:31 AM, rsi wrote:
>
> Hi,
>
> I use Merb to handle image uploads and resizing images, before they
> are send to Amazon S3. In front of merb sits Apache as a proxy
> balancer server and Mongrel. The resizing of the images can take quite
> a while (up to 10-20 seconds for really large images).
>
> What is not clear to me if starting more Merb instances (we run 4
> now), say 10 or 20 would help us scaling our upload service. I read
> everywhere that Merb is multi threaded, but I'm not sure if Merb
> itself can start different processes with large file uploads, etc..
>
> So will our load balance be better if we start more Merb instances or
> does it not make any difference and could we also start one Merb
> instance?
>
> Thanks in advance.
Yes more processes will help you scale the system. Merb is multi
threaded but when you are doing heavy processing it will slow down
that particular merb process while it does the processing. So add some
more processes is the easy way to get more throughput.
Cheers-
-Ezra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---