[MUD-Dev2] [DESIGN] AJAX Client/Servers?
Alex Arnon
alex.arnon at gmail.com
Thu Feb 15 11:43:17 CET 2007
On 2/14/07, Phillip Lenhardt <philen at monkey.org > wrote:
> Is anyone aware of or working on AJAX(ish) client/server code for
> something mud-like? I am specifically not interested in emulating
> a telnet+ansi connection in a browser. I am interested in the
> details of making http 1.1 keep-alive and chunking work (correctly?
> at all?) to minimize the amount of socket creation/teardown, error
> detection and recovery when sockets/connections close, etc. Extra
> points if the server end code is in python.
Disclaimer: I am not a Web or Python programmer, and I'm basing the
following suggestion on talks with people who are, and on small tests I
have done myself :)
Maybe you should look at working in a COMET-like fashion (
http://en.wikipedia.org/wiki/Comet_%28programming%29), which should give
you better responsiveness. Since this is a MUD, the expected number of
connections should be relatively small, so there shouldn't be much of a
scaling problem. AFAIK you'll need a COMET-enabled HTTP service
infrastructure, since it works by keeping a connection open by
drip-feeding it keepalives.
I don't know what's available on the Python front, but there's at least
one stable Java project that's been in production use for a while. And
I'll plug my favourite environment, Erlang ( www.erlang.org,
yaws.hyber.org) :)
More information about the mud-dev2-archive
mailing list