From: Eric Hodel Date: 2003-08-06T09:55:19-07:00 Subject: Re: Why does Ruby have callcc? --/GPgYEyhnw15BExa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Julian Fitzell (julian@beta4.com) wrote: > Well now, it's not that it doesn't scale - you just have to be careful=20 > how you let it scale. There are several useful deployed applications=20 > out there using Seaside. One in particular that Avi and I wrote has=20 > been running for a year and a half with almost no maintenance on our=20 > part. Now you're right that you probably wouldn't want to use it for a= =20 > site that received millions of hits in a day, but you have a quite a bit= =20 > of control over what state gets stored for backtracking and how many=20 > previous page views you want to keep around for a session, etc. You can= =20 > definitely reasonably have a session kept under a couple of megs, which= =20 > could give you hundreds of concurrent users on a box with a Gig of ram. Currently, Borges doesn't support all that yet (some of it yes), I add stuff to it as I need it. > Now I'm trying to remember the state of Borges (and the limitations of=20 > the basic part he ported back to ruby for that talk) and I can't=20 > really... so it may be that what he demoed didn't scale for some reason.= =20 > So it's possible you're remembering correctly ;) The mini-port Avi did could only run in a single thread, I have removed this restriction, and added a few other things like session expiry. The application 'Webplayer' at: http://segment7.net/ruby-code/webplayer/webplayer.html Is written using Borges and WEBrick. If you want a good example application of how to write a Borges app, this is it. (And is a pretty good web-based mp3 player controller.) --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --/GPgYEyhnw15BExa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/MTL3MypVHHlsnwQRAmRvAKCd7hESF9hvSRHFQtfIsLmZdYv11ACfT2GA dwFWW9Xe5qx95dzVvjvG6Ps= =n7No -----END PGP SIGNATURE----- --/GPgYEyhnw15BExa--