Tagged articles

Performance

5000 articles · Page 2 of 50
Architect's Tech Stack
Architect's Tech Stack
Jul 16, 2026 · Databases

Still Using IN and NOT IN in SQL? Here’s Why You Should Think Twice

The article explains that IN is fine for small constant lists, but NOT IN can produce unexpected empty results when NULL values appear, while EXISTS (or NOT EXISTS) often better expresses existence checks; it also stresses the decisive role of proper indexing and using EXPLAIN to verify performance.

NULLOptimizationPerformance
0 likes · 10 min read
Still Using IN and NOT IN in SQL? Here’s Why You Should Think Twice
Subtle Storm
Subtle Storm
Jul 15, 2026 · Fundamentals

Macrokernel vs Microkernel Explained: How OS Kernels Manage Hardware Resources

The article explains that an operating system kernel orchestrates all hardware resources, compares macrokernel designs like Linux that place scheduling, memory, file system, networking, and drivers in a single privileged space for speed, with microkernel designs that isolate most services in user‑mode processes, highlighting trade‑offs in performance, reliability, and modern hybrid approaches.

LinuxPerformanceQNX
0 likes · 6 min read
Macrokernel vs Microkernel Explained: How OS Kernels Manage Hardware Resources
ITPUB
ITPUB
Jul 15, 2026 · Databases

Is count(*) Really the Slowest? MySQL Count Performance Explained

The article analyzes how MySQL executes different COUNT() forms—count(*), count(1), count(primary‑key), and count(column)—showing that count(*) and count(1) have identical performance, count(column) is the slowest, and offers indexing and approximation tips for large tables.

COUNTIndexInnoDB
0 likes · 10 min read
Is count(*) Really the Slowest? MySQL Count Performance Explained
Java Tech Enthusiast
Java Tech Enthusiast
Jul 14, 2026 · Backend Development

Why Are More Developers Turning to FastAPI?

FastAPI, a modern Python web framework, offers high‑performance APIs, automatic documentation, type‑safe validation and native async support, making it a compelling alternative to Spring Boot and Flask for AI model serving, microservices, and rapid prototyping, as demonstrated by benchmarks, code examples, and real‑world comparisons.

APIASGIFastAPI
0 likes · 25 min read
Why Are More Developers Turning to FastAPI?
Code Ape Tech Column
Code Ape Tech Column
Jul 14, 2026 · Backend Development

Why FastAPI Is Gaining Popularity Among Developers

FastAPI, a modern Python web framework, offers high performance, rapid development, and strong type safety, making it an attractive choice for Java developers looking to build AI services, data‑processing APIs, or micro‑services, as demonstrated by benchmark results, real‑world case studies, and a step‑by‑step implementation guide.

ASGIFastAPIMicroservices
0 likes · 26 min read
Why FastAPI Is Gaining Popularity Among Developers
Java Backend Technology
Java Backend Technology
Jul 14, 2026 · Backend Development

Why FastAPI Is Gaining Massive Popularity Among Developers

FastAPI, a modern Python web framework built on ASGI, offers high performance, automatic documentation, type‑safe request validation, and native async support, making it an attractive choice for Java developers seeking to build fast APIs, microservices, or AI model deployment services.

APIASGIBackend Development
0 likes · 22 min read
Why FastAPI Is Gaining Massive Popularity Among Developers
Ops Community
Ops Community
Jul 13, 2026 · Operations

How to Diagnose a Suddenly Lagging Linux Server: Step‑by‑Step Ops Checklist

This guide walks you through a systematic, read‑only diagnostic workflow for a Linux server that becomes unresponsive, covering initial symptom clarification, data collection, CPU, memory, disk, network, application, container, and post‑mortem analysis, with concrete commands and evidence‑based decision points.

LinuxOpsPerformance
0 likes · 37 min read
How to Diagnose a Suddenly Lagging Linux Server: Step‑by‑Step Ops Checklist
Architecture Digest
Architecture Digest
Jul 13, 2026 · Artificial Intelligence

Deep Dive into Solon AI v4.0.3: The Seven‑Layer Java Full‑Stack Agent Framework and How to Get Started

Solon AI v4.0.3 introduces a seven‑layer Java full‑stack agent framework, unifies model access, adds robust RAG and multi‑agent capabilities, delivers benchmarked performance gains, and provides a step‑by‑step path for Java developers to build enterprise‑grade AI applications.

AI FrameworkJavaMulti-agent
0 likes · 8 min read
Deep Dive into Solon AI v4.0.3: The Seven‑Layer Java Full‑Stack Agent Framework and How to Get Started
Tinker Programmer
Tinker Programmer
Jul 13, 2026 · Backend Development

Choosing the Right Java LTS for Production: Lessons from 12 Years of Java 8‑25 Evolution

The article reviews the twelve‑year evolution of Java LTS releases from 8 to 25, explains the new six‑month release cadence, details common upgrade pitfalls, quantifies performance gains such as virtual threads and ZGC, and provides concrete version‑selection guidance for legacy, mid‑life, and new projects.

Garbage CollectionJDKJava
0 likes · 16 min read
Choosing the Right Java LTS for Production: Lessons from 12 Years of Java 8‑25 Evolution
Deepin Linux
Deepin Linux
Jul 13, 2026 · Fundamentals

What Hidden Costs Does C++ new Add to Heap Allocation?

The article reveals that using C++ new or malloc is far from cost‑free, detailing how Linux virtual address space, system‑call overhead, memory‑header metadata, fragmentation, and page‑fault latency all contribute to hidden performance penalties, and it offers concrete techniques such as stack allocation, memory pools, restrained PImpl usage, and startup pre‑allocation to mitigate these costs.

C++LinuxPerformance
0 likes · 23 min read
What Hidden Costs Does C++ new Add to Heap Allocation?
dbaplus Community
dbaplus Community
Jul 12, 2026 · Databases

Stop Blaming Data Size: 90% of Slow SQLs Are Due to Poor Queries

This article reveals that most slow SQL queries aren't caused by large data volumes but by poor query writing, such as index‑killing functions, implicit type casts, leading wildcards, SELECT *, missing LIMIT, and inefficient JOINs, and offers a five‑step method to diagnose and fix them.

IndexingPerformanceQuery Optimization
0 likes · 11 min read
Stop Blaming Data Size: 90% of Slow SQLs Are Due to Poor Queries
Ubuntu
Ubuntu
Jul 12, 2026 · Cloud Native

