Click any tag below to further narrow down your results
Links
Bunqueue is a job queue designed for Bun with no external dependencies. It offers high throughput using SQLite and supports both embedded and standalone server modes. Ideal for single-server applications, it provides features like persistence, retries, and cron jobs without the need for Redis.
The article examines how SQLite can achieve impressive transaction throughput despite its limitations, such as single-writer architecture. It contrasts SQLite's performance with traditional network databases, demonstrating that eliminating network latency allows for significantly higher transactions per second. The author also discusses batching and the use of SAVEPOINTs for transaction management.
SQLite query optimization significantly improved the performance of the Matrix Rust SDK, boosting event processing from 19,000 to 4.2 million events per second. The article details the structure of data persistence using LinkedChunk and how identifying and addressing inefficiencies in SQL queries led to this enhancement. It emphasizes the importance of profiling tools and strategic indexing to optimize database interactions.
The article discusses optimizing SQLite indexes to improve query performance, highlighting the importance of composite indexes over multiple single-column indexes and the significance of index column order. By understanding SQLite's query planner and utilizing techniques like partial indexes, the author achieved a 35% speedup in query execution for their application, Scour, which handles a rapidly increasing volume of content.
aiosqlitepool is a high-performance connection pool designed for asyncio SQLite applications, enhancing database performance by reusing long-lived connections to eliminate overhead and maximize concurrent throughput. It is not a replacement for SQLite drivers but acts as a performance layer, allowing for faster query execution and improved application efficiency under heavy loads. Proper configuration and usage patterns are essential for maximizing its benefits in various application scenarios.
The article explores the potential benefits of using SQLite as a container for the OpenDocument Presentation format (ODP) instead of the current ZIP archive structure. It discusses improvements in document size, performance, memory usage, crash recovery, and accessibility, suggesting that a simple SQLite database could enhance future file format designs without altering the core functionalities of OpenDocument.