Tagged articles

Backend

5000 articles · Page 30 of 50
Java Architecture Diary
Java Architecture Diary
May 22, 2023 · Cloud Native

How to Leverage Spring Boot 3.1’s Built‑In Docker Compose Support

Spring Boot 3.1 introduces an enhanced Docker Compose module that automatically starts and stops containers, maps service properties without manual duplication, and configures application settings like Redis and MySQL, allowing developers to quickly integrate Docker Compose files into their Spring applications with minimal setup.

BackendCloud NativeDocker Compose
0 likes · 4 min read
How to Leverage Spring Boot 3.1’s Built‑In Docker Compose Support
php Courses
php Courses
May 18, 2023 · Backend Development

Implementing Message Queues with PHP and RabbitMQ

This article explains how to set up a PHP development environment, install RabbitMQ and its dependencies, and provides complete producer and consumer code examples to create a simple "Hello World" message queue using RabbitMQ's AMQP protocol.

AMQPBackendRabbitMQ
0 likes · 7 min read
Implementing Message Queues with PHP and RabbitMQ
Code Ape Tech Column
Code Ape Tech Column
May 18, 2023 · Backend Development

Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign

This article explains the origins, usage, and internal dynamic‑proxy workflow of Spring Cloud OpenFeign, illustrating how FeignClient interfaces are scanned, annotated, and transformed into remote service calls through generated proxy classes, with code examples and diagrams.

BackendFeignClientJava
0 likes · 10 min read
Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign
Alipay Experience Technology
Alipay Experience Technology
May 17, 2023 · Backend Development

Boost Code Reusability with Componentized Workflow Design in Java

This article explains how to improve code readability, reusability, and extensibility by adopting a componentized workflow architecture, detailing three‑layer structures, node abstraction, parameter mapping, and practical Java/Spring XML examples for scalable backend systems.

BackendComponent ArchitectureDesign Patterns
0 likes · 13 min read
Boost Code Reusability with Componentized Workflow Design in Java
MaGe Linux Operations
MaGe Linux Operations
May 16, 2023 · Databases

How We Split a 50‑Million‑Row MySQL Table: Strategies and Lessons Learned

This article recounts how a finance team tackled a 50‑million‑row MySQL table by analyzing system bottlenecks, defining splitting goals, selecting sharding‑jdbc, addressing multi‑datasource transactions and pagination, designing data migration strategies, and executing a staged rollout to ensure stability and performance.

BackendMySQLdatabase migration
0 likes · 12 min read
How We Split a 50‑Million‑Row MySQL Table: Strategies and Lessons Learned
Code Ape Tech Column
Code Ape Tech Column
May 16, 2023 · Backend Development

Practical Guide to Spring StateMachine: Concepts, Implementation, and Persistence

This article introduces the fundamentals of finite‑state machines, explains the four core concepts of state, event, action and transition, and provides a step‑by‑step Spring Statemachine implementation with database schema, enum definitions, configuration, persistence options, testing, common pitfalls and an AOP‑based solution for reliable transaction handling.

AOPBackendJava
0 likes · 27 min read
Practical Guide to Spring StateMachine: Concepts, Implementation, and Persistence
Top Architect
Top Architect
May 15, 2023 · Backend Development

Comprehensive Guide to Kafka: Architecture, Performance Tuning, and Operational Practices

This article provides an in-depth overview of Kafka, covering its core value as a message queue, fundamental concepts, cluster architecture, producer and consumer configurations, scaling strategies, monitoring tools, and practical operational commands for building and maintaining high‑throughput, highly available streaming systems.

BackendKafkaProducer Configuration
0 likes · 31 min read
Comprehensive Guide to Kafka: Architecture, Performance Tuning, and Operational Practices
Java Architect Essentials
Java Architect Essentials
May 14, 2023 · Backend Development

2023 State of the Java Ecosystem: Adoption Trends and JDK Vendor Share

The New Relic 2023 Java Ecosystem Report analyzes production usage data to reveal rapid adoption of Java 17, declining popularity of older LTS releases, the rise of containerized applications, and Amazon Corretto becoming the leading JDK vendor, while highlighting preferred garbage collectors and non‑LTS usage patterns.

AdoptionBackendJDK
0 likes · 6 min read
2023 State of the Java Ecosystem: Adoption Trends and JDK Vendor Share
Architect
Architect
May 13, 2023 · Databases

Splitting a Massive MySQL Financial Transaction Table: Challenges, Strategies, and Implementation

The article details how a finance team tackled a 50‑million‑row MySQL transaction table by analyzing the pre‑split problems, defining split goals, choosing sharding‑jdbc, addressing multi‑datasource transaction and pagination issues, designing a phased migration and rollout plan, and summarizing lessons learned.

BackendMySQLdata migration
0 likes · 13 min read
Splitting a Massive MySQL Financial Transaction Table: Challenges, Strategies, and Implementation
Architecture Digest
Architecture Digest
May 12, 2023 · Operations

One-Click Jenkins + Docker + Spring Boot Automated Deployment Guide