Run Linux Containers Natively on Windows Without Docker: A Hands‑On Guide to WSL Containers

Microsoft’s WSL Containers, now in public preview, embed a Docker‑compatible container runtime directly into WSL 2, letting Windows developers launch OCI images with familiar commands without installing Docker Desktop, while the article walks through installation, core components, command mapping, performance benchmarks, feature gaps and current limitations.

BenchmarkCLIContainers
0 likes · 12 min read
Run Linux Containers Natively on Windows Without Docker: A Hands‑On Guide to WSL Containers
21CTO
21CTO
Jul 12, 2026 · Backend Development

How a JPQL JOIN FETCH Query Turned 11,000 Records into 50 Million Rows in Hibernate

A batch‑import of 15,000 templates caused a JPQL query with two JOIN FETCH collections to explode into 50 million rows, triggering out‑of‑memory crashes; the article explains why this happens, how the issue was diagnosed, and three concrete fixes that cut rows by nine‑fold and speed up processing fifteen‑fold.

BatchSizeJOIN FETCHJPA
0 likes · 10 min read
How a JPQL JOIN FETCH Query Turned 11,000 Records into 50 Million Rows in Hibernate
Programmer DD
Programmer DD
Jul 12, 2026 · Artificial Intelligence

Which Chinese LLM Provider Has the Most Stable Cache for Running Agents?

Based on real‑world request logs collected via octafuse‑gateway, the article compares cache hit rates and availability of major Chinese LLM vendors, showing that official model providers (e.g., DeepSeek, Xiaomi MiMo, Zhipu) achieve over 90 % hit rates, while cloud MaaS and Volcano Ark lag behind, especially in high‑frequency Agent scenarios.

AgentCacheChinese Models
0 likes · 6 min read
Which Chinese LLM Provider Has the Most Stable Cache for Running Agents?
Shuge Unlimited
Shuge Unlimited
Jul 12, 2026 · Databases

Milvus 3.0 Streaming Architecture: 16 PChannels, Five Interceptor Layers, and a Self‑Built WAL 5.8× Faster Than Kafka

Milvus 3.0 replaces the dual‑track write path of 2.x with a unified WAL‑first design, introduces a three‑layer channel model (PChannel, VChannel, CChannel) and a five‑layer interceptor chain, adds the Woodpecker WAL that outperforms Kafka/Pulsar by up to 5.8×, and provides pluggable back‑ends, atomic broadcasting, and provable recovery mechanisms.

DatabaseMilvusPerformance
0 likes · 27 min read
Milvus 3.0 Streaming Architecture: 16 PChannels, Five Interceptor Layers, and a Self‑Built WAL 5.8× Faster Than Kafka
Su San Talks Tech
Su San Talks Tech
Jul 12, 2026 · Backend Development

Why Java Developers Are Turning to FastAPI for High‑Performance APIs

This article explains why FastAPI has become popular among Java developers, comparing its high‑performance, type‑safe, async‑first design to Spring Boot and Flask, showing benchmark results, core concepts, step‑by‑step setup, pros and cons, real‑world use cases, and a practical performance comparison.

ASGIFastAPIMicroservices
0 likes · 22 min read
Why Java Developers Are Turning to FastAPI for High‑Performance APIs
21CTO
21CTO
Jul 11, 2026 · Fundamentals

TypeScript 7 Native Go Build Delivers Up to 12× Faster Compilation

TypeScript 7.0, rewritten in Go, boosts compiler speed by 8‑12× across large codebases, cuts memory use, slashes editor error‑display latency, and introduces new parallel flags, while the article explains why Go was chosen over Rust and how to upgrade safely.

GoLanguage ServerParallel Flags
0 likes · 11 min read
TypeScript 7 Native Go Build Delivers Up to 12× Faster Compilation
IT Learning Made Simple
IT Learning Made Simple
Jul 11, 2026 · Game Development

How "Cupping Game" Beats "Sheep Game": A Deep Dive into the IT Architecture and Stress‑Relief Design of a Viral Mini‑Game

The article explains how the new WeChat mini‑game “Cupping Game” builds on the success of “Sheep Game” by using a lightweight 99 MB package, a three‑layer architecture, cross‑device rendering, resource‑splitting and cloud storage to deliver smooth, stress‑relieving gameplay that’s easy for both players and IT beginners to understand.

CrossPlatformMiniGamePerformance
0 likes · 8 min read
How "Cupping Game" Beats "Sheep Game": A Deep Dive into the IT Architecture and Stress‑Relief Design of a Viral Mini‑Game
MaGe Linux Operations
MaGe Linux Operations
Jul 11, 2026 · Operations

Step‑by‑Step Guide to Diagnose 100 % CPU on a Linux Server

When a Linux server’s CPU spikes to 100 %, this article walks through a systematic investigation—from defining what “CPU 100 %” really means, gathering timestamps and metrics, using tools like top, mpstat, vmstat, pidstat, sar, perf, and strace, to tracing processes, threads, containers, and Kubernetes, building an evidence chain, applying low‑risk fixes, and verifying the resolution.

CPUKubernetesLinux
0 likes · 24 min read
Step‑by‑Step Guide to Diagnose 100 % CPU on a Linux Server
IT Learning Made Simple
IT Learning Made Simple
Jul 10, 2026 · Backend Development

Top 10 Architecture Design Mistakes and How to Avoid Them

This guide enumerates the ten most common architecture design mistakes—over‑design, ignoring business needs, single points of failure, premature optimization, chaotic tech stacks, tight coupling, missing monitoring, security oversights, and team capability gaps—explaining their symptoms, costly consequences, and concrete best‑practice remedies, plus checklists to keep your system robust and maintainable.

Performancearchitecturebackend
0 likes · 11 min read
Top 10 Architecture Design Mistakes and How to Avoid Them
21CTO
21CTO
Jul 9, 2026 · Frontend Development

Bun’s 11‑Day, 780k‑Line Migration from Zig to Rust Powered by AI

In just 11 days, Bun migrated 1,448 Zig files and over 780,000 lines of code to Rust, achieving 100% test pass, cutting memory usage dramatically, reducing binary size by 20%, improving performance by up to 5%, and demonstrating an AI‑driven, fully automated rewrite that sparked intense community debate.

