Backend Development

Showing 100 articles max
Architect's Guide
Architect's Guide
Oct 8, 2026 · Backend Development

Seamless Token Refresh: Backend vs Frontend Strategies for JWT Authentication

This article explains why seamless token refresh prevents sudden logouts, compares backend automatic token renewal with frontend dual-token (access/refresh) approaches, provides Java JWT implementation code with expiration calculations, and discusses handling edge cases like long-form submissions where no requests are sent before token expiry.

Access TokenFrontend-Backend IntegrationJava
0 likes · 10 min read
Seamless Token Refresh: Backend vs Frontend Strategies for JWT Authentication
CodeSmart Hoops
CodeSmart Hoops
Oct 8, 2026 · Backend Development

Sa-Token 1.39.0 Deep Dive: Source Code, SSO, Multi-Tenancy & Framework Comparison

This article provides a comprehensive technical analysis of Sa-Token 1.39.0, covering source code architecture, scenario-based configurations for JWT/stateless auth, mobile multi-device, RBAC admin panels, and SaaS multi-tenancy, plus unit testing patterns, common misconceptions, performance comparisons with Spring Security and Shiro, and production hardening practices.

Best PracticesJava AuthenticationRBAC
0 likes · 26 min read
Sa-Token 1.39.0 Deep Dive: Source Code, SSO, Multi-Tenancy & Framework Comparison
SpringMeng
SpringMeng
Oct 8, 2026 · Backend Development

Spring AI Alibaba Still Active: Why Java Remains Viable for Production AI Systems

The article debunks rumors that Spring AI Alibaba has stopped development, citing recent releases, and argues Java's strength in AI lies not in model training but in integrating AI capabilities into production enterprise systems through RAG, tool calling, and robust engineering practices.

AI integrationAgent workflowsJava
0 likes · 11 min read
Spring AI Alibaba Still Active: Why Java Remains Viable for Production AI Systems
Random Bulletin
Random Bulletin
Oct 7, 2026 · Backend Development

Cache Rebuild Evolution at 10M QPS: From Cold Start to Hot Standby

This article details the evolution of cache reconstruction strategies for ten-million-QPS systems, covering cold-start dangers, persistence recovery limits, tiered hot-data backfill, dual-cluster hot standby for second-level failover, shard-level background rebuild with singleflight, and multi-layer database protection during rebuilds, advocating making pre-warming a routine capability.

cache reconstructioncache warmingcold start
0 likes · 27 min read
Cache Rebuild Evolution at 10M QPS: From Cold Start to Hot Standby
Java Captain
Java Captain
Oct 7, 2026 · Backend Development

MyBatis XML Configuration Guide: From Setup to CRUD Operations

This tutorial walks through configuring MyBatis with XML for database operations, covering Maven dependencies, project structure, core configuration files, mapper interfaces, dynamic SQL, and JUnit testing with a complete employee CRUD example.

CRUDJDBCJUnit testing
0 likes · 20 min read
MyBatis XML Configuration Guide: From Setup to CRUD Operations
Data Bricklaying Diary
Data Bricklaying Diary
Oct 7, 2026 · Backend Development

Agent Error Recovery: Why Retries Alone Fail — Idempotency & Reconciliation

This article explains why automatic retries after agent timeouts can duplicate business actions, and details how to distinguish call failures from executed side effects, implement execution-side idempotency guarantees, reconcile using original action identifiers, and define safe recovery rules with human escalation when outcomes remain unknown.

Agent SystemsError Handlingdistributed systems
0 likes · 17 min read
Agent Error Recovery: Why Retries Alone Fail — Idempotency & Reconciliation
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 7, 2026 · Backend Development

Mastering High-Concurrency Caching: Penetration, Breakdown, Avalanche & Hot Keys

This article explains four classic high-concurrency caching problems—cache penetration, breakdown, avalanche, and hot keys—their root causes, differences, and practical solutions including empty-value caching, Bloom filters, mutex locks, logical expiration, TTL jitter, multi-level caching, and cache-database consistency patterns.

Bloom FilterCache AsideCache Avalanche
0 likes · 12 min read
Mastering High-Concurrency Caching: Penetration, Breakdown, Avalanche & Hot Keys
Open Source Tech Hub
Open Source Tech Hub
Oct 7, 2026 · Backend Development

Rapira: Rust-Powered PHP Server Hits 111k RPS, 10x Faster Than PHP-FPM

Rapira, a new PHP application server written in Rust, achieves 111,499 RPS with 1.07ms latency in Yii3 benchmarks by embedding the PHP interpreter directly into Rust, eliminating IPC overhead and outperforming PHP-FPM by over 10x while supporting HTTP and gRPC with isolated worker pools.

Application ServerBenchmarkFrankenPHP
0 likes · 16 min read
Rapira: Rust-Powered PHP Server Hits 111k RPS, 10x Faster Than PHP-FPM
Architect's Guide
Architect's Guide
Oct 7, 2026 · Backend Development

MaxKey SSO Deep Dive: Enterprise Authentication Architecture, Security Mechanisms, and bcrypt Password Storage

This article explores MaxKey, an open-source single sign-on system supporting OAuth 2.x, OpenID Connect, SAML 2.0, JWT, CAS, and SCIM, detailing its microservices architecture, security features like secondary authentication and single logout, session timeout design, brute-force protections, and bcrypt password storage implementation.

MaxKeyOAuthOpen Source
0 likes · 12 min read
MaxKey SSO Deep Dive: Enterprise Authentication Architecture, Security Mechanisms, and bcrypt Password Storage
ITPUB
ITPUB
Oct 7, 2026 · Backend Development