This tutorial provides a complete step‑by‑step guide to set up a Jenkins server inside Docker on CentOS, configure Maven and plugins, create a pipeline that builds a Spring Boot project, builds a Docker image with a Dockerfile, and runs the container automatically, covering all common pitfalls.

BackendCI/CDDevOps
0 likes · 7 min read
One-Click Jenkins + Docker + Spring Boot Automated Deployment Guide
Alipay Experience Technology
Alipay Experience Technology
May 11, 2023 · Backend Development

How DDD Tames Microservice Complexity: A Practical Guide

This article explains why architecture design, especially Domain‑Driven Design, is essential for controlling the complexity, cost, and scalability of microservice systems, detailing common misconceptions, sources of complexity, and concrete steps to define clear domain and service boundaries.

BackendDomain-Driven DesignMicroservices
0 likes · 26 min read
How DDD Tames Microservice Complexity: A Practical Guide
Top Architect
Top Architect
May 10, 2023 · Backend Development

Implementing a Custom @Autowired-like Annotation in Spring

This article demonstrates how to create a simple custom annotation that mimics Spring's @Autowired functionality by defining a new annotation, a BeanPostProcessor, configuring beans in XML, and wiring everything together in a test class to show the injection working at runtime.

BackendBeanPostProcessorCustom Annotation
0 likes · 8 min read
Implementing a Custom @Autowired-like Annotation in Spring
Laravel Tech Community
Laravel Tech Community
May 9, 2023 · Backend Development

Common PHP String Manipulation Functions and Examples

This article explains several essential PHP string functions—including substr, mb_substr, stripos with substr, and direct character indexing—providing clear code examples and output demonstrations for handling both ASCII and multibyte characters.

BackendStringmb_substr
0 likes · 3 min read
Common PHP String Manipulation Functions and Examples
dbaplus Community
dbaplus Community
May 9, 2023 · Backend Development

How to Build a Scalable Discount System with Real‑Time Crowd Sync

This article explains a three‑step architecture for describing, storing, and calculating fan‑based discounts, introduces a crowd‑based abstraction to accelerate high‑traffic queries, and details a hybrid offline‑plus‑real‑time data‑sync strategy that ensures consistency and millisecond‑level response times.

BackendRediscrowd-abstraction
0 likes · 10 min read
How to Build a Scalable Discount System with Real‑Time Crowd Sync
IT Services Circle
IT Services Circle
May 9, 2023 · Backend Development

Common Issues and Solutions When Integrating Third-Party APIs

This article outlines typical problems such as domain inaccessibility, signature errors, token expiration, timeouts, HTTP 500/404 responses, inconsistent documentation, and provides practical debugging and mitigation strategies for developers working with third‑party API integrations.

API integrationBackendRetry Mechanism
0 likes · 15 min read
Common Issues and Solutions When Integrating Third-Party APIs
Liangxu Linux
Liangxu Linux
May 7, 2023 · Backend Development

Force File Downloads in NGINX with Content‑Disposition Headers

Learn how to configure NGINX to force browsers to download files instead of displaying them, using Content‑Disposition headers, regex location blocks, and proper MIME handling to reduce server load and handle IE quirks.

BackendFile DownloadHTTP headers
0 likes · 4 min read
Force File Downloads in NGINX with Content‑Disposition Headers
Top Architect
Top Architect
May 6, 2023 · Backend Development

Netty TCP Client Demo with Spring Boot: Architecture, Message Queue, and Complete Code Walkthrough

An in‑depth tutorial demonstrates building a Netty‑based TCP client with Spring Boot, covering project architecture, module layout, message‑queue simulation, detailed Java code for client creation, connection handling, and testing endpoints, providing a complete, production‑ready demo for IoT socket communication.

BackendJavaNetty
0 likes · 26 min read
Netty TCP Client Demo with Spring Boot: Architecture, Message Queue, and Complete Code Walkthrough
MaGe Linux Operations
MaGe Linux Operations
May 3, 2023 · Backend Development

Force File Downloads in NGINX with Simple Header Configurations

Learn how to configure NGINX to force browsers to download files instead of displaying them by adding appropriate Content‑Disposition headers, handling various file types, using regex locations, and reloading the server for the changes to take effect.

BackendConfigurationFile Download
0 likes · 4 min read
Force File Downloads in NGINX with Simple Header Configurations
php Courses
php Courses
May 2, 2023 · Backend Development

Single-File PHP Implementation for Alipay and WeChat Payments

This article presents a concise, single‑file PHP solution for integrating Alipay and WeChat payment services, detailing required environment settings, configuration steps, essential code snippets, and browser‑specific handling to help developers quickly add payment functionality to their web applications.

AlipayBackendPHP SDK
0 likes · 6 min read
Single-File PHP Implementation for Alipay and WeChat Payments
Top Architect
Top Architect
Apr 30, 2023 · Backend Development

Kafka Core Concepts, Architecture, Performance, and Operational Practices