AI-driven migrationBunPerformance
0 likes · 12 min read
Bun’s 11‑Day, 780k‑Line Migration from Zig to Rust Powered by AI
IT Learning Made Simple
IT Learning Made Simple
Jul 9, 2026 · Game Development

Dissecting the IT Architecture Behind the Viral Mini‑Game ‘Ba Le Ge Guan’

The article explains how the new WeChat mini‑game ‘Ba Le Ge Guan’ combines a simple, stress‑relieving “cupping” puzzle with a lightweight three‑layer architecture—native engine, JavaScript game logic, and resource rendering—leveraging cross‑device rendering, vector assets, and cloud storage to deliver instant, smooth play on any device, while comparing its design to the earlier hit ‘Yang Le Ge Yang’.

CrossPlatformMiniGamePerformance
0 likes · 9 min read
Dissecting the IT Architecture Behind the Viral Mini‑Game ‘Ba Le Ge Guan’
TonyBai
TonyBai
Jul 9, 2026 · Artificial Intelligence

How AI Rewrote Bun in Rust: 1 M+ Lines, 11 Days, 64 Parallel Claude Instances

The article details a full‑scale, AI‑driven rewrite of the Bun runtime from Zig to Rust, performed by a single engineer with 64 parallel Claude agents over 11 days, producing over a million lines of Rust code, cutting memory usage, binary size, and improving performance while documenting costs, bugs, and safety reviews.

AI code generationBunClaude
0 likes · 20 min read
How AI Rewrote Bun in Rust: 1 M+ Lines, 11 Days, 64 Parallel Claude Instances
Subtle Storm
Subtle Storm
Jul 8, 2026 · Operations

Understanding the Three Load Balancing Deployment Modes

The article explains the three primary load‑balancing deployment modes—Route (NAT/gateway), Bridge (transparent), and Direct Server Return—detailing how each works, their advantages and drawbacks, and how to choose the most suitable mode for a given traffic pattern.

Bridge ModeNATNetwork Architecture
0 likes · 6 min read
Understanding the Three Load Balancing Deployment Modes
Yumin Fish Harvest
Yumin Fish Harvest
Jul 7, 2026 · Databases

Redis Performance Secrets: How Data Types and Internal Encodings Boost Speed

This article explains why Redis can store one million items with ten‑fold memory savings by examining each of the five core data types, their underlying encodings such as SDS, listpack, quicklist, hashtable and skiplist, and shows how automatic encoding switches affect memory usage, performance, and common pitfalls.

Data StructuresE‑commercePerformance
0 likes · 42 min read
Redis Performance Secrets: How Data Types and Internal Encodings Boost Speed
Code Ape Tech Column
Code Ape Tech Column
Jul 7, 2026 · Backend Development

Maven 4 Arrives After 15 Years: A Complete Rewrite of the Java Build Tool

Maven 4 introduces a split Build/Consumer POM model, a rewritten parallel engine that speeds up large builds by 50‑60%, incremental build with smart caching, automatic multi‑module discovery, native BOM and JPMS support, dynamic versioning, new packaging types, enhanced security, and a migration tool, all while remaining 100% compatible with Maven 3 plugins.

JPMSJava Build ToolMaven
0 likes · 11 min read
Maven 4 Arrives After 15 Years: A Complete Rewrite of the Java Build Tool
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Jul 6, 2026 · Artificial Intelligence

Running GLM‑5.2 on AMD: 2,626 Tokens/s at Half Nvidia’s Cost

Wafer demonstrates that the open‑source GLM‑5.2 model can run on AMD’s MI355X GPU at 2,626 tokens per second with single‑stream throughput of 213 tokens per second, achieving comparable performance to Nvidia’s B200 at less than half the cost, by applying MXFP4 quantization, selecting the sglang engine, and fixing naming and kernel issues.

AMD MI355XCostGLM-5.2
0 likes · 9 min read
Running GLM‑5.2 on AMD: 2,626 Tokens/s at Half Nvidia’s Cost
IoT Full-Stack Technology
IoT Full-Stack Technology
Jul 6, 2026 · Fundamentals

Mastering LTO in Keil5: Shrink Code Size and Boost Performance

This in‑depth guide explains how to enable and fine‑tune Link‑Time Optimization (LTO) in Keil MDK5 using ArmClang, showing real‑world examples, benchmark data and step‑by‑step instructions that dramatically reduce flash footprint and improve execution speed for embedded systems.

ARM CompilerCode Size ReductionEmbedded Optimization
0 likes · 21 min read
Mastering LTO in Keil5: Shrink Code Size and Boost Performance
MaGe Linux Operations
MaGe Linux Operations
Jul 5, 2026 · Databases

Why MySQL Connections Spike: When Traffic Isn’t the Real Culprit

This article walks through a systematic, step‑by‑step troubleshooting guide for MySQL "Too many connections" errors, showing how to verify the symptom, inspect server variables, analyze connection status, identify common root causes such as connection‑pool misconfiguration, leaked connections, and long‑running queries, and apply safe fixes and preventive measures.

DatabaseMySQLPerformance
0 likes · 35 min read
Why MySQL Connections Spike: When Traffic Isn’t the Real Culprit
Linux Tech Enthusiast
Linux Tech Enthusiast
Jul 4, 2026 · Databases

Four MySQL Scripts for Diagnosing and Optimizing Your Queries

This article introduces four command‑line tools—MySQLTuner.pl, tuning‑primer.sh, pt‑variable‑advisor, and pt‑query‑digest—explaining how to download, run them, and interpret their reports to assess MySQL performance, configuration, and query efficiency.

MySQLPerformanceSQL optimization
0 likes · 8 min read
Four MySQL Scripts for Diagnosing and Optimizing Your Queries
TonyBai
TonyBai
Jul 4, 2026 · Backend Development

Why ‘Easy’ Isn’t ‘Simple’: The Architecture Philosophy Behind Gin’s 88k‑Star Success

Manu Martínez‑Almeida explains how Gin’s commitment to ‘Simple over Easy’—rejecting reflection‑based injection, using a minimal routing language with a radix tree, zero‑allocation context pooling, and strict backward‑compatible API design—produced a high‑performance, maintainable Go web framework that now powers hundreds of thousands of projects.

GinGoPerformance
0 likes · 11 min read
Why ‘Easy’ Isn’t ‘Simple’: The Architecture Philosophy Behind Gin’s 88k‑Star Success
Raymond Ops
Raymond Ops
Jul 3, 2026 · Operations

