From macosx@opengroupware.org Tue Jul 4 05:48:13 2006 From: macosx@opengroupware.org (Marco Scheurer) Date: Tue, 4 Jul 2006 06:48:13 +0200 Subject: [OGo-MacOSX] Load balancing Message-ID: <8C781555-3449-4C18-AE6D-C715806A3CAA@sente.ch> Hi, Could anybody share informations or pointers on how we could have multiple instances of a SOPE application running, for load balancing? Thanks, marco Marco Scheurer Sen:te, Lausanne, Switzerland http://www.sente.ch From macosx@opengroupware.org Tue Jul 4 08:40:23 2006 From: macosx@opengroupware.org (Helge Hess) Date: Tue, 4 Jul 2006 09:40:23 +0200 Subject: [OGo-MacOSX] Load balancing In-Reply-To: <8C781555-3449-4C18-AE6D-C715806A3CAA@sente.ch> References: <8C781555-3449-4C18-AE6D-C715806A3CAA@sente.ch> Message-ID: On Jul 4, 2006, at 06:48, Marco Scheurer wrote: > Could anybody share informations or pointers on how we could have > multiple instances of a SOPE application running, for load balancing? Skyrix has a software called 'snsd' ("session name service daemon") to do session routing. Its not included in (opensource) SOPE. This daemon acts as a registry of running applications. If you start an application it connects to the snsd and then reports all sessions it creates to it. On the other side the Apache module will ask the snsd for the IP/port the app is running on if it receives a request. However a lot of software can do frontend based routing based on session-ids, probably you can use something else too. (Pound maybe?) Greets, Helge -- Helge Hess http://docs.opengroupware.org/Members/helge/ From macosx@opengroupware.org Tue Jul 4 16:09:22 2006 From: macosx@opengroupware.org (Marco Scheurer) Date: Tue, 4 Jul 2006 17:09:22 +0200 Subject: [OGo-MacOSX] Load balancing In-Reply-To: References: <8C781555-3449-4C18-AE6D-C715806A3CAA@sente.ch> Message-ID: On Jul 4, 2006, at 9:40 AM, Helge Hess wrote: > On Jul 4, 2006, at 06:48, Marco Scheurer wrote: >> Could anybody share informations or pointers on how we could have >> multiple instances of a SOPE application running, for load balancing? > > Skyrix has a software called 'snsd' ("session name service daemon") > to do session routing. Its not included in (opensource) SOPE. > This daemon acts as a registry of running applications. If you > start an application it connects to the snsd and then reports all > sessions it creates to it. On the other side the Apache module will > ask the snsd for the IP/port the app is running on if it receives a > request. > > However a lot of software can do frontend based routing based on > session-ids, probably you can use something else too. (Pound maybe?) Thanks for the info we were thinking about starting with the Project Wonder adaptor, but we'll look into Pound. What are the conditions to use snsd ? Thanks, marco Marco Scheurer Sen:te, Lausanne, Switzerland http://www.sente.ch From macosx@opengroupware.org Tue Jul 4 16:17:21 2006 From: macosx@opengroupware.org (Helge Hess) Date: Tue, 4 Jul 2006 17:17:21 +0200 Subject: [OGo-MacOSX] Load balancing In-Reply-To: References: <8C781555-3449-4C18-AE6D-C715806A3CAA@sente.ch> Message-ID: On Jul 4, 2006, at 17:09, Marco Scheurer wrote: > Thanks for the info we were thinking about starting with the > Project Wonder adaptor, but we'll look into Pound. Well, the adaptor is opensource (mod_ngobjweb), only the monitoring daemon is proprietary. Does Project Wonder provide the latter? And if so, how does the application tell it about a new session? (same issue for Pound, it would need to scan the result page for wosid's, not sure whether it does that, but maybe). > What are the conditions to use snsd ? AFAIK its only sold as part of the OGo advanced server, so we would need to find some other, specific way. Do you want to use it on OSX or on Linux? On a single website for now? Feel free to tell me in PM ;-) I guess we should be able to find a solution. Greets, Helge -- Helge Hess http://docs.opengroupware.org/Members/helge/