The author tested three approaches to handle database lookups: in-memory map, binary search on disk, and SQLite, and found that the in-memory map handles ~97k req/s, binary search on disk handles ~40k req/s, and SQLite handles ~25k req/s. The author concludes that for most applications, especially early-stage ones, a database might not be necessary yet, but as the application grows, a ...