On 14 Jul 2006, at 00:19, Michael Giambalvo wrote: > I'd like to make an application where the client keeps a connection > open to the server as a channel to receive events. Here are some > examples of what I'm shooting for > > http://ajaxpatterns.org/HTTP_Streaming > http://www.lightstreamer.com/ > > What I'm wondering is what would be the ideal catalyst setup for this, > and what kind of capacity should I expect? Essentially, what I want > is for certain controller methods to keep running for long periods of > time, perhaps blocking or sleeping, and to send events back to the > client as they occur. > > How many concurrent sessions should I be able to keep open if I'm > running catalyst in lighthttpd with fastCGI, for example? I've > considered making my own server to handle this one specific case, but > I'd much rather do this within catalyst.
My recommendation would be to do a Catalyst implementation of the cometd protocol (I desperately want to myself but don't have the tuits yet). Then if you need to scale further than Cat can handle you can just switch cometd implementations. -- Matt S Trout, Technical Director, Shadowcat Systems Ltd. Offering custom development, consultancy and support contracts for Catalyst, DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for details. + Help us build a better perl ORM: http://dbix- class.shadowcatsystems.co.uk/ + _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
