Live data from Hacker News

Database of Databases

dbdb.io

21–30 of 65 posts

Re: Database of Databases

#22
post #17

Any good learning resources for implementing your own DBMS, and DB internals? (not DB theory, not SQL, not intro).

https://github.com/rqlite/rqlite

https://github.com/rqlite/rqlite/blob/master/DOC/DESIGN.md

I built a distributed database using Raft and SQLite, and I put a lot of thought into its design and implementation -- to make it as simple (but not simplistic) and clear as possible. One goal was clear separation between the consensus layer, the database access, and the HTTP API. I think it's a good resource to study (even if I do say so myself).

Re: Database of Databases

#23
post #10

They're using SQLite which is single threaded and single user by design. So this website will not be able to service that much traffic.

Should be fine for reads. Sqlite.org is dynamic, pulling from sqlite data for ~20% of the pages, and it does fine with HN piling on. The single threaded would be an issue for writes, but I don't see why they would be doing writes for a page view. See https://www.sqlite.org/whentouse.html

Well it looks down now.

Re: Database of Databases

#24
post #10

They're using SQLite which is single threaded and single user by design. So this website will not be able to service that much traffic.

Should be fine for reads. Sqlite.org is dynamic, pulling from sqlite data for ~20% of the pages, and it does fine with HN piling on. The single threaded would be an issue for writes, but I don't see why they would be doing writes for a page view. See https://www.sqlite.org/whentouse.html

Well it clearly wasn't :) Site is down already

Re: Database of Databases

#30

They're using SQLite which is single threaded and single user by design. So this website will not be able to service that much traffic.

I've survived a few HN front pages on SQlite + $5 DO droplet. Don't disparage my primary tech stack like this ^_^

The traffic from a HN frontpage is relatively low per second tbh.

Post reply on HN