Backend Development

Showing 100 articles max
IT Services Circle
IT Services Circle
Aug 30, 2026 · Backend Development

How a 7‑Step SOP Stops AI‑Driven Code Refactoring from Breaking 40% of Projects

The article explains why AI‑assisted code refactoring often introduces hidden bugs—due to limited context windows, rising duplicate‑code rates, and fleeting speed gains—and presents a concrete 7‑step SOP that combines static analysis, dependency mapping, single‑function changes, test‑first development, adversarial review, feature‑flag rollout, and a git‑based rollback plan to keep AI refactors safe and reliable.

AI refactoringCI/CDSOP
0 likes · 19 min read
How a 7‑Step SOP Stops AI‑Driven Code Refactoring from Breaking 40% of Projects
CodeSmart Hoops
CodeSmart Hoops
Aug 30, 2026 · Backend Development

Classic gRPC Interview Questions with Answers – Must‑Save for Your Prep

This article presents eight self‑test gRPC interview questions covering performance, contract, cross‑language support, streaming, HTTP/2 fundamentals, Protobuf field tags, call patterns, retryable status codes, load‑balancing policies, interceptor usage, and Spring Boot 3 integration, each accompanied by concise reference answers.

HTTP/2InterceptorsJava
0 likes · 23 min read
Classic gRPC Interview Questions with Answers – Must‑Save for Your Prep
Java Tech Workshop
Java Tech Workshop
Aug 30, 2026 · Backend Development

Why Spring Needs a Three‑Level Cache for Circular Dependencies (Two Levels Lose AOP Proxies)

Spring resolves singleton circular dependencies by using a three‑level cache—singletonObjects, earlySingletonObjects, and singletonFactories—to expose early bean references and generate AOP proxies on demand, avoiding the loss of proxies that occurs with a two‑level cache while preserving performance.

AOP ProxyBackendBean Lifecycle
0 likes · 19 min read
Why Spring Needs a Three‑Level Cache for Circular Dependencies (Two Levels Lose AOP Proxies)
LuTiao Programming
LuTiao Programming
Aug 29, 2026 · Backend Development

Dropping findById()+save(): Spring Data Now Handles It with a Single SQL

The article explains how the traditional find‑by‑id‑then‑save pattern causes two database round‑trips and concurrency bugs, and shows that Spring Data 4.1’s single‑statement Upsert (JdbcAggregateTemplate.upsert) lets the database decide INSERT or UPDATE in one SQL, reducing latency and race conditions while outlining its limitations and ideal use cases.

Spring Bootconcurrencyjdbc
0 likes · 13 min read
Dropping findById()+save(): Spring Data Now Handles It with a Single SQL
Coder Trainee
Coder Trainee
Aug 29, 2026 · Backend Development

When @Transactional Goes Wrong: Misusing Transaction Propagation Leads to Deadlocks

A real‑world case shows that using @Transactional with the default REQUIRED propagation caused a long‑running transaction, frequent deadlocks, data inconsistency and higher timeout rates, and the article walks through the root cause, investigation steps, and practical fixes such as REQUIRES_NEW, self‑proxy calls, and async eventual consistency.

@TransactionalBackendDeadlock
0 likes · 9 min read
When @Transactional Goes Wrong: Misusing Transaction Propagation Leads to Deadlocks
21CTO
21CTO
Aug 29, 2026 · Backend Development

How I Transitioned from Go to Rust: Lessons Learned

After five years of writing Go, I was drawn into Rust when a teammate built a Raspberry‑Pi flashing tool, and I rebuilt a CLI and a set of services in Rust, discovering the language’s strict compiler, ownership model, async ecosystem, and the trade‑offs compared to Go.

AsyncCLIGo
0 likes · 12 min read
How I Transitioned from Go to Rust: Lessons Learned
Java Tech Workshop
Java Tech Workshop
Aug 29, 2026 · Backend Development

When a ThreadPool Queue Is Full: How ThreadPoolExecutor Expands and Handles Rejection

The article explains the exact order in which ThreadPoolExecutor expands—core threads, queueing, non‑core threads, then rejection—illustrates the behavior with a runnable example, compares the four built‑in RejectedExecutionHandler strategies, debunks common misconceptions, and offers production‑grade configuration and monitoring best practices.

Java concurrencyPerformance TuningThreadPoolExecutor
0 likes · 24 min read
When a ThreadPool Queue Is Full: How ThreadPoolExecutor Expands and Handles Rejection
Coder Trainee
Coder Trainee
Aug 28, 2026 · Backend Development

I Almost Got Fired Using Parallel Stream in Production

A production outage caused by Java 8 parallel streams exposed the dangers of the default commonPool, unlimited task queuing, and long‑running API calls, leading to 100% CPU, 30+ GC events per hour, and a near‑service collapse, which was resolved by custom thread pools, timeouts, and CompletableFuture alternatives.

CompletableFutureForkJoinPoolJava
0 likes · 7 min read
I Almost Got Fired Using Parallel Stream in Production
ITPUB
ITPUB
Aug 28, 2026 · Backend Development

Why Java’s Optional Is Still Ignored After 10 Years – The Real Bottlenecks

The article dissects why Java 8’s Optional, despite being a dedicated null‑pointer remedy, remains unpopular, examines common misconceptions, misuse pitfalls, unsuitable scenarios, and finally presents three concrete situations where Optional truly shines, backed by code examples and practical guidance.

Best PracticesJavaNullPointerException
0 likes · 10 min read
Why Java’s Optional Is Still Ignored After 10 Years – The Real Bottlenecks
Woodpecker Software Testing
Woodpecker Software Testing
Aug 28, 2026 · Backend Development

Mastering Concurrent User Testing: Deep Dive into Performance Optimization