Practical Guide to Diagnosing and Fixing NFS Mount Failures

This guide explains the NFS protocol, common mount failures, five root‑cause categories, step‑by‑step installation, configuration, verification, detailed error analysis, real‑world case studies, performance tuning, automation scripts, best‑practice recommendations and monitoring techniques for reliable NFS deployments on Ubuntu 24.04 and Rocky Linux 9.5.

LinuxMountNFS
0 likes · 52 min read
Practical Guide to Diagnosing and Fixing NFS Mount Failures
Cloud Architecture
Cloud Architecture
Jul 2, 2026 · Databases

MySQL Containerization vs Host Installation: Production‑Grade Selection Framework

The article explains that the real challenge is not merely running MySQL but placing it in the right resource model, and it provides a four‑dimensional decision framework—performance ceiling, stability floor, automation level, and organizational maturity—to guide when to use host‑installed MySQL, single‑node containers, or full Kubernetes deployment, illustrated with concrete resource analyses, architecture diagrams, configuration examples, pitfalls, checklists, and an evolution roadmap.

KubernetesMySQLPerformance
0 likes · 35 min read
MySQL Containerization vs Host Installation: Production‑Grade Selection Framework
IT Learning Made Simple
IT Learning Made Simple
Jul 2, 2026 · Operations

Process View: The Heartbeat of System Runtime

The article explains the process view, which reveals how a system operates at runtime, covering processes, threads, inter‑process communication, concurrency models, synchronization mechanisms, performance indicators, and design principles, illustrated with diagrams and a concrete e‑commerce case study.

ConcurrencyIPCPerformance
0 likes · 9 min read
Process View: The Heartbeat of System Runtime
Java Architect Handbook
Java Architect Handbook
Jul 2, 2026 · Industry Insights

Why Facebook Dropped Git for Mercurial: Performance and Community Factors

Facebook originally used Git but switched to Mercurial around 2012 because its massive monolithic repository caused severe performance bottlenecks, especially during file stat operations, and Git’s maintainers were unwilling to improve scalability, leading the team to evaluate alternatives like Perforce before adopting Mercurial’s clearer architecture and collaborative community.

FacebookGitMercurial
0 likes · 13 min read
Why Facebook Dropped Git for Mercurial: Performance and Community Factors
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 2, 2026 · Backend Development

Why Spring Boot Prefers Slice Over Page for Massive Data Sets

The article analyzes Spring Data JPA's Page and Slice pagination options, explains the hidden COUNT(*) overhead of Page, demonstrates both approaches with code examples, compares performance and UX impacts, and provides guidance on when to choose Slice for large‑scale or infinite‑scroll scenarios.

PaginationPerformanceSpring Boot
0 likes · 11 min read
Why Spring Boot Prefers Slice Over Page for Massive Data Sets
Qborfy AI
Qborfy AI
Jul 2, 2026 · Artificial Intelligence

How Streaming Responses and Performance Tuning Boost LLM API Production

This advanced guide explains why real‑world LLM deployments must focus on user‑perceived latency, streaming chunk handling, timeout and retry strategies, concurrency, batch processing, token optimization, caching, and observability rather than just model accuracy.

APILLMOptimization
0 likes · 23 min read
How Streaming Responses and Performance Tuning Boost LLM API Production
Java Architect Handbook
Java Architect Handbook
Jun 30, 2026 · Backend Development

12 MyBatis‑Plus Tricks That Instantly Boost Development Efficiency

This article presents twelve practical MyBatis‑Plus techniques—including avoiding isNull checks, selecting specific fields, batch operations, EXISTS subqueries, safe ordering, LambdaQuery type safety, between clauses, index‑aware sorting, pagination limits, null‑handling, performance tracking, enum mapping, logical deletion, optimistic locking, and increment/decrement methods—to help developers write cleaner, faster, and more maintainable Java code.

Batch OperationsJavaLambdaQueryWrapper
0 likes · 18 min read
12 MyBatis‑Plus Tricks That Instantly Boost Development Efficiency
Linyb Geek Road
Linyb Geek Road
Jun 30, 2026 · Backend Development

How to Design Pagination for Billion‑Row Sharded Databases in an Interview

The article systematically breaks down pagination challenges in billion‑row sharded databases, compares common sharding strategies and middleware architectures, analyzes the performance drawbacks of a naïve global‑query approach, and presents several practical alternatives—including keyset pagination, two‑stage queries, index‑table tricks, and external search or NewSQL solutions—while highlighting their trade‑offs for interview discussions.

PaginationPerformanceSQL
0 likes · 24 min read
How to Design Pagination for Billion‑Row Sharded Databases in an Interview
Golang Shines
Golang Shines
Jun 29, 2026 · Backend Development

Why Assigning Array Elements from the End First Speeds Up Go Code

The article explains how the vtprotobuf library writes to a byte slice from the tail toward the head, eliminating bounds‑check instructions, and demonstrates this effect with simple functions, compiler diagnostics, and references to the Go compiler source.

GoPerformanceProtobuf
0 likes · 5 min read
Why Assigning Array Elements from the End First Speeds Up Go Code
Java Baker
Java Baker
Jun 29, 2026 · Backend Development

How to Diagnose Uneven CPU Usage in Java Services Using Kafka

This article walks through the symptoms, root cause analysis, and step‑by‑step solutions for uneven CPU usage across Java service instances, highlighting how mismatched Kafka partition counts and thread or GC issues can lead to load imbalance and how to resolve them.

CPUJavaKafka
0 likes · 8 min read
How to Diagnose Uneven CPU Usage in Java Services Using Kafka
Raymond Ops
Raymond Ops
Jun 28, 2026 · Databases

Comprehensive MySQL Replication Lag Troubleshooting Beyond Seconds_Behind_Master

This guide walks through a complete MySQL master‑slave lag diagnosis process, explaining why relying solely on Seconds_Behind_Master is insufficient and showing how to separate IO and SQL thread issues, examine relay logs, detect long transactions, DDL locks, and apply best‑practice configurations and monitoring.

LagMySQLPerformance
0 likes · 17 min read
Comprehensive MySQL Replication Lag Troubleshooting Beyond Seconds_Behind_Master
DeepNoMind
DeepNoMind
Jun 28, 2026 · Fundamentals

Inside Python’s GIL: How It Shapes Multithreaded Performance and What You Can Do About It

