zlacker

[return to "HN will be down Saturday morning while we switch servers"]
1. blanto+y2[view] [source] 2013-02-15 23:50:02
>>pg+(OP)
Does all of HN run on one single server?
◧◩
2. abstra+Y2[view] [source] 2013-02-15 23:56:06
>>blanto+y2
Not just a single server, a single process on a single core (last time I asked pg at least).
◧◩◪
3. iamwil+y4[view] [source] 2013-02-16 00:13:13
>>abstra+Y2
And I recall the last time I looked at the source (when it was released with Arc), it didn't use a database either. All the data is stored as files.
◧◩◪◨
4. spoile+S5[view] [source] 2013-02-16 00:34:40
>>iamwil+y4
Files???? That's a joke right???
◧◩◪◨⬒
5. abstra+16[view] [source] 2013-02-16 00:37:03
>>spoile+S5
Why should it be? You can get a long long way by treating the filesystem as a database. The first engineers at Amazon used the same technique a lot, as do I.
◧◩◪◨⬒⬓
6. kansfa+S6[view] [source] 2013-02-16 00:54:42
>>abstra+16
Because you always end up building your own database out of flat files and that is always worse than using an existing one.
◧◩◪◨⬒⬓⬔
7. saraid+t7[view] [source] 2013-02-16 01:05:59
>>kansfa+S6
And yet, here you are, on a site run off a flat file database.
◧◩◪◨⬒⬓⬔⧯
8. badgar+Pd[view] [source] 2013-02-16 03:20:27
>>saraid+t7
A commenting site that:

- Has average latency over 500ms when not under load - Performs quite poorly under load (I hate to bring it up, but the most recent example was Aaron Swartz's passing. Anyone who used HN then to get news knows how poorly HN performs under load) - Is restarted every week or two because it leaks memory - Keeps XSRF tokens in memory and loses them across restarts - Doesn't have a full markup language

HN is quite poorly-featured compared to typical commenting sites. People use HN because pg is here. He could remove half the features on the site (bold & italics... what features are there even to remove beside nested commenting?) and retain 90% of the audience.

◧◩◪◨⬒⬓⬔⧯▣
9. Steko+je[view] [source] 2013-02-16 03:32:22
>>badgar+Pd
You're probably seeing the artificial delay introduced for commenters that can't maintain at least a 4.0 comment point average or people who aren't signed in. Site runs like butter for me.
◧◩◪◨⬒⬓⬔⧯▣▦
10. Semiap+Gf[view] [source] 2013-02-16 04:07:30
>>Steko+je
Site runs faster for people not logged in, too.
[go to top]