This article provides a comprehensive overview of Kafka, covering its core value as a message queue, fundamental concepts, cluster architecture, log storage mechanisms, zero‑copy data transfer, high‑throughput and high‑availability design, consumer group behavior, rebalance strategies, and practical operational commands for managing topics, partitions, and offsets.

BackendKafkaPerformance
0 likes · 31 min read
Kafka Core Concepts, Architecture, Performance, and Operational Practices
Architect's Guide
Architect's Guide
Apr 30, 2023 · Backend Development

Evolution of Distributed Locks with Redis and Redisson

This article explains the step‑by‑step evolution of Redis‑based distributed lock implementations—from a simple SETNX approach to a robust solution using UUIDs, expiration, atomic Lua scripts, and finally Redisson’s high‑level lock API—illustrating common pitfalls and their fixes.

BackendJavaRedis
0 likes · 8 min read
Evolution of Distributed Locks with Redis and Redisson
Top Architect
Top Architect
Apr 27, 2023 · Backend Development

Understanding Spring Transaction Propagation, Rollback, and @Transactional Usage

This article explains Spring's transaction propagation options, rollback mechanisms, the limitations of self‑invocation within @Transactional methods, and how to correctly use AOP proxies such as AopContext.currentProxy() and @EnableAspectJAutoProxy to ensure transactional behavior in Java backend applications.

@TransactionalBackendJava
0 likes · 10 min read
Understanding Spring Transaction Propagation, Rollback, and @Transactional Usage
Sohu Tech Products
Sohu Tech Products
Apr 26, 2023 · Backend Development

Designing Robust and Idempotent APIs: Principles and Practices

This article explores essential API design principles—idempotency, robustness, and security—by discussing practical techniques such as request locks, database unique constraints, Redis distributed locks, token‑based authentication, JWT, and defensive coding practices to ensure reliable, safe, and maintainable backend services.

API DesignBackendRobustness
0 likes · 36 min read
Designing Robust and Idempotent APIs: Principles and Practices
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 26, 2023 · Backend Development

Design and Implementation of an Automated Payment Channel Management System

This article describes the design, technology choices, architecture, and implementation details of an automated payment channel management system that uses Redis‑based time‑series storage, custom circuit‑breaker logic, and monitoring to achieve fast fault detection, accurate alerting, and future automated failover.

BackendCircuit BreakerRedis
0 likes · 10 min read
Design and Implementation of an Automated Payment Channel Management System
Java High-Performance Architecture
Java High-Performance Architecture
Apr 25, 2023 · Backend Development

Boost API Performance: 12 Proven Techniques to Slash Latency

This article shares a comprehensive, step‑by‑step guide to optimizing API performance, covering batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelism, indexing, transaction management, deep pagination, SQL tuning, lock granularity, and code structure refactoring, all illustrated with Java examples.

APIBackendJava
0 likes · 11 min read
Boost API Performance: 12 Proven Techniques to Slash Latency
Top Architect
Top Architect
Apr 25, 2023 · Backend Development

WebSocket Load Balancing Across Microservice Instances Using a Configurable Annotation

This article explains how to solve the problem of message loss in WebSocket communication within a micro‑service architecture by introducing a library that uses a single configuration annotation to automatically establish inter‑instance connections, manage message routing, and support custom selectors for targeted delivery.

BackendJavaMessage Routing
0 likes · 13 min read
WebSocket Load Balancing Across Microservice Instances Using a Configurable Annotation
Su San Talks Tech
Su San Talks Tech
Apr 25, 2023 · Backend Development

Unlocking Spring’s Design Patterns: From Proxy to Adapter Explained

This article explores how Spring implements classic design patterns—Proxy, Strategy, Decorator, Singleton, Simple Factory, Factory Method, Observer, Template, and Adapter—detailing their purpose, core code snippets, and the way Spring leverages them to provide flexible, extensible, and maintainable backend functionality.

AOPBackendDependency Injection
0 likes · 13 min read
Unlocking Spring’s Design Patterns: From Proxy to Adapter Explained
Top Architect
Top Architect
Apr 24, 2023 · Backend Development

Understanding the Spring Bean Lifecycle and Its Core Stages

This article explains the complete lifecycle of a Spring bean—including creation, merged BeanDefinition processing, factory exposure, property population, initialization, and destruction—while illustrating the underlying source‑code mechanisms and how Spring resolves constructors, handles circular dependencies, and integrates AOP and post‑processors.

BackendBean LifecycleDependency Injection
0 likes · 16 min read
Understanding the Spring Bean Lifecycle and Its Core Stages
Su San Talks Tech
Su San Talks Tech
Apr 24, 2023 · Backend Development

Mastering Spring @EventListener: From Demo to Deep Debugging

This article walks through building a Spring @EventListener demo, explains how to decouple registration logic, shows step‑by‑step debugging of the event‑listener infrastructure, and explores the internal mechanisms that register and invoke listeners during application startup and runtime.

BackendJavaSpring
0 likes · 14 min read
Mastering Spring @EventListener: From Demo to Deep Debugging
Java Architect Essentials
Java Architect Essentials
Apr 22, 2023 · Backend Development