This article explains the inner workings of Python’s Global Interpreter Lock (GIL), why it exists, how it is released during I/O and C‑extension calls, its impact on CPU‑bound versus I/O‑bound workloads, practical synchronization primitives, benchmarking results, and the upcoming free‑threading mode in Python 3.13.

ConcurrencyGILPerformance
0 likes · 30 min read
Inside Python’s GIL: How It Shapes Multithreaded Performance and What You Can Do About It
Ops Community
Ops Community
Jun 27, 2026 · Databases

MySQL Replication Lag Too High? 3 Quick Solutions to Restore Sync

The article explains why MySQL master‑slave replication lag occurs, lists common causes, provides a five‑level troubleshooting framework, and offers three concrete recovery methods—from emergency error skipping to multi‑threaded replication and long‑term architecture improvements—plus commands, configurations, and monitoring tips.

GTIDMTSMySQL
0 likes · 27 min read
MySQL Replication Lag Too High? 3 Quick Solutions to Restore Sync
Raymond Ops
Raymond Ops
Jun 26, 2026 · Databases

Master MySQL Performance: Full Process for Slow Query Analysis and Index Tuning

This guide walks through MySQL performance troubleshooting—from enabling and analyzing slow‑query logs with pt‑query‑digest, interpreting EXPLAIN plans, designing covering and composite indexes, tuning InnoDB buffer pool and connection settings, to best‑practice recommendations and real‑world case validation.

EXPLAINMySQLPerformance
0 likes · 27 min read
Master MySQL Performance: Full Process for Slow Query Analysis and Index Tuning
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 26, 2026 · Databases

Are You Still Using These 8 Inefficient SQL Patterns?

This article examines eight common SQL pitfalls—including misuse of LIMIT offsets, implicit type conversion, sub‑query updates, mixed ordering, EXISTS clauses, condition push‑down, early limiting, and intermediate result set handling—showing how each can degrade performance and providing rewritten queries with execution‑plan evidence that dramatically improve speed.

Execution PlanMySQLPerformance
0 likes · 12 min read
Are You Still Using These 8 Inefficient SQL Patterns?
IT Services Circle
IT Services Circle
Jun 25, 2026 · Artificial Intelligence

Why Codex Can Exhaust Your SSD: A Full Technical Investigation

The article analyzes how intensive use of OpenAI Codex, especially long‑running agents, continuously writes to its local SQLite logs, causing massive SSD write amplification despite modest file size growth, and details community reports, OpenAI’s fixes, and practical mitigation steps.

AI AgentCodexLogging
0 likes · 14 min read
Why Codex Can Exhaust Your SSD: A Full Technical Investigation
大转转FE
大转转FE
Jun 25, 2026 · Backend Development

Refactoring a 1,000‑Line Untested Core File with AI: My Proven Workflow

The author refactors a 1,021‑line, zero‑test IM conversion module that is referenced in five places by building a characterization‑test net with esbuild stubs, generating 130 exhaustive samples, recording a golden baseline, applying three systematic code transformations, and verifying behavior and a 2.77× speedup, all without touching business logic.

AICharacterization TestJavaScript
0 likes · 16 min read
Refactoring a 1,000‑Line Untested Core File with AI: My Proven Workflow
Golang Shines
Golang Shines
Jun 24, 2026 · Operations

Linux Network Troubleshooting: In‑Depth Guide to tcpdump, netstat and ss

This article walks system administrators and DevOps engineers through a systematic approach to diagnosing Linux network issues, covering the fundamentals of netstat, ss, and tcpdump, interpreting TCP state tables, analyzing packet captures, and resolving common problems such as TIME_WAIT buildup, SYN floods, and HTTPS handshake failures.

LinuxPerformancenetstat
0 likes · 32 min read
Linux Network Troubleshooting: In‑Depth Guide to tcpdump, netstat and ss
TonyBai
TonyBai
Jun 24, 2026 · Backend Development

Go 1.27 Preview: Generic Methods Land, Built‑in UUID in the Standard Library

The upcoming Go 1.27 release brings a suite of hard‑core upgrades—including the long‑awaited generic methods, deep struct‑literal field selectors, size‑specialized memory allocation, a production‑ready goroutine‑leak profiler, modernized toolchain commands, a new encoding/json/v2 package, built‑in UUID support, and post‑quantum cryptography—signaling a major leap for high‑performance, secure backend development.

GoGo 1.27Performance
0 likes · 15 min read
Go 1.27 Preview: Generic Methods Land, Built‑in UUID in the Standard Library
21CTO
21CTO
Jun 23, 2026 · Frontend Development

TypeScript 7 RC Rewrites Compiler in Go, Boosting Speed ~10×

Microsoft’s TypeScript 7 RC replaces the compiler core with Go, delivering roughly a ten‑fold speed increase across CLI builds and editor services while remaining fully compatible with TypeScript 6 semantics, and provides detailed upgrade guidance and parallel‑compilation options.

GoParallelismPerformance
0 likes · 8 min read
TypeScript 7 RC Rewrites Compiler in Go, Boosting Speed ~10×
Deepin Linux
Deepin Linux
Jun 23, 2026 · Fundamentals

How Type Traits Rescue a Broken C++ Object Pool and Enable Type‑Adaptive Pooling

The author recounts how a naïve generic C++ object pool caused data residue, construction failures, and incompatibility with primitive types, then demonstrates a refactored, thread‑safe pool that leverages compile‑time Type Traits, std::enable_if, and constexpr if to apply distinct creation, reset, and destruction logic for trivial, Clear‑able, and non‑trivial types, eliminating the earlier bugs.

C++PerformanceTemplate Metaprogramming
0 likes · 11 min read
How Type Traits Rescue a Broken C++ Object Pool and Enable Type‑Adaptive Pooling
Shuge Unlimited
Shuge Unlimited
Jun 22, 2026 · Artificial Intelligence

Superpowers 6.0: Not a Speed Tweak—158 Commits Turn the Reviewer into a Read‑Only Adjudicator

Superpowers 6.0 claims roughly double speed and up to 50% fewer tokens, but the real change is a structural rewrite of the reviewer role—merging two reviewers, making it read‑only, distrustful of implementer reports, switching to file‑based context, adding a progress ledger and explicit model selection—resulting in cheaper, stricter, harder‑to‑game reviews.

AI WorkflowMulti-agentPerformance
0 likes · 20 min read
Superpowers 6.0: Not a Speed Tweak—158 Commits Turn the Reviewer into a Read‑Only Adjudicator
DataFunTalk
DataFunTalk
Jun 21, 2026 · Big Data

