Any chance you could port this to trunk / 2.0?
On Thu, May 20, 2010 at 7:08 AM, Loic Dachary <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > opensocial-server ( http://opensocial.pokersource.info/server ) is a > specialized standalone server handling the makeRequest opensocial > proxy calls. It is designed to have a small memory footprint (about > 30MB for 500 simultaneous connections) for the benefit of long polling > web applications such as http://jspoker.pokersource.info/. It is > based on a minimal derivative of > http://code.google.com/p/phpsocketdaemon/ and > > http://svn.apache.org/repos/asf/shindig/tags/shindig-project-1.0-incubating/php > (i.e. opensocial-0.8.1). > > Enjoy > > Hi, > > > > I'm trying to figure out if running PHP shindig with the Drupal > > adaptor ( http://drupal.org/project/ShindigIntegrator ) from within > > a standalone PHP based server ( using > > http://code.google.com/p/phpsocketdaemon/ ) can be done without too > > much trouble. > > > > My primary incentive is to reduce the memory usage. The jpoker web > > application (as found at http://jspoker.pokersource.info/ ) uses > > long polling. Within an opensocial context, it means there is one > > idle makeRequest query running for each active user. Using a > > traditional apache prefork daemon, it means 20MB of resident memory > > per query, which is high. Using threads would improve the situation > > a little, but even a few megabytes is overkill to handle a single > > idle socket. > > > > I would very much appreciate any input you may have with regard to > > this specific problem. > > > > Thanks in advance > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.13 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkv1QnMACgkQ8dLMyEl6F22q4QCgrWmuy+77m49c6dCebbfMF0xd > VmUAoISgWPBczbGxzuF0L8o91jIpGg+7 > =lZpn > -----END PGP SIGNATURE----- > >
