Re:SQLite on Rails: The how and why of optimal performance
by pradeepchhetri on Wednesday September 11, 2024 @10:15PM
(#41516973)
Since analytics data is generally write-heavy, I would recommend to use ClickHouse. You can use async-insert[0] feature of ClickHouse, thus you don't need to worry about batching events on your side. If you are looking for an embedded solution, you can use chDB which is built on top of ClickHouse.
[0] https://clickhouse.com/blog/asynchronous-data-inserts-in-cli...