Tagged articles

backend

5000 articles · Page 30 of 50
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 IntegrationRetry MechanismSignature
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.

File DownloadServer configurationbackend
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.

JavaMessage QueueNetty
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.

ConfigurationFile Downloadbackend
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.

AlipayPHP SDKbackend
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.

KafkaMessage QueuePerformance
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.

JavaRedisRedisson
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.

JavaTransactionalbackend
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 designRobustnessSecurity
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.

Redisbackendcircuit breaker
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.

APIJavabackend
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.

JavaMessage Routingbackend
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.

AOPDesign PatternsJava
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.

Bean LifecycleJavabackend
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.

ApplicationEventDebuggingJava
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.

Javabackendframework
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.

MavenSpring Bootbackend
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.

AlgorithmJavabackend
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.

LoggingShell scriptTomcat
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.

Protocol Designbackenddistributed-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.

JavaRedisSpring Boot
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.

APIInterceptorsJava
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.

ArrayCode Examplebackend
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.

APSchedulerAirflowCron
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.

ChatGPTSecuritybackend
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.

Javabackenddistributed systems
0 likes · 12 min read
WebSocket Load Balancing Across Microservices Using a Single Annotation
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 12, 2023 · Backend Development

Understanding Java I/O Models: BIO, NIO, AIO and Their Applications

This article explains the three main Java I/O models—BIO (blocking), NIO (non‑blocking), and AIO (asynchronous)—detailing their characteristics, differences in blocking behavior, core components like Buffer, Channel, and Selector, and shows how they are applied in popular frameworks such as Netty, Mina, and Dubbo.

AsynchronousI/O ModelsJava
0 likes · 9 min read
Understanding Java I/O Models: BIO, NIO, AIO and Their Applications
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.

CAPTCHAMQSystem Architecture
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.

ConfigurationJSFJava
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 standardsDAOService Layer
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.

backenddisaster recoverystorage
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.

InstrumentationJava Agentbackend
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.

GitHubPSR-4Packagist
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.

Code ExampleHTTP Proxybackend
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.

Constructor InjectionJavaLombok
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.

BytecodeConstant 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.

ConfigurationbackendiOS
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.

Coding PracticesMemory ManagementOptimization
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.

Replayautomated testingbackend
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.

CacheJavaKafka
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.

JavaRedisRedisson
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
Code Ape Tech Column
Code Ape Tech Column
Apr 4, 2023 · Backend Development

Understanding and Implementing Java Agent (Premain and Agentmain) for Bytecode Manipulation

This article introduces Java Agent technology, explains the differences between premain and agentmain modes, demonstrates how to build, package, and attach agents using Maven and the Attach API, and shows practical bytecode manipulation techniques with Instrumentation and Javassist, complete with code examples.

AgentBytecodeInstrumentation
0 likes · 20 min read
Understanding and Implementing Java Agent (Premain and Agentmain) for Bytecode Manipulation
Top Architect
Top Architect
Apr 3, 2023 · Backend Development

Integrating WeChat Web Authorization Login with Spring Security (Username + WeChat)

This article demonstrates how to integrate account username and WeChat web‑authorization login into a Spring Security application by configuring custom authentication providers, filters, tokens, and handlers, allowing users to log in without a password while leveraging WeChat OpenID verification.

JavaWeChat Loginauthentication
0 likes · 17 min read
Integrating WeChat Web Authorization Login with Spring Security (Username + WeChat)
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.

DockerEurekaIDEA
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.

ArrayReindexarray 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.

Dynamic SchedulingJavaSpring 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.

Business Layerbackendgateway
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.

InterceptorJavaSpring Boot
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.

AlgorithmSliding Windowbackend
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.

Dockerbackendbot blocking
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.

ChatGPTDataLeakRedis
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.

DevOpsbackendnginx
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.

ChinaSecuritybackend
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.

CDNbackendcaching
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.

CanalDataSyncJava
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.

AnnotationJavaSpring 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.

GoRedisbackend
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.

Code TutorialDynamic TableJava
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.

BatchCollapserConcurrentHashMultisetHystrix
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.

Retrybackenddelay 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.

backenddependencytroubleshooting
0 likes · 3 min read
How to Resolve Composer Dependency Errors in Laravel Projects
Top Architect
Top Architect
Mar 21, 2023 · Backend Development

Understanding @Autowired vs @Resource and Injection Methods in Spring

The article explains common pitfalls of using Spring's @Autowired, compares it with the standard @Resource annotation, and demonstrates various injection techniques—including field, setter, constructor, and Lombok-based constructor injection—through detailed code examples and best‑practice recommendations.

AutowiredJavaLombok
0 likes · 6 min read
Understanding @Autowired vs @Resource and Injection Methods in Spring
政采云技术
政采云技术
Mar 21, 2023 · Information Security

In‑Depth Analysis of Spring Security Authentication Process and Core Components

This article provides a comprehensive walkthrough of Spring Security’s authentication mechanism, detailing the filter chain, core security components, and the underlying source‑code flow—from UsernamePasswordAuthenticationFilter through AuthenticationManager, ProviderManager, and DaoAuthenticationProvider—illustrated with code examples and diagrams.

Filter ChainJavaSecurity
0 likes · 20 min read
In‑Depth Analysis of Spring Security Authentication Process and Core Components
Architect's Guide
Architect's Guide
Mar 19, 2023 · Backend Development