How Zhihu Optimized Spark Jobs with Gluten: A Practical Deep‑Dive

This article details Zhihu's end‑to‑end experience of migrating Spark SQL workloads to the open‑source Gluten framework, covering background performance benchmarks, the architecture of Gluten and Velox, consistency and performance challenges encountered during migration, the concrete fixes applied, and the resulting resource savings and future plans.

Big DataGlutenOptimization
0 likes · 22 min read
How Zhihu Optimized Spark Jobs with Gluten: A Practical Deep‑Dive
Deepin Linux
Deepin Linux
Jun 21, 2026 · Backend Development

Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It

The article explains how off‑heap memory and mmap enable zero‑copy I/O for high‑performance Linux services, but because the JVM does not manage it, careless allocation or missing releases can cause off‑heap memory leaks that lead to OOM, and it provides concrete detection and mitigation techniques.

C++JavaLinux
0 likes · 24 min read
Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It
Code Mala Tang
Code Mala Tang
Jun 20, 2026 · Artificial Intelligence

How a 9K‑Star MCP Server Lets Claude Code Scan Millions of Lines in Milliseconds

The codebase-memory-mcp tool builds a tree‑sitter‑based knowledge graph of a codebase, enabling sub‑millisecond queries, 120× token savings, zero‑dependency deployment, cross‑agent sharing, and reproducible benchmarks that show higher answer quality and far lower resource usage than traditional file‑by‑file grep approaches.

Knowledge GraphLLMOpen Source
0 likes · 12 min read
How a 9K‑Star MCP Server Lets Claude Code Scan Millions of Lines in Milliseconds
Java Architect Essentials
Java Architect Essentials
Jun 20, 2026 · Backend Development

FastUtil High‑Performance Collection Best Practices: Speed Up Your Java Programs

FastUtil, an open‑source library maintained by Sebastiano Vigna, offers type‑specialized Java collections that are typically 2–5× faster and use 40–70% less memory than JDK equivalents, and this article provides detailed benchmarks, a cheat‑sheet of core types, production‑ready code snippets, Maven/Gradle setup, and a checklist of common pitfalls to help developers adopt FastUtil safely and efficiently.

CollectionsFastUtilJava
0 likes · 12 min read
FastUtil High‑Performance Collection Best Practices: Speed Up Your Java Programs
AI Agent Super App
AI Agent Super App
Jun 20, 2026 · Operations

Complete LNMP Guide: Deploy WordPress and Forums Step‑by‑Step

This guide walks you through installing a full LNMP stack on CentOS or Ubuntu, configuring Nginx, MySQL, and PHP, deploying WordPress with essential plugins and security hardening, and setting up popular forums such as phpBB, Flarum, and Discourse, followed by performance tuning tips.

ForumLNMPMySQL
0 likes · 21 min read
Complete LNMP Guide: Deploy WordPress and Forums Step‑by‑Step
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 18, 2026 · Backend Development

Avoid Hidden Performance Landmines: 7 Common Spring Boot Production Pitfalls

The article identifies seven common performance killers in Spring Boot production—N+1 queries, unbounded thread pools, excessive logging, oversized response bodies, missing indexes, synchronous external API calls, and serial API invocations—and provides concrete code‑level solutions such as eager fetching, custom thread pools, lazy logging, DTOs, index creation, timeout configuration, and CompletableFuture parallelism.

CompletableFutureDTOLogging
0 likes · 10 min read
Avoid Hidden Performance Landmines: 7 Common Spring Boot Production Pitfalls
Golang Shines
Golang Shines
Jun 17, 2026 · Fundamentals

Why Go’s slices.Move Beats Delete+Insert for Single‑Element Relocation

The article examines a Go TODO app where moving a task required a Delete‑then‑Insert pattern, highlights the inefficiency of two memory moves, introduces the slices.Move proposal that performs a single copy, reviews community arguments, and makes a case for adding Move to the standard library.

DELETEGoINSERT
0 likes · 11 min read
Why Go’s slices.Move Beats Delete+Insert for Single‑Element Relocation
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 17, 2026 · Backend Development

When Java Streams Crash: A Real‑World Performance Disaster

A production outage caused by a Java Stream pipeline processing one million orders revealed massive memory overhead and CPU‑bound garbage collection, prompting a benchmark that showed a handcrafted for‑loop to be up to twenty times faster and far more memory‑efficient.

BenchmarkGarbage CollectionJava
0 likes · 10 min read
When Java Streams Crash: A Real‑World Performance Disaster
21CTO
21CTO
Jun 17, 2026 · Fundamentals

Project Valhalla Hits JDK 28: Preview of Value Types Arrives

Project Valhalla's JEP 401, introducing value classes and objects, merges into the OpenJDK mainline as a preview feature in JDK 28, involving 1,816 files and over 197,000 new lines, with a cautious rollout timeline and notable design trade‑offs for Java performance.

JEP 401JavaOpenJDK
0 likes · 7 min read
Project Valhalla Hits JDK 28: Preview of Value Types Arrives
DeepHub IMBA
DeepHub IMBA
Jun 15, 2026 · Artificial Intelligence

Flash-KMeans: Fast, Memory-Efficient Exact K-Means for Billion-Scale Clustering on a Single GPU

Flash‑KMeans is a newly proposed framework that re‑designs exact K‑Means for GPUs by eliminating distance‑matrix materialization, using FlashAssign’s online argmin and Sort‑Inverse Update to cut memory bandwidth and atomic‑write contention, achieving up to 12.5× speedup and dramatically lower VRAM usage on billion‑point datasets.

ClusteringFlashAssignGPU
0 likes · 23 min read
Flash-KMeans: Fast, Memory-Efficient Exact K-Means for Billion-Scale Clustering on a Single GPU
Tech Musings
Tech Musings
Jun 14, 2026 · Backend Development

Does Netty’s io_uring Make the 2× CPU Thread Rule Obsolete?

A benchmark on an 8‑core Linux 6.6 system shows that switching Netty from epoll to io_uring lets a half‑sized thread pool achieve 3 % higher throughput, more than double per‑thread efficiency, and a 67 % reduction in CPU migrations, challenging the traditional rule of using twice‑the‑core thread counts.

