A HTTP Proxy Server in 20 Lines of node.js Code

Replies:

  • None.

Parents:

  • None.
I wonder if Gerald's HTTP Archive system [1] could be rewritten using node.js [2] that would make an easy portable solution for people to have Web archives of their browsing. Offline reading for example.


On Thu, 06 May 2010 09:11:35 GMT
In A HTTP Proxy Server in 20 Lines of node.js Code - good coders code, great reuse
At http://www.catonmat.net/http-proxy-in-nodejs

In 20 lines of node.js code and 10 minutes of time
I was able to write a HTTP proxy. And it scales
well, too. It's not a blocking HTTP proxy, it's
event driven and asynchronous, meaning hundreds of
people can use simultaneously and it will work
well.

[1]: http://impressive.net/people/gerald/1999/01/http-archive/
[2]: http://nodejs.org/

--
Karl Dubost
Montréal, QC, Canada
http://www.la-grange.net/karl/




HURL: fogo mailing list archives, maintained by Gerald Oskoboiny