Introducing magic-api: A Java Rapid API Development Framework

The article presents magic-api, a Java-based rapid API development framework that lets developers create HTTP interfaces through a visual UI without writing traditional controller, service, DAO, or XML code, and provides features, quick‑start instructions, and resource links.

BackendJavaframework
0 likes · 5 min read
Introducing magic-api: A Java Rapid API Development Framework
Top Architect
Top Architect
Apr 20, 2023 · Backend Development

General Guide to Deploying a Spring Boot Microservice Project with Maven

This article provides a step‑by‑step tutorial on analyzing a Spring Boot microservice project, configuring parent and child Maven pom files, packaging modules with Maven plugins, and deploying both backend JARs and frontend assets to Windows or Linux servers.

BackendMavenMicroservices
0 likes · 12 min read
General Guide to Deploying a Spring Boot Microservice Project with Maven
Ctrip Technology
Ctrip Technology
Apr 20, 2023 · Backend Development

Performance Optimization of Multi‑Modal Transfer Route Stitching in Ctrip Backend

This article analyzes the challenges of stitching multi‑modal transport routes in Ctrip's backend, identifies performance bottlenecks through monitoring, profiling and benchmarking, and presents a series of optimizations—including code refactoring, indexing, multi‑way merge, multi‑level caching, preprocessing, multithreading, lazy computation, and JVM tuning—that collectively reduce latency and resource consumption.

BackendJavaPerformance Optimization
0 likes · 17 min read
Performance Optimization of Multi‑Modal Transfer Route Stitching in Ctrip Backend
vivo Internet Technology
vivo Internet Technology
Apr 19, 2023 · Backend Development

Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System

The article details how a midnight interface timeout in Vivo’s e‑commerce activity system was traced to a logging bottleneck: a synchronous Log4j call blocked all threads while a cron‑driven log‑rotation script copied a 2.6 GB file, and the issue was resolved by switching to asynchronous logging with a non‑blocking appender.

BackendTomcatlogging
0 likes · 17 min read
Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System
High Availability Architecture
High Availability Architecture
Apr 19, 2023 · Backend Development

Designing High‑Availability Services: Architecture Boundaries, Protocols, and Push Systems

This article explains how Tencent’s internal high‑availability service curriculum emphasizes architecture boundaries, unified protocol definitions using JCE, a unified PushAPI, monitoring and feedback mechanisms, and the organizational impact of aligning system and team boundaries to achieve scalable, reliable backend services.

BackendProtocol Designdistributed-systems
0 likes · 14 min read
Designing High‑Availability Services: Architecture Boundaries, Protocols, and Push Systems
Architecture Digest
Architecture Digest
Apr 19, 2023 · Backend Development

Technical Selection and Implementation of Authentication Using JWT and Session in a Java Backend

This article compares session‑based and JWT‑based authentication, discusses their advantages, disadvantages, security and performance considerations, and provides a complete Java Spring Boot implementation—including dependency configuration, utility classes, login/logout/password update logic, and interceptor handling—using Redis for token management.

BackendJWTJava
0 likes · 13 min read
Technical Selection and Implementation of Authentication Using JWT and Session in a Java Backend
Java Backend Technology
Java Backend Technology
Apr 19, 2023 · Backend Development

Master Spring Retry: How @Retryable Simplifies Robust Error Handling

This article explains how Spring Retry's @Retryable and @Recover annotations provide a clean, annotation‑driven way to handle common retry scenarios such as message failures, remote service errors, and lock acquisition issues, while outlining configuration steps, parameter meanings, and important usage cautions.

Backendspring-boot
0 likes · 6 min read
Master Spring Retry: How @Retryable Simplifies Robust Error Handling
Top Architect
Top Architect
Apr 17, 2023 · Backend Development

Designing a Unified API Response Structure with Custom Annotations and Interceptors

This article explains how to build a clean, maintainable backend API response format by defining a standard JSON wrapper, categorizing status codes, using a Result class with static helpers, and automatically applying the wrapper through a custom @ResponseResult annotation, interceptor, and ResponseBodyAdvice in a Spring‑based service.

APIBackendInterceptors
0 likes · 8 min read
Designing a Unified API Response Structure with Custom Annotations and Interceptors
php Courses
php Courses
Apr 17, 2023 · Backend Development

Generating SKU Combinations with Cartesian Product in PHP

This article demonstrates how to generate all possible SKU combinations in PHP by using Cartesian product on color, size, and version arrays, includes a full code example and the resulting array output.

BackendCode Examplearray
0 likes · 3 min read
Generating SKU Combinations with Cartesian Product in PHP
Python Programming Learning Circle
Python Programming Learning Circle
Apr 14, 2023 · Backend Development

Implementing Periodic Tasks in Python: while‑loop, Timeloop, sched, schedule, APScheduler, Celery, and Airflow

This article reviews several Python approaches for creating scheduled or periodic jobs—including a simple while‑True loop with sleep, the Timeloop library, the built‑in sched module, the schedule package, APScheduler, Celery, and Apache Airflow—explaining their usage, advantages, limitations, and providing ready‑to‑run code samples.

