Live data from Hacker News

Database of Databases

dbdb.io

1–10 of 65 posts

Re: Database of Databases

#5
Writing a simple query engine can be accomplished with a trie and a hash map to be a bit like Dynamo DB and SQL is straightforward to parse (but a pain to implement).

https://github.com/samsquire/hash-db https://github.com/samsquire/sql-database

These are my very straightforward codebases where I've been experimenting with SQL parsing (and execution) and dynamo db style querying.

You need an efficient range operator to implement a database.

Re: Database of Databases

#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
Post reply on HN