Re:Ask HN: HN web stack?
by jjoe on Friday December 24, 2010 @10:36PM
(#2038463)
It's running the Arc web server, which has its own implementation of the HTTP protocol. I don't think there's anything behind or in front of it. Probably not even Memcached. Think of the app serving HN as a framework. Here's how a "URL" entry would be implemented in Arc:
(defop hi req (prn "Hi there"))
http://news.ycombinator.com/whoami will return your login and IP. It's probably implemented in this fashion:
(defop whoami req (prn (req 'ip)) (prn (req 'id)))
Regards
Joe