APSchedulerAirflowBackend
0 likes · 15 min read
Implementing Periodic Tasks in Python: while‑loop, Timeloop, sched, schedule, APScheduler, Celery, and Airflow
21CTO
21CTO
Apr 13, 2023 · Information Security

How a Redis Client Bug Exposed ChatGPT Users’ Data – What Went Wrong?

A recent OpenAI investigation revealed that a bug in the redis-py client caused ChatGPT to leak conversation histories and personal details of about 1.2% of Plus users, prompting a temporary service shutdown and a rapid patch deployment.

BackendChatGPTSecurity
0 likes · 6 min read
How a Redis Client Bug Exposed ChatGPT Users’ Data – What Went Wrong?
IT Architects Alliance
IT Architects Alliance
Apr 13, 2023 · Backend Development

WebSocket Load Balancing Across Microservices Using a Single Annotation

This article explains how to solve the WebSocket message‑delivery problem in a micro‑service environment by introducing a lightweight library that uses a custom annotation to automatically forward messages between service instances, with detailed design, configuration, and code examples.

BackendJavaMicroservices
0 likes · 12 min read
WebSocket Load Balancing Across Microservices Using a Single Annotation
Java High-Performance Architecture
Java High-Performance Architecture
Apr 11, 2023 · Backend Development

Designing a High‑Performance Flash‑Sale System: 7 Key Architecture Strategies

This article outlines a flash‑sale system architecture from seven perspectives—covering Nginx static‑dynamic separation, CDN caching, gateway rate‑limiting, Redis locking, MQ buffering, business processing, and database sharding—while detailing peak‑shaving, page optimization, security controls, and transaction trade‑offs for massive concurrent traffic.

BackendCAPTCHAMQ
0 likes · 10 min read
Designing a High‑Performance Flash‑Sale System: 7 Key Architecture Strategies
JD Retail Technology
JD Retail Technology
Apr 11, 2023 · Backend Development

Understanding the Architecture and Configuration of JD's JSF RPC Framework

This article explains the design and implementation of JD's JSF RPC framework, detailing the architecture, XML configuration of providers and consumers, Spring namespace handling, service registration, server startup, client initialization, load balancing, and the overall workflow from provider exposure to consumer invocation.

BackendConfigurationJSF
0 likes · 12 min read
Understanding the Architecture and Configuration of JD's JSF RPC Framework
Java Backend Technology
Java Backend Technology
Apr 11, 2023 · Backend Development

Mastering Application Layering: Practical Guide to Clean Backend Architecture

Effective application layering, as outlined by Alibaba’s coding standards, separates concerns across controller, service, manager, DAO, and other layers, ensuring maintainable, reusable code; the article explains each layer’s role, domain model conversions, and practical tips for implementing a clean, team‑wide architecture.

Alibaba standardsBackendDAO
0 likes · 9 min read
Mastering Application Layering: Practical Guide to Clean Backend Architecture
ITPUB
ITPUB
Apr 10, 2023 · Backend Development

How Bilibili Scales Its Like Service: Architecture, Storage, and Disaster Recovery

This article details Bilibili's thumb‑up system design, covering business capabilities, multi‑layer storage, traffic handling, disaster‑recovery strategies, and future plans to ensure a high‑traffic, reliable like service for videos, posts, comments, and more.

BackendStoragedisaster recovery
0 likes · 15 min read
How Bilibili Scales Its Like Service: Architecture, Storage, and Disaster Recovery
ITPUB
ITPUB
Apr 10, 2023 · Operations

How Bytecode Enhancement Enables Zero‑Intrusion Monitoring for Microservices

This article, based on a SACC 2022 talk by Huolala architect Cao Wei, explains the principles of bytecode‑enhancement, its practical implementation for large‑scale microservice monitoring, compares enhancement frameworks, shares best‑practice patterns, and explores broader applications such as service‑mesh sidecars.

BackendJava AgentMicroservices
0 likes · 18 min read
How Bytecode Enhancement Enables Zero‑Intrusion Monitoring for Microservices
php Courses
php Courses
Apr 10, 2023 · Backend Development

How to Create and Publish a PHP Composer Package to GitHub and Packagist

This guide walks you through preparing a GitHub and Packagist account, creating a repository, initializing a Composer package (both automatically and manually), configuring PSR‑4 autoload, writing source code, and finally publishing the package by pushing to GitHub and submitting it to Packagist.

BackendGitHubPSR-4
0 likes · 6 min read
How to Create and Publish a PHP Composer Package to GitHub and Packagist
MaGe Linux Operations
MaGe Linux Operations
Apr 9, 2023 · Backend Development

Build a Go HTTP Proxy from Scratch: Full Guide with Code

Learn how to implement a functional HTTP/HTTPS proxy in Go, covering proxy concepts, forward and reverse types, protocol specifics, header transformations, and a complete, runnable code example that listens on TCP, parses requests, connects to target servers, and forwards traffic.

