Home / Companies / WhyLabs / Blog / Post Details
Content Deep Dive

Small Changes for Big SQLite Performance Increases

Blog post from WhyLabs

Post Details
Company
Date Published
Author
Anthony Naddeo
Word Count
2,099
Company Posts That Month
3
Language
English
Hacker News Points
12
Summary

The WhyLabs engineering team improved SQLite performance by making monitoring data and machine learning models faster and easier for whylogs users. They increased transactions per second (TPS) and p95 latency by orders of magnitude through some small, obscure changes to the SQLite code. These improvements included omitting vacuums, reusing a single database connection for the life of the container, handling disabling autocommits, and committing at the end of blocks. The new code performs significantly better than the old one, with roughly 5 times faster TPS and a p95 request time that is consistently fast enough for users to monitor their data & machine learning models easily and quickly.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 12 143 31 15 +19%
Real-time 4 1,264 334 121 -6%
AI Guardrails 3 No monthly metrics for this publish month.
Observability 2 719 146 52 -2%
RAG 2 15 12 3 +88%
Data Pipeline 1 224 64 36 +29%