Live data from Hacker News

Ask HN: HN web stack?

news.ycombinator.com

1–10 of 21 posts

Ask HN: HN web stack?

#1
I'm curious about the HN web stack. I know they use arc as the icing but I have no idea what is underneath.

server: Apache(mod_scheme) or plt(racket) web server are my two guesses db: MySQL, PostgreSQL - I read somewhere that they use MySQL

Re: Ask HN: HN web stack?

#9
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

Re: Ask HN: HN web stack?

#10
post #2

http://www.arclanguage.com/install You can read the source code yourself. I don't remember the database, but it's running on an Arc server.

I have taken a look at the source, but wasn't sure if they were using all of it in production. If they are then quite impressive.
Post reply on HN