{"repo":"sid19991/rapidlog","free":true,"listed":false,"github":"https://github.com/sid19991/rapidlog","clone":"git clone https://github.com/sid19991/rapidlog.git","description":"High-performance JSON logging for Python with zero dependencies","language":"Python","stars":12,"topics":["json","logging","performance","python","structured-logging"],"license":"MIT","category":"analytics","readme_excerpt":"rapidlog 🚀 High-performance JSON logging for Python — Pure Python, zero dependencies, designed for speed. --- The Problem Python's logging module has lock contention under multi-threaded load . When your application logs from multiple threads, they compete for a shared lock, killing throughput: Result: Logging becomes a bottleneck in multi-threaded applications. --- The Solution: rapidlog 3.1x faster structured JSON logging with a clean API and zero dependencies. That's 13.6K extra logs per second your application can handle. --- Installation --- Quick Comparison: stdlib vs rapidlog Before (stdlib logging) After (rapidlog) That's it. Cleaner API, 3x faster, zero dependencies. --- Key Features ✨ 3.1x faster than stdlib logging under multi-threaded load ⚡ Zero lock contention on the hot path (per-thread buffers) 🔧 Configuration presets for memory vs throughput trade-offs 🧵 Thread-safe multi-producer, single-consumer design 📦 Zero dependencies — pure Python stdlib only 🛡️ Battle-tested — 37 comprehensive tests covering edge cases --- Quick Start Basic Usage --- Migrating from stdlib logging Step 1: Replace imports Step 2: Update logging calls Step 3: Remove JSON formatter setup That's it! - Logs are now JSON by default - You get 3x the throughput - Zero dependencies - Same thread-safe behavior --- Configuration Presets Choose a preset based on your application's constraints: Preset Comparison: Preset Queue Size Batch Size Peak Memory Best For -------- ----------- ----------","default_branch":null,"files":null,"tree":[],"storefront":"/r/sid19991","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sid19991/rapidlog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}