TrailBase: A Blazing Fast Lightweight Database
TrailBase, a lightweight database, combines a low-overhead language, a fast HTTP server, and a lightweight relational SQL database. Benchmarks show TrailBase inserting 100k records over 20 times faster than SupaBase, 10 times faster than PocketBase, and even slightly faster than in-process vanilla SQLite. While SupaBase offers more features, its memory footprint is roughly 50 times larger than TrailBase's. TrailBase boasts sub-millisecond read latencies, comparable to Redis, but operates on primary data, not a cache. Its JavaScript performance is also exceptional, with its V8 engine outperforming PocketBase's goja engine by a factor of 40. In short, TrailBase is incredibly fast and resource-efficient, but real-world testing is crucial.