Ask HN: A hacker news like site in go which database would you use?
1–3 of 3 posts
Re: Ask HN: A hacker news like site in go which database would you use?
#2I would suggest defaulting to PostgreSQL for all database needs unless you have a specific reason to use something else. It is well supported on most platforms, under very active development, and has exceptional documentation.
Re: Ask HN: A hacker news like site in go which database would you use?
#3Anyway, until a few years ago, every item was had its own file and all the files were in one directory. But it got to the point that performance could not keep up with rising page views and Paul Graham reorganized all the items lexicographically into a file hierarchy base on item number to improve performance. But that optimization wasn't done until it created a problem.
It might be an interesting exercise to try to come up with reasons why an DBMS would be a better alternative to files for Hacker News.
Good luck.