Rails 8 Drops Redis: How PostgreSQL's SKIP LOCKED Powers SolidQueue

Rails 8 replaces Redis with database-backed SolidQueue, SolidCache, and SolidCable, leveraging PostgreSQL's SKIP LOCKED for efficient task queues and arguing that most applications overpay a hidden 'middleware tax' for specialized infrastructure they don't actually need.

PostgreSQLRails 8Redis
0 likes · 14 min read
Rails 8 Drops Redis: How PostgreSQL's SKIP LOCKED Powers SolidQueue
Random Bulletin
Random Bulletin
Oct 6, 2026 · Backend Development

From Manual DNS to 90-Second Auto-Failover: Traffic Recovery Evolution at 10M QPS

This article traces the evolution of traffic recovery from manual DNS changes taking 47 minutes to fully automated 90-second failover, detailing the three-layer scheduling architecture, multi-source voting, capacity verification, batched switching, and protection mechanisms that make automatic failover safe at 10M QPS scale.

10M QPSDNSGSLB
0 likes · 29 min read
From Manual DNS to 90-Second Auto-Failover: Traffic Recovery Evolution at 10M QPS
Java Captain
Java Captain
Oct 6, 2026 · Backend Development

Java Stream API: LINQ-Style Collection Filtering & Extraction

This tutorial demonstrates Java Stream API for filtering and extracting collection data, covering stream creation from Lists, Sets, Maps, and arrays, key operations like filter, limit, skip, concat, distinct, and collecting results into List, Set, or Map with practical code examples.

CollectionsData ProcessingFiltering
0 likes · 13 min read
Java Stream API: LINQ-Style Collection Filtering & Extraction
Java Tech Enthusiast
Java Tech Enthusiast
Oct 6, 2026 · Backend Development

Skip WebSocket for AI Streaming: SSE Delivers Typewriter Effects with Half the Code in Spring Boot

This comprehensive guide demonstrates why Server-Sent Events (SSE) is the superior choice over WebSocket for unidirectional server push scenarios like AI token streaming, covering Spring Boot integration patterns, production hardening (async thread pools, Nginx buffering, heartbeats, reconnection), and cluster deployment with Redis Pub/Sub.

AI streamingSSEServer-Sent Events
0 likes · 23 min read
Skip WebSocket for AI Streaming: SSE Delivers Typewriter Effects with Half the Code in Spring Boot
Tech Ocean
Tech Ocean
Oct 5, 2026 · Backend Development

Building an AI Chat Backend MVP with FastAPI: Auth, Tools & SSE Streaming

This article walks through building a production-ready AI chat backend using FastAPI, covering user authentication with JWT, per-user chat isolation, local tool calling (time, date diff, calculator), SSE streaming with proper connection handling, and transactional message persistence that leaves no partial records on errors or client disconnects.

AI Chat BackendFastAPIJWT Authentication
0 likes · 34 min read
Building an AI Chat Backend MVP with FastAPI: Auth, Tools & SSE Streaming
Java Captain
Java Captain
Oct 5, 2026 · Backend Development

Deploy a 3-Node Seata 1.8.0 Cluster with Docker Compose, Nacos & MySQL

This tutorial details deploying a three-node Seata 1.8.0 cluster using Docker Compose, Nacos for service registration and configuration, and MySQL for persistent transaction storage, covering directory layout, node-specific configs, database schema, and verification steps.

Cluster DeploymentDistributed TransactionsNacos
0 likes · 12 min read
Deploy a 3-Node Seata 1.8.0 Cluster with Docker Compose, Nacos & MySQL
Java Tech Enthusiast
Java Tech Enthusiast
Oct 5, 2026 · Backend Development

Java 27 JFR Now Auto-Redacts Passwords: Why Your Diagnostic Files Were Leaking Secrets

Java 27 introduces JFR in-process data redaction (JEP 536) that automatically masks sensitive environment variables, system properties, and JVM arguments matching default glob patterns like *password*, *secret*, *token*, and *api*key*, with support for custom patterns via FlightRecorderOptions, though custom JFR events and child processes remain unprotected.

JEP 536JFRJVM
0 likes · 13 min read
Java 27 JFR Now Auto-Redacts Passwords: Why Your Diagnostic Files Were Leaking Secrets
CodeSmart Hoops
CodeSmart Hoops
Oct 5, 2026 · Backend Development

12 Critical Issues in Custom Redis Distributed Session Design — Solved

This article details 12 critical technical challenges when building a custom Redis-based distributed session system, covering token security, dual-index design, atomic Lua writes, expiration strategies, multi-device limits, renewal optimization, ThreadLocal cleanup, HA degradation, framework comparison, anomaly detection, and Redis Cluster hash-tag routing.

Lua scriptingRedisRedis Cluster
0 likes · 31 min read
12 Critical Issues in Custom Redis Distributed Session Design — Solved
21CTO
21CTO
Oct 5, 2026 · Backend Development

Google Cloud Swift SDK: Compile-Time Data-Race Safety for Server-Side

Google launches Cloud Swift SDK for Swift 6.2+, using SwiftNIO's async event loops, HTTP/2, gRPC, and compile-time data-race safety; engineers praise Swift's lightweight runtime, ARC, and syntax as a developer-friendly alternative to Rust or C++ for backend microservices, despite slow adoption after IBM's 2019 exit.

Concurrency SafetyGoogle CloudServer-Side
0 likes · 5 min read
Google Cloud Swift SDK: Compile-Time Data-Race Safety for Server-Side