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. noones+Xh[view] [source] 2013-02-16 05:14:16
>>saraid+t7
Just a nitpick. A "flat file" database suggests encoding all the data to a single file.

Using a files system as a database is a little different as file systems are databases in their own right.

The question to ask is "is the data I want to store in my 'database' enough like the data stored in a filesystem that I can just use the filesystem as my database?"

[go to top]