4 ms·
having never played with it I am tempted, I think a webserver might be a could project for it.
by DarrenStuart 19y ago
having never played with it I am tempted, I think a webserver might be a could project for it.
- jgrahamc 19y agoThe problem with a web server is that I'm not sure there's much interesting inter-process communication which I think is where erlang would really shine. Sure you can spawn a lightweight process for each incoming connection, but after that?
- DarrenStuart 19y agotrue, but what about a comet one? that way its doing a little more than serving up data.
- simpleenigma 19y agoA friend of mine is working on a comet server in Erlang at http://code.google.com/p/erlycomet/ http://code.google.com/p/erlycomet/
- DarrenStuart 19y agothat looks pretty smart. Anyone know what the hardware to connections ratio is for it?
- pius 19y agohttp://news.ycombinator.com/item?id=90211 http://news.ycombinator.com/item?id=90211
- simpleenigma 19y agoThe things you would end up learning about Erlang while writing a web server aren't as much about processes but more about pattern matching. Most people focus on Erlang as an easy way for multi-core/multiprocessor and distributed computing and it is wonderful at that, but the core of the language is a pattern matching engine that is simply amazing. Also, anyone who thinks that Erlang is slow with regular expression should convert the regular expressions into a binary and try some pattern matching. That tends to be more of the Erlang Way of doing things ...