BackendCode ExampleHTTP Proxy
0 likes · 11 min read
Build a Go HTTP Proxy from Scratch: Full Guide with Code
Code Ape Tech Column
Code Ape Tech Column
Apr 8, 2023 · Backend Development

Understanding Spring Dependency Injection and Lombok @RequiredArgsConstructor

This article explains Spring's three dependency injection methods—field, constructor, and setter injection—highlights the advantages of constructor injection for avoiding null pointers and circular dependencies, and demonstrates how Lombok's @RequiredArgsConstructor can simplify bean wiring in Java backend development.

BackendConstructor InjectionDependency Injection
0 likes · 6 min read
Understanding Spring Dependency Injection and Lombok @RequiredArgsConstructor
Selected Java Interview Questions
Selected Java Interview Questions
Apr 7, 2023 · Backend Development

Understanding Object Creation in Java: How Many Objects Are Created by `String s = new String("xyz")`?

This article explains the evolution of the Java method area, analyzes bytecode generated by `String s = new String("xyz")` and `String s = "xyz"`, and clarifies why the expression creates one or two objects depending on whether the literal already exists in the constant pool.

BackendConstant PoolObject Creation
0 likes · 7 min read
Understanding Object Creation in Java: How Many Objects Are Created by `String s = new String("xyz")`?
JD Tech
JD Tech
Apr 6, 2023 · Mobile Development

Switchquery: High‑Performance Mobile Configuration Platform with Second‑Level Real‑Time Reach

Switchquery is a high‑performance mobile configuration delivery platform that achieves second‑level real‑time updates through a novel header‑based versioning scheme, eliminating push notifications and long‑lived connections while supporting Android, iOS, and hybrid clients with low cost and high reliability.

BackendConfigurationiOS
0 likes · 17 min read
Switchquery: High‑Performance Mobile Configuration Platform with Second‑Level Real‑Time Reach
Laravel Tech Community
Laravel Tech Community
Apr 5, 2023 · Backend Development

PHP Performance Optimization: String Handling, Statements, Functions, Variables, Arrays and Architecture

This article presents a comprehensive set of PHP performance‑optimization techniques, covering efficient string operations, statement usage, function design, variable handling, array manipulation and architectural choices such as compression, static pages and caching, all illustrated with concrete code examples.

BackendCoding PracticesOptimization
0 likes · 14 min read
PHP Performance Optimization: String Handling, Statements, Functions, Variables, Arrays and Architecture
vivo Internet Technology
vivo Internet Technology
Apr 5, 2023 · Backend Development

Moonbox: An Open‑Source Flow Recording and Replay Platform for Automated Testing

Moonbox is an open‑source, JVM‑Sandbox‑based platform that records and replays traffic to generate automated regression tests, offering visual management, rich plugins, multiple deployment options, high performance and safety features, and aims to simplify testing for developers while fostering community contributions.

BackendReplayautomated testing
0 likes · 11 min read
Moonbox: An Open‑Source Flow Recording and Replay Platform for Automated Testing
HomeTech
HomeTech
Apr 5, 2023 · Backend Development

Design and Implementation of a Real‑Time Cache Update System Based on Kafka and Distributed Cache

This article presents a comprehensive design and implementation of a real‑time cache update system that leverages Kafka‑driven database change streams, a centralized cache scheduling center, executor registration, broadcast and fail‑over scheduling, and a lightweight SDK to achieve millisecond‑level cache consistency for C‑end services.

BackendJavaKafka
0 likes · 10 min read
Design and Implementation of a Real‑Time Cache Update System Based on Kafka and Distributed Cache
Architect
Architect
Apr 4, 2023 · Backend Development

Evolution of Distributed Locks with Redis and Redisson

This article walks through the step‑by‑step evolution of Redis‑based distributed lock implementations—from simple SETNX locking to atomic expiration, UUID‑based ownership, Lua‑scripted safe release, and finally using Redisson’s high‑level lock API—illustrating common pitfalls and robust solutions.

BackendJavaRedis
0 likes · 8 min read
Evolution of Distributed Locks with Redis and Redisson
Java Backend Technology
Java Backend Technology
Apr 4, 2023 · Backend Development

10 Proven Strategies to Supercharge API Performance in Java Backend

Discover a comprehensive set of practical techniques—including batch processing, asynchronous handling, caching, pre‑processing, pooling, parallel execution, indexing, transaction optimization, code refactoring, pagination, and lock granularity—to dramatically reduce API latency and improve backend efficiency, illustrated with Java code examples and diagrams.

Backendperformance-optimization
0 likes · 11 min read
10 Proven Strategies to Supercharge API Performance in Java Backend
Top Architect
Top Architect
Apr 3, 2023 · Backend Development

Enabling Docker Remote Access, Configuring IDEA Docker Plugin, and Deploying a Spring Boot Eureka Server with Maven

This tutorial walks through enabling Docker remote connections on Linux and Windows, installing and configuring the IntelliJ IDEA Docker plugin, adding a docker‑maven‑plugin to a Spring Boot Eureka project, building Docker images, creating containers with port mapping, and setting up one‑click deployment for rapid backend development.