The article explains that true concurrent user testing must emulate realistic user sessions with think time and asynchronous actions, identifies three typical bottlenecks—application thread blocking, database connection pool exhaustion, and middleware resource contention—and demonstrates proactive performance‑left‑shift practices and emerging AI‑driven adaptive testing techniques.

AIConcurrent TestingHikariCP
0 likes · 7 min read
Mastering Concurrent User Testing: Deep Dive into Performance Optimization
Architect's Guide
Architect's Guide
Aug 28, 2026 · Backend Development

Design a Universal, Rock‑Solid Risk‑Control System with Redis‑Lua and Kotlin Annotations

This article explains why a custom risk‑control component is needed for AI‑heavy services, outlines the requirement for real‑time adjustable limits, and walks through a Redis‑Lua based implementation of daily, hourly, and combined counters together with a Kotlin @Detect annotation for seamless integration.

AnnotationBackendKotlin
0 likes · 9 min read
Design a Universal, Rock‑Solid Risk‑Control System with Redis‑Lua and Kotlin Annotations
Node.js Tech Stack
Node.js Tech Stack
Aug 28, 2026 · Backend Development

pnpm 12 Goes Native: Rust Rewrite Eliminates Node.js Runtime Dependency

pnpm 12 replaces its TypeScript core with a Rust‑based native binary, allowing the package manager to run without Node.js, while preserving commands, lockfile format, and workspace behavior, and delivers faster installations, lower memory use, and new features such as managing runtimes, though some edge‑case changes require attention.

Node.jsRustcompatibility testing
0 likes · 9 min read
pnpm 12 Goes Native: Rust Rewrite Eliminates Node.js Runtime Dependency
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 28, 2026 · Backend Development

Spring Boot + JPA (Hibernate 7.4): One Annotation for Pagination, History, and Audit Tables

The article demonstrates how Hibernate 7.4, used with Spring Boot 3.5, adds built‑in support for safe pagination of collection fetches, temporal history tables, and native audit tables, all configurable via a single annotation and a few properties, with concrete code examples and runtime screenshots.

Audit TableHibernate 7.4History Table
0 likes · 8 min read
Spring Boot + JPA (Hibernate 7.4): One Annotation for Pagination, History, and Audit Tables
Open Source Tech Hub
Open Source Tech Hub
Aug 28, 2026 · Backend Development

Say Goodbye to the PHP Interpreter: Build Webman as a Pure Native Binary

Using TypePHP on Windows, the author demonstrates a fully automated workflow that compiles the Webman framework into a self‑contained .exe, detailing the build and packaging scripts, resolving static‑link symbol conflicts, strict type errors, SAPI adjustments, and verifying all routes run without a PHP runtime.

PHP compilationTypePHPWebman
0 likes · 8 min read
Say Goodbye to the PHP Interpreter: Build Webman as a Pure Native Binary
dbaplus Community
dbaplus Community
Aug 27, 2026 · Backend Development

How MQ Message Reordering Triggered a Major Business Outage

A late‑night logistics alert revealed that out‑of‑order RocketMQ events caused order and shipment statuses to diverge, prompting a root‑cause analysis that uncovered a gift‑giving feature’s simultaneous event publishing and led to two mitigation strategies: delayed sending and ordered messages.

BackendDistributed SystemsJava
0 likes · 8 min read
How MQ Message Reordering Triggered a Major Business Outage
Cloud Architecture
Cloud Architecture
Aug 27, 2026 · Backend Development

Reliable Delivery for Billion-Scale LongConn Gateways: Tackling ACK Storms

The article explains why a successful Netty write does not guarantee message delivery, and presents a production‑grade solution for billion‑scale long‑connection gateways that combines application‑level ACKs, timeout‑driven retries, offline compensation, state‑machine design, back‑pressure handling, and observability to prevent ACK storms and retry avalanches.

ACK StormBackend DevelopmentKafka
0 likes · 29 min read
Reliable Delivery for Billion-Scale LongConn Gateways: Tackling ACK Storms
CodeSmart Hoops
CodeSmart Hoops
Aug 27, 2026 · Backend Development

Deep Dive into gRPC: Load Balancing, Service Discovery, and Pitfall Guide

This article provides a comprehensive analysis of gRPC, covering core concepts, HTTP/2 and Protobuf fundamentals, four call patterns, interceptors, error handling, load‑balancing strategies, service discovery mechanisms, circuit‑breaking and rate‑limiting, security layers, and a complete Spring Boot 3 + JDK 21 runnable example with a detailed best‑practice checklist.

Circuit BreakingHTTP/2Java
0 likes · 33 min read
Deep Dive into gRPC: Load Balancing, Service Discovery, and Pitfall Guide
Open Source Tech Hub
Open Source Tech Hub
Aug 27, 2026 · Backend Development

Can PHP Be Compiled to EXE? A Practical Guide with ThinkPHP 8 and TypePHP

This article walks through using the TypePHP AOT compiler with ThinkPHP 8 to turn a PHP web application into a self‑contained Windows executable, showing architecture changes, a 9.2× performance boost, step‑by‑step environment setup, build scripts, runtime verification, and five common pitfalls with solutions.

AOT compilationPHPThinkPHP
0 likes · 11 min read
Can PHP Be Compiled to EXE? A Practical Guide with ThinkPHP 8 and TypePHP
21CTO
21CTO
Aug 27, 2026 · Backend Development

What PHP 8.6 Brings: Simplified Function Calls Illustrated

The article previews PHP 8.6’s upcoming function‑argument placeholder feature and shows how it can replace a multi‑step pipeline of arrow functions with a concise slug‑generation snippet, making the code shorter and clearer.

BackendPHPPHP 8.6
0 likes · 2 min read
What PHP 8.6 Brings: Simplified Function Calls Illustrated