Performance

searchcode.com’s SQLite database is probably 6 terabytes bigger than yours 2025/02/16 (1949 words)

A developer details the migration of searchcode.com's database from MySQL to SQLite, resulting in what might be the world's largest SQLite database at 6.4TB. The migration involved implementing BTRFS compression, upgrading to a powerful server with an Intel Xeon CPU, and successfully maintaining performance across all operations.

Caddy - The Ultimate Server with Automatic HTTPS

Caddy is an advanced HTTPS server featuring automatic TLS certificate management, a RESTful config API, and compliance with PCI, HIPAA, and NIST standards. The server offers robust PKI capabilities, dynamic backend support, and extensive PHP optimization through FrankenPHP, making it a comprehensive solution for modern web hosting needs.

Rust is Eating JavaScript | Lee Robinson

Mozilla-created Rust programming language is increasingly being adopted to optimize JavaScript tooling, offering significant performance improvements in areas like minification, transpilation, and bundling. Major tech companies and open-source projects are leveraging Rust's memory efficiency and speed to enhance developer tools, with projects like SWC showing 3-5x performance gains.

Debugging Our New Linux Kernel

An investigation revealed performance issues in Ubuntu web servers caused by Linux kernel's cgroups v2 implementation, specifically related to inode switching between cgroups after file operations. The problem manifested as elevated system CPU usage and listen overflows, impacting web server performance during the first few minutes after host deployment.

Searching for the cause of hung tasks in the Linux kernel

A detailed exploration of Linux kernel's hung task warnings, explaining how the system identifies processes stuck in uninterruptable states and their potential impact on system performance. Through three practical examples involving XFS filesystem, coredump processes, and RTNL mutex issues, the article demonstrates debugging approaches for various hung task scenarios.

Tiny JITs for a Faster FFI

An exploration of improving Ruby's Foreign Function Interface (FFI) performance through JIT compilation demonstrates potential speed improvements over traditional FFI implementations. Using a proof-of-concept called FJIT, the author achieves performance comparable to C extensions while maintaining Ruby-centric development practices. The implementation shows promising results with benchmarks indicating more than 2x speed improvement over conventional FFI calls.

GitHub - nexsol-technologies/pgassistant: PgAssistant is an open-source tool designed to help developers understand and optimize their PostgreSQL database performance.

PgAssistant is an open-source tool that helps developers analyze and optimize PostgreSQL database performance through features like schema optimization, query management, and AI-powered assistance. The tool integrates with OpenAI and local LLMs for query optimization while offering practical features like SQL linting, DDL generation, and PGTune integration.

The Go Programming Language

Go 1.24 introduces significant improvements including generic type aliases, performance optimizations with 2-3% CPU overhead reduction, and enhanced WebAssembly support. The release features a new Swiss Tables-based map implementation, improved tool dependencies tracking, and new mechanisms for FIPS 140-3 compliance.

Intel’s Battlemage Architecture

Intel's new Battlemage architecture powers the Arc B580 GPU, offering improved performance over its Alchemist predecessor despite fewer cores and a narrower memory bus, targeting the midrange market at $250 with 12GB VRAM. The architecture features significant improvements in compute utilization, cache latency, and memory handling, while maintaining Intel's unique approach to GPU design distinct from AMD and Nvidia.

String vs &str

Explores the differences and optimal usage patterns between &str and String in Rust, focusing on their implementation in function arguments, return values, and struct fields. Explains how each type has specific use cases based on memory ownership, lifetime requirements, and performance considerations.

What’s new in Python 3.14

Python 3.14 introduces deferred evaluation of annotations, a new tail-call interpreter offering up to 30% performance improvements, and various API improvements including configuration and initialization changes. The release also adds new features for Unicode handling, improved error messages, and significant C API enhancements.

Asdf Has Been Re-Written in Golang

A major rewrite of asdf from Bash to Go has been released as version 0.16.1, delivering 2x-7x performance improvements and enhanced maintainability. The tool is now distributed as a single binary instead of Bash scripts, maintaining backward compatibility while requiring users to follow specific upgrade procedures based on their installation method.

GitHub - wojciech-kulik/FlashSpace: FlashSpace is a blazingly fast virtual workspace manager for macOS ⚡

FlashSpace is a high-performance virtual workspace manager for macOS that enables rapid switching between customized workspaces and assigned applications across multiple displays. The application prioritizes speed, simplicity, and reliability while offering features like focus management, cursor control, and SketchyBar integration.

GitHub - QuadrupleA/sqlite-page-explorer: Visual tool to explore SQLite databases page-by-page, the way they're stored on disk and the way SQLite sees them.

SQLite Page Explorer is a cross-platform GUI application that allows developers to examine SQLite databases at the page level, providing insights into B-Trees, index structures, and storage efficiency. Built with redbean, it's distributed as a single 6.5MB executable that runs natively on multiple operating systems and architectures.