On 10/28/07, Stanislav Sedov <stas / freebsd.org> wrote: > I beleive, you can achive a high efficiency in server design by using > event-driven design. There're some event libraries for ruby available, > e.g. eventmachine. In this case the scalability of the server should > be comparable with the C version. > > Thread will have a huge overhead in case of many clients. > > BTW, the original memcached uses event-driven design too, IIRC. Yes, memcached (including latest) uses libevent. I'm not completely sure whether a production-grade server of this sort is feasible in Ruby. Many people, both here and elsewhere, seem to think it should be done in C for better stability / efficiency / resource consumption. Thanks, -Tom > -- > Stanislav Sedov > ST4096-RIPE