BackendDockerEureka
0 likes · 11 min read
Enabling Docker Remote Access, Configuring IDEA Docker Plugin, and Deploying a Spring Boot Eureka Server with Maven
php Courses
php Courses
Apr 3, 2023 · Backend Development

Reindexing PHP Arrays: Using array_values, array_merge, and Manual Loops

This guide explains how to transform a PHP array with non‑sequential keys into a zero‑based sequential array by using the built‑in array_values function, the array_merge function, and a manual foreach loop, providing code examples and output for each method.

Backendarrayarray merge
0 likes · 3 min read
Reindexing PHP Arrays: Using array_values, array_merge, and Manual Loops
Java Captain
Java Captain
Apr 3, 2023 · Backend Development

Implementing Dynamic Scheduled Tasks in Spring Boot

This guide explains how to create Spring Boot scheduled tasks whose execution intervals can be changed at runtime using configurable cron expressions or periodic triggers, and provides REST endpoints to update the schedule without restarting the application.

BackendJavaSpring Boot
0 likes · 9 min read
Implementing Dynamic Scheduled Tasks in Spring Boot
Architects' Tech Alliance
Architects' Tech Alliance
Apr 2, 2023 · Fundamentals

General Software Architecture Overview and Implementation

This article presents a comprehensive overview of a flexible, layered software architecture—covering gateway, business, and foundation layers—explaining how to evolve from simple startup setups to adaptable structures that support HTTP/TCP handling, service design, component abstraction, and common technical components.

BackendBusiness Layergateway
0 likes · 12 min read
General Software Architecture Overview and Implementation
Top Architect
Top Architect
Apr 2, 2023 · Backend Development

Implementing Request Rate Limiting in Spring Boot with Custom Annotations

This article demonstrates how to create a Spring Boot request‑rate‑limiting solution using a custom @RequestLimit annotation, a Redis‑backed interceptor, and configuration classes, providing step‑by‑step code examples and usage instructions for both class‑level and method‑level protection.

BackendInterceptorJava
0 likes · 9 min read
Implementing Request Rate Limiting in Spring Boot with Custom Annotations
MaGe Linux Operations
MaGe Linux Operations
Mar 31, 2023 · Backend Development

Mastering Rate Limiting: Leaky Bucket, Token Bucket, and Sliding Window in Go

This article explains three core rate‑limiting algorithms—Leaky Bucket, Token Bucket, and Sliding Window—detailing their principles, suitable scenarios, and provides complete Go implementations to help developers choose and integrate the right strategy for handling traffic spikes and protecting backend resources.

Backendalgorithmleaky-bucket
0 likes · 15 min read
Mastering Rate Limiting: Leaky Bucket, Token Bucket, and Sliding Window in Go
php Courses
php Courses
Mar 31, 2023 · Backend Development

Blocking AhrefsBot and Scrapy Crawlers with Nginx in Docker

This article describes how to identify abnormal Nginx requests caused by bots like AhrefsBot and Scrapy, and provides a step‑by‑step Docker‑based solution that includes a custom Nginx configuration, agent‑deny rules, and optional Alibaba Cloud security‑group IP blocking to prevent memory spikes.

BackendDockerNginx
0 likes · 6 min read
Blocking AhrefsBot and Scrapy Crawlers with Nginx in Docker
DataFunSummit
DataFunSummit
Mar 29, 2023 · Backend Development

Analysis of the Redis‑py Bug that Caused a ChatGPT Data Leak

A recent Redis‑py library vulnerability caused ChatGPT to expose personal data of about 1.2% of Plus users, prompting an OpenAI apology, a detailed post‑mortem, and a series of backend and security fixes to prevent similar incidents.

BackendChatGPTDataLeak
0 likes · 5 min read
Analysis of the Redis‑py Bug that Caused a ChatGPT Data Leak
php Courses
php Courses
Mar 29, 2023 · Backend Development

Quick Installation Guide for PHP 8.2 Stack on Ubuntu 20.04 (Focal)

This step‑by‑step tutorial shows how to configure Alibaba mirrors, install PHP 8.2, Nginx, MySQL 8, Redis 6 and Composer on Ubuntu 20.04, adjust PHP‑FPM settings, create a test PHP file, start services, and verify the full LEMP stack works within about 20 minutes.

BackendDevOpsNginx
0 likes · 11 min read
Quick Installation Guide for PHP 8.2 Stack on Ubuntu 20.04 (Focal)
Laravel Tech Community
Laravel Tech Community
Mar 28, 2023 · Backend Development

2023 Spring Salary Trends for Chinese Software Engineers Across Roles

The article analyzes post‑pandemic salary changes in China for various tech positions—including backend (Java, PHP, Python), frontend, network security, mobile, testing, operations, data analysis, algorithm engineering, and architecture—showing modest growth in most areas with notable declines for Python and Android developers.