BenchmarkJavaNetty
0 likes · 21 min read
Does Netty’s io_uring Make the 2× CPU Thread Rule Obsolete?
21CTO
21CTO
Jun 14, 2026 · Frontend Development

How React Compiler’s Rust Port Boosts Build Speed Up to 10× with AI‑Assisted Code Migration

The React team fully migrated the React Compiler from TypeScript to Rust, combining human‑designed architecture with AI‑generated code, achieving up to 10× faster core conversion, a 3× overall compile speed increase, seamless integration with Babel, SWC and OXC, and a rigorous three‑layer testing regime.

AI-assisted migrationBabelPerformance
0 likes · 10 min read
How React Compiler’s Rust Port Boosts Build Speed Up to 10× with AI‑Assisted Code Migration
21CTO
21CTO
Jun 14, 2026 · Operations

Homebrew 6.0.0 Release: Overhauled Third‑Party Tap Trust, Linux Sandbox, and Faster JSON API

Homebrew 6.0.0 introduces an explicit third‑party Tap trust model, replaces the YAML bottle metadata with a JSON API, adds a Bubblewrap‑based Linux sandbox, brings new commands like brew exec and parallel brew bundle, fixes three critical security bugs, and delivers noticeable performance gains across the toolchain.

HomebrewJSON APILinux Sandbox
0 likes · 9 min read
Homebrew 6.0.0 Release: Overhauled Third‑Party Tap Trust, Linux Sandbox, and Faster JSON API
Niu Liu
Niu Liu
Jun 14, 2026 · Backend Development

Designing System Architecture for Small‑Medium Companies: When Do You Really Need 5,000 QPS?

The article outlines practical architecture strategies for small‑to‑medium enterprises, progressing from simple monolithic designs for a few thousand daily users to micro‑service and data‑sharding solutions for millions, emphasizing realistic scaling, avoiding premature complexity, and focusing on team capabilities and cost‑effective cloud services.

MicroservicesOperationsPerformance
0 likes · 7 min read
Designing System Architecture for Small‑Medium Companies: When Do You Really Need 5,000 QPS?
Raymond Ops
Raymond Ops
Jun 13, 2026 · Operations

What Is Load Average? Uncovering the Truth Behind System Load Metrics

Load Average measures the average number of runnable and uninterruptible processes over 1, 5, and 15‑minute windows, differs from CPU usage, and can be misinterpreted—this article explains its kernel calculation, how to assess overload, troubleshoot CPU, I/O, or process‑count issues, and handle container‑specific distortions with cgroup v2 and LXCFS.

KubernetesLinuxLoad Average
0 likes · 38 min read
What Is Load Average? Uncovering the Truth Behind System Load Metrics
Java Tech Enthusiast
Java Tech Enthusiast
Jun 13, 2026 · Backend Development

MyBatis-Plus vs MyBatis-Flex: Which One Is Better?

This article compares MyBatis-Plus and MyBatis-Flex across eight dimensions—including design philosophy, development efficiency, query flexibility, performance, database support, advanced features, dependency weight, and community ecosystem—to help developers choose the most suitable persistence framework for their projects.

ComparisonJavaMyBatis-Flex
0 likes · 18 min read
MyBatis-Plus vs MyBatis-Flex: Which One Is Better?
Linux Kernel Journey
Linux Kernel Journey
Jun 13, 2026 · Operations

Why Two Copies Outperform One: Designing bpf_sock_splice_pair for High‑Speed TCP Loopback

The article examines the design of the new BPF function bpf_sock_splice_pair for intra‑host TCP communication, explains why a single‑copy implementation is suboptimal, introduces a ring‑buffer based two‑copy approach with optional busy‑polling, and presents benchmark results showing up to 7× throughput gains over the baseline.

BPFPerformanceRing Buffer
0 likes · 19 min read
Why Two Copies Outperform One: Designing bpf_sock_splice_pair for High‑Speed TCP Loopback
Architect's Guide
Architect's Guide
Jun 13, 2026 · Backend Development

Why Cloudflare Dropped Nginx for the New Pingora Proxy

Cloudflare replaced Nginx with its home‑grown Rust‑based proxy Pingora, detailing architectural limits of Nginx, the evaluation of alternatives, design choices such as multithreading and custom HTTP handling, and benchmark results that show lower latency, higher connection reuse, and reduced CPU‑memory usage.

CloudflareHTTP ProxyPerformance
0 likes · 14 min read
Why Cloudflare Dropped Nginx for the New Pingora Proxy
Raymond Ops
Raymond Ops
Jun 12, 2026 · Cloud Native

Choosing Between containerd and CRI‑O for Production Kubernetes: A Detailed Comparison

This article provides a comprehensive analysis of containerd and CRI‑O as Kubernetes container runtimes, covering their architectures, feature sets, installation procedures, migration strategies, performance benchmarks, best‑practice configurations, troubleshooting tips, and monitoring approaches to help operators decide which runtime best fits a production environment.

CRI-OKubernetesPerformance
0 likes · 47 min read
Choosing Between containerd and CRI‑O for Production Kubernetes: A Detailed Comparison
Cloud Architecture
Cloud Architecture
Jun 11, 2026 · Databases

MySQL Deadlock Elimination: 9 Golden Rules and Production‑Ready Defense

Deadlocks in MySQL are not random glitches but the inevitable result of uncontrolled concurrency, lock granularity, transaction boundaries, and resource ordering; this article explains the underlying lock mechanisms, common deadlock scenarios, and presents nine practical, production‑grade rules for architecture design, lock management, and observability to keep deadlocks within acceptable SLA limits.

DeadlockInnoDBMySQL
0 likes · 31 min read
MySQL Deadlock Elimination: 9 Golden Rules and Production‑Ready Defense
Architect Chen
Architect Chen
Jun 11, 2026 · Fundamentals

Understanding Java Thread Deadlocks: 5 Common Scenarios and How to Fix Them

The article defines Java thread deadlock, illustrates five typical deadlock patterns with diagrams, shows how they cause threads to wait indefinitely, and presents five practical solutions—including consistent lock ordering, reducing nested locks, shrinking lock scope, using timed locks, and adopting lock‑free designs.

ConcurrencyDeadlockJava
0 likes · 3 min read
Understanding Java Thread Deadlocks: 5 Common Scenarios and How to Fix Them
Ops Community
Ops Community
Jun 11, 2026 · Cloud Native

etcd Operations Handbook: Backup, Restore, Scaling, and Performance Tuning for Kubernetes

