John Mettraux wrote:
> Neat. In fact there are no "native" clustering / balancing
> capabilities, I think what you've seen in the list were discussions
> and recommendations. I'm just trying to stay out of the way of people
> doing clustering / load-balancing, same thing goes for authentication
> and authorization. BTW, what is your approach to that ?
>
> If you have some time to share your experience with your load
> balancing solution, that would be very appreciated.
>
>
>   
Sure, the load balancing at the moment is quite simple - just a simple 
Ruby script I've built around a resource pool.  The load balancer 
extends Mongrel::HttpHandler and Mongrel::HttpServer to proxy REST 
calls.    I'm prototyping running a single workflow per ruote instance - 
so the job of the load balancer is to make sure this happens.  There are 
some reasons behind this approach that are a little business proprietary 
in nature, but I'd be happy to give you more details off list if you'd 
like?    The trick with the load balancer will be to pull ruote 
instances in and out of the resource pool based on when they've finished 
a workflow - I'll do this in a generic way for both Synchronous and 
typical workflows, with some form of callback.
> There's also rufus-verbs : http://rufus.rubyforge.org/rufus-verbs
> (shameless self-promotion) but no worries, rest-client is neat and the
> Heroku stuff is great, I'm very happy you can leverage ruote-rest with
> rest-client.
>   
I'll check out rufus-verbs as well - thanks, I hadn't noticed it there.
>
> You haven't talked about the "result" of the synchronous process. Do
> you store that result somewhere ? Do you want to include it in the
> reply to the POST ?
>
>
> Cheers,
>
>   
Yes, I'll return the result in the response.  With objects serialized to 
xml or yaml perhaps? 

Thanks,

Corin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" 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/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to