Implementing Unified Functionality in Spring Boot: Authentication, Data Formatting, Exception Handling, and Interceptors

This article demonstrates how to build a unified processing module in Spring Boot by using AOP and HandlerInterceptor to centralize user login validation, standardize response formats, handle exceptions globally with @ControllerAdvice, and configure path prefixes, providing complete code examples and implementation details.

AOPInterceptorSpring Boot
0 likes · 17 min read
Implementing Unified Functionality in Spring Boot: Authentication, Data Formatting, Exception Handling, and Interceptors
Architect
Architect
Mar 18, 2023 · Backend Development

How to Configure JVM Parameters for a Platform Handling 1 Million Daily Login Requests on an 8 GB Server

This article explains a step‑by‑step methodology for estimating capacity, selecting appropriate garbage collectors, sizing JVM memory regions, and tuning advanced parameters such as survivor ratio, tenuring threshold, and Metaspace to reliably support a login service that processes one million requests per day on a machine with 8 GB of RAM.

Garbage CollectionJVMJava
0 likes · 25 min read
How to Configure JVM Parameters for a Platform Handling 1 Million Daily Login Requests on an 8 GB Server
Top Architect
Top Architect
Mar 16, 2023 · Backend Development

Various Ways to Measure Code Execution Time in Java

This article explains several common techniques for measuring Java code execution time, including System.currentTimeMillis(), Spring's StopWatch utility, System.nanoTime(), and the use of new Date(), providing code examples and a brief overview of StopWatch's API for developers seeking precise performance metrics.

JavaPerformanceSystem.nanoTime
0 likes · 5 min read
Various Ways to Measure Code Execution Time in Java
Top Architect
Top Architect
Mar 16, 2023 · Backend Development

Understanding DTO, VO, BO, PO, DO, and POJO in Java Backend Development

This article explains the definitions, differences, and typical usage scenarios of DTO, VO, BO, PO, DO, and POJO in Java backend development, provides code examples for each layer, and introduces an IDEA plugin that automates object conversion to improve code maintainability.

BODTOJava
0 likes · 7 min read
Understanding DTO, VO, BO, PO, DO, and POJO in Java Backend Development
Programmer DD
Programmer DD
Mar 16, 2023 · Backend Development

Mastering Rate Limiting with Redis: 3 Practical Implementations

This article explains three Redis‑based rate‑limiting techniques—using SETNX, sorted sets, and a token‑bucket with lists—providing code examples, discussing their advantages and drawbacks, and showing how to integrate them into Java Spring applications to protect high‑concurrency services.

JavaRedisSliding Window
0 likes · 7 min read
Mastering Rate Limiting with Redis: 3 Practical Implementations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 15, 2023 · Backend Development

Mastering Spring Boot RestTemplate and WebClient: Configuration and Customization

Learn how Spring Boot 2.6.14 simplifies calling remote REST services using RestTemplate and WebClient, including automatic configuration with RestTemplateBuilder, customization options via RestTemplateCustomizer and WebClient.Builder, and detailed code examples for building, customizing, and selecting appropriate HTTP connectors.

JavaSpring BootWebClient
0 likes · 9 min read
Mastering Spring Boot RestTemplate and WebClient: Configuration and Customization
Top Architect
Top Architect
Mar 14, 2023 · Backend Development

Understanding Caching in Spring: Local vs Distributed Cache and GuavaCacheManager

This article explains the concept and purpose of caching, compares local and centralized cache approaches, introduces Spring's cache support and various CacheManager implementations, details GuavaCacheManager configuration and expiration strategies, demonstrates @Cacheable usage, and discusses common pitfalls such as cache miss due to internal method calls.

CacheJavabackend
0 likes · 8 min read
Understanding Caching in Spring: Local vs Distributed Cache and GuavaCacheManager
Architect's Guide
Architect's Guide
Mar 12, 2023 · Backend Development

Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche

This article explains the concepts of cache penetration, cache breakdown (stampede), and cache avalanche in Redis, and provides practical solutions such as parameter validation, null‑value caching, Bloom filters, mutex locks, hot‑data non‑expiration, and randomizing expiration times, accompanied by Java code examples.

CacheCache BreakdownJava
0 likes · 9 min read
Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche
Top Architect
Top Architect
Mar 11, 2023 · Backend Development

Using cpolar for Intranet Penetration to Debug SpringBoot APIs

This tutorial explains how to set up a Java SpringBoot service, install and configure the cpolar intranet‑penetration tool, create HTTP tunnels for local ports, test the public endpoints with Postman, reserve a fixed sub‑domain, and use cpolar's listener for request debugging.

API DebuggingJavaSpringBoot
0 likes · 7 min read
Using cpolar for Intranet Penetration to Debug SpringBoot APIs
IT Services Circle
IT Services Circle
Mar 9, 2023 · Backend Development

Interview Experience and Preparation Guide for Backend Engineer Positions at ByteDance, MiHoYo, Futu, and Yuanfudao

The author shares a detailed recap of interview preparation, processes, technical questions, and personal reflections from recent backend engineering interviews at several top Chinese tech companies, highlighting the importance of solid fundamentals, Go knowledge, and systematic study resources.

Interviewbackendcareer
0 likes · 19 min read
Interview Experience and Preparation Guide for Backend Engineer Positions at ByteDance, MiHoYo, Futu, and Yuanfudao