| Wed, Feb 15, 2006. AJAX idea | |
Can be a fun thing to make...
(навеяно новой примочкой от gmail)
Come up with own schema for continuous ajax communication (to make sure that on one hand it does not grow in memory infinitely with time on the clien, on the other hand it handles the events from the server reliably (does not drop events)
On the server side there is a need to create a really lightweight socket communication that would
(a) reconnect quickly (possibly reuse existing worker threads)
(b) be able to channel some messages from one source to multiple (numerious) destinations with the least amount of memory overhead (in other words, try not to copy one message to 5000 worker threads' queues)
((b) can be easily done with each thread having the "current" pointer pointing to the message it read last in the message queue, but then it brings a question of expiring of messages (looks like the reference has to be a weak one then:)) |