BackendChinaSecurity
0 likes · 5 min read
2023 Spring Salary Trends for Chinese Software Engineers Across Roles
IT Architects Alliance
IT Architects Alliance
Mar 28, 2023 · Backend Development

Designing Multi‑Level Cache Architecture for Microservices

This article explains how to design an effective multi‑level caching system for microservice environments, covering client‑side static resource caching, application‑layer CDN caching, and service‑layer Redis caching, and provides practical Nginx configuration examples to implement these caches.

BackendCDNNginx
0 likes · 10 min read
Designing Multi‑Level Cache Architecture for Microservices
MaGe Linux Operations
MaGe Linux Operations
Mar 27, 2023 · Backend Development

Mastering Rate Limiting: Concepts, Algorithms, and Real-World Implementations

This article explains the fundamental concepts of rate limiting, including time and resource dimensions, various rule types such as QPS, connection count, bandwidth, black/white lists, and distributed considerations, then details common algorithms like token bucket, leaky bucket, sliding window, and practical implementations using Nginx, Guava, Redis, and Sentinel.

Backenddistributed systemsleaky-bucket
0 likes · 16 min read
Mastering Rate Limiting: Concepts, Algorithms, and Real-World Implementations
Su San Talks Tech
Su San Talks Tech
Mar 26, 2023 · Backend Development

Unlock Real-Time MySQL Data Sync with Alibaba Canal: A Hands‑On Guide

This article introduces Alibaba's open‑source Canal middleware, explains its architecture and high‑availability design, walks through MySQL binlog configuration, Canal setup, and provides a complete Java client example for real‑time data synchronization, cache refresh, and task dispatch scenarios.

BackendBinlogCanal
0 likes · 18 min read
Unlock Real-Time MySQL Data Sync with Alibaba Canal: A Hands‑On Guide
Top Architect
Top Architect
Mar 25, 2023 · Backend Development

Implementing Request Rate Limiting in Spring Boot with Custom Annotation and Redis

This article explains how to limit the number of requests an interface can receive within a specific time window in a Spring Boot application by using a custom @RequestLimit annotation, Redis for counting, and a Spring interceptor to enforce the limits, complete with full code examples and configuration steps.

BackendJavaSpring Boot
0 likes · 10 min read
Implementing Request Rate Limiting in Spring Boot with Custom Annotation and Redis
21CTO
21CTO
Mar 24, 2023 · Backend Development

How to Build a High‑Concurrency Ticket‑Spiking System Like 12306 with Go and Redis

This article dissects the architecture of a 12306‑style ticket‑spiking service, explaining load‑balancing strategies, weighted Nginx routing, local and remote stock deduction using Go and Redis, and demonstrates performance testing that achieves thousands of requests per second while preventing oversell and undersell.

BackendGoRedis
0 likes · 20 min read
How to Build a High‑Concurrency Ticket‑Spiking System Like 12306 with Go and Redis
Top Architect
Top Architect
Mar 24, 2023 · Backend Development

Generating PDFs with Dynamic Tables and Images Using Java iText

This tutorial demonstrates how to generate PDF files in Java with iText by filling form templates, inserting images and charts, creating dynamic tables, handling page breaks, and adding custom page headers, footers, and watermarks for backend applications.

BackendCode TutorialDynamic Table
0 likes · 25 min read
Generating PDFs with Dynamic Tables and Images Using Java iText
Code Ape Tech Column
Code Ape Tech Column
Mar 24, 2023 · Backend Development

Request Collapsing Techniques: Hystrix Collapser, BatchCollapser, and ConcurrentHashMultiset

This article explains how merging similar or duplicate requests upstream using Hystrix Collapser, a custom BatchCollapser implementation, and Guava's ConcurrentHashMultiset can significantly reduce downstream load, improve throughput, and outlines their configurations, usage patterns, and suitable scenarios.

BackendBatchCollapserConcurrentHashMultiset
0 likes · 16 min read
Request Collapsing Techniques: Hystrix Collapser, BatchCollapser, and ConcurrentHashMultiset
JD Cloud Developers
JD Cloud Developers
Mar 23, 2023 · Backend Development

How to Build a Reliable Distributed Delay Queue in Java: Strategies, Pros & Cons

This article examines common delay‑processing scenarios such as payment timeouts and token refreshes, compares several implementation methods—including Java DelayQueue, MQ‑based delay queues, scheduled tasks, Redis ZSETs, and time wheels—highlights their advantages and drawbacks, and presents a concrete architecture and demo code for a robust, retry‑capable distributed delay component.

BackendRetrydelay queue
0 likes · 14 min read
How to Build a Reliable Distributed Delay Queue in Java: Strategies, Pros & Cons
php Courses
php Courses
Mar 23, 2023 · Backend Development

How to Resolve Composer Dependency Errors in Laravel Projects

This guide explains how to fix common Composer dependency errors in a Laravel project by backing up and removing the composer.lock file, reinstalling dependencies, and restoring the lock file, while also showing the typical error messages that may appear.

BackendTroubleshootingdependency
0 likes · 3 min read
How to Resolve Composer Dependency Errors in Laravel Projects