This guide explains why mastering etcd is essential for Kubernetes stability and walks through its core concepts, Raft consensus, MVCC storage, deployment, backup and restore procedures, scaling from three to five nodes, performance optimization, monitoring, alerting, troubleshooting, upgrade strategies, security hardening, and real‑world best‑practice recommendations.

KubernetesPerformanceRestore
0 likes · 49 min read
etcd Operations Handbook: Backup, Restore, Scaling, and Performance Tuning for Kubernetes
CodeNotes
CodeNotes
Jun 10, 2026 · Backend Development

After a Decade with Map, Are You Still Using containsKey + get + put?

The article reviews the seven Java 8 Map convenience APIs—getOrDefault, putIfAbsent, computeIfAbsent, computeIfPresent, compute, merge, and forEach—plus replaceAll and Map.of, showing concise code examples, best‑practice recommendations, concurrency considerations, and common pitfalls for modern Java developers.

APICollectionsConcurrency
0 likes · 10 min read
After a Decade with Map, Are You Still Using containsKey + get + put?
Java Tech Enthusiast
Java Tech Enthusiast
Jun 10, 2026 · Industry Insights

Rust Breaks Its Plateau in June 2026 TIOBE Ranking, Reaching Record High

In June 2026 the TIOBE index lifted Rust to a historic 12th place, overturning earlier fears of a growth slowdown, and the article analyses the language's performance advantages, AI‑era opportunities, steep learning curve, and the broader ecosystem factors that will determine whether Rust can crack the top‑10.

AILanguage PopularityPerformance
0 likes · 8 min read
Rust Breaks Its Plateau in June 2026 TIOBE Ranking, Reaching Record High
Data STUDIO
Data STUDIO
Jun 10, 2026 · Artificial Intelligence

Beyond Validation: How Pydantic’s Rust Engine, Logfire Observability, and AI Agent Framework Transform Modern APIs

The article reveals that Pydantic is more than a validation library—it bundles a high‑performance Rust core, an OpenTelemetry‑based observability platform (Logfire), and a type‑safe agent framework (Pydantic AI), showing when and how to adopt each piece for LLM‑driven workloads.

AI AgentsOpenTelemetryPerformance
0 likes · 23 min read
Beyond Validation: How Pydantic’s Rust Engine, Logfire Observability, and AI Agent Framework Transform Modern APIs
SuanNi
SuanNi
Jun 9, 2026 · Artificial Intelligence

ChatGPT’s New Dreaming Memory Boosts Factual Accuracy to 83%

OpenAI’s Dreaming V3 memory system automatically aggregates user preferences and context from past chats, delivering up to five‑fold efficiency gains and raising factual continuity, preference adherence, and timeliness accuracies to 82.8%, 71.3% and 75.1% respectively, now available to free users.

AIChatGPTMemory
0 likes · 7 min read
ChatGPT’s New Dreaming Memory Boosts Factual Accuracy to 83%
Java Backend Technology
Java Backend Technology
Jun 9, 2026 · Fundamentals

Turn a Laggy IntelliJ IDEA into a Fast IDE with Simple Tweaks

This article lists ten common IntelliJ IDEA pitfalls—from high CPU usage and Lombok errors to Maven download slowness and Git commit issues—and provides step‑by‑step configurations, memory tweaks, plugin settings, and .gitignore rules to make the IDE run smoothly for Java developers.

GitIDEIntelliJ IDEA
0 likes · 24 min read
Turn a Laggy IntelliJ IDEA into a Fast IDE with Simple Tweaks
Deepin Linux
Deepin Linux
Jun 9, 2026 · Fundamentals

Why Is CPU Computation Lightning‑Fast While Data Lookup So Slow?

CPU arithmetic runs at near‑physical limits because all operations stay on‑chip, but data lookup is throttled by three physical bottlenecks—storage hierarchy, data placement, and addressing rules—forcing the processor to wait for cache, memory or disk transfers and dramatically reducing overall system throughput.

CPUCacheOptimization
0 likes · 18 min read
Why Is CPU Computation Lightning‑Fast While Data Lookup So Slow?
Java Architect Essentials
Java Architect Essentials
Jun 8, 2026 · Backend Development

How to Configure a ThreadPool to Send 10 Million SMS in One Hour (Java)

The article walks through calculating the required QPS for 10 million SMS in an hour, derives a precise ThreadPoolExecutor configuration (core 200, max 500, queue 5000, 60 s keep‑alive, CallerRunsPolicy), and provides complete Spring Boot code with production tips such as pagination, retry, idempotency and rate‑limiting.

ConcurrencyJavaPerformance
0 likes · 7 min read
How to Configure a ThreadPool to Send 10 Million SMS in One Hour (Java)
Architect Chen
Architect Chen
Jun 7, 2026 · Databases

Complete 2026 Guide to Redis Commands: Everything You Need to Know

This article offers a comprehensive 2026 overview of Redis commands, organized by function, with clear usage examples, return values, performance notes, and best‑practice recommendations such as avoiding KEYS in production and using SCAN, making it a practical reference for developers and architects.

CacheDatabaseHash
0 likes · 6 min read
Complete 2026 Guide to Redis Commands: Everything You Need to Know
Java Companion
Java Companion
Jun 6, 2026 · Databases

Why dbx Beats Navicat and DBeaver: A Fast, Tiny, AI‑Powered DB Client

The open‑source dbx client, built with Rust, Tauri 2 and Vue 3, delivers a 15 MB binary that launches in under two seconds, uses about 80 MB RAM, supports 40+ databases, offers a CodeMirror‑based AI‑assisted editor, and outperforms heavyweight tools like DBeaver and Navicat in speed, resource usage, and feature completeness, though it lacks advanced DBA features such as performance monitoring and robust ER‑diagram editing.

AIDBXDatabase client
0 likes · 11 min read
Why dbx Beats Navicat and DBeaver: A Fast, Tiny, AI‑Powered DB Client
Golang Shines
Golang Shines
Jun 5, 2026 · Backend Development

Using Go’s unique Package for Efficient String Interning

The article explains string interning as a memory‑saving technique, shows how to implement it manually in Go, compares the go4.org/intern library with the standard‑library unique package, and presents benchmark results that reveal memory savings but a modest speed trade‑off.

BenchmarkConcurrencyPerformance
0 likes · 15 min read
Using Go’s unique Package for Efficient String Interning