Tagged articles

Backend

5000 articles · Page 41 of 50
政采云技术
政采云技术
Oct 12, 2021 · Backend Development

Sliding Window Algorithm in Sentinel: Theory, Implementation, and Code Walkthrough

This article explains the sliding‑window rate‑limiting technique used by Sentinel, presents a classic sliding‑window coding interview problem with a full Java solution, and then dives into Sentinel's internal classes such as WindowWrap, LeapArray, and MetricBucket to show how windows are created, updated, and slid over time.

BackendJavasliding window
0 likes · 16 min read
Sliding Window Algorithm in Sentinel: Theory, Implementation, and Code Walkthrough
Selected Java Interview Questions
Selected Java Interview Questions
Oct 12, 2021 · Backend Development

Implementing MyBatis Streaming Queries with Cursor and Keeping Database Connections Open

The article explains the concept of streaming queries in MyBatis, introduces the Cursor interface, demonstrates how to use it in Spring MVC controllers, and provides three practical solutions—SqlSessionFactory, TransactionTemplate, and @Transactional—to keep the database connection open during iteration.

BackendCursorJava
0 likes · 7 min read
Implementing MyBatis Streaming Queries with Cursor and Keeping Database Connections Open
Programmer DD
Programmer DD
Oct 11, 2021 · Backend Development

Build a Real-Time Video Bullet Chat with Netty and WebSocket

This article walks through creating a real‑time video bullet‑chat system using Netty as the backend server and WebSocket for bidirectional communication, covering technology selection, architecture design, data flow, and detailed Java and HTML/JavaScript code to implement the interactive feature.

BackendBulletChatJava
0 likes · 13 min read
Build a Real-Time Video Bullet Chat with Netty and WebSocket
Top Architect
Top Architect
Oct 9, 2021 · Backend Development

Comparison of Distributed Scheduled Task Frameworks: Elastic-Job, Xxl-Job, and Others

This article analyzes common business scenarios requiring timed tasks, compares single‑machine and distributed scheduling solutions such as Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, Elastic‑Job, Saturn, and Xxl‑Job, and provides a detailed feature and capability comparison to help choose the appropriate framework.

BackendElastic-JobXXL-JOB
0 likes · 13 min read
Comparison of Distributed Scheduled Task Frameworks: Elastic-Job, Xxl-Job, and Others
Code Ape Tech Column
Code Ape Tech Column
Oct 9, 2021 · Backend Development

Common Scenarios Where Spring Transactions Fail and How to Fix Them

This article explains why Spring @Transactional may become ineffective or fail to roll back in various situations—such as wrong method visibility, final modifiers, internal calls, missing Spring bean registration, multithreading, unsupported table engines, misconfigured propagation, swallowed exceptions, and improper rollback settings—while also offering practical solutions and best‑practice recommendations.

@TransactionalAOPBackend
0 likes · 19 min read
Common Scenarios Where Spring Transactions Fail and How to Fix Them
FunTester
FunTester
Oct 8, 2021 · Backend Development

Building a Custom Go HTTP Client Wrapper for API Testing

This article walks through creating a reusable Go HTTP client wrapper, demonstrates its use in a test script, shows console output, and integrates a mock server with Moco to enable quick API testing while applying a learning‑by‑doing approach.

APIBackendClient
0 likes · 9 min read
Building a Custom Go HTTP Client Wrapper for API Testing
Architect's Tech Stack
Architect's Tech Stack
Oct 8, 2021 · Backend Development

SpringBoot Core Features, Pros & Cons, CLI, Maven Build, and Common Annotations

This article introduces SpringBoot's core capabilities such as independent jar execution, embedded servlet containers, starter dependencies, auto‑configuration, production‑grade monitoring, and annotation‑driven development, while also outlining its advantages, disadvantages, CLI tool, Maven setup, and frequently used annotations.

BackendMicroservices
0 likes · 6 min read
SpringBoot Core Features, Pros & Cons, CLI, Maven Build, and Common Annotations
Alibaba Terminal Technology
Alibaba Terminal Technology
Oct 8, 2021 · Backend Development

Which Node.js Core Utilities Should You Upgrade? A Hands‑On Comparison

This article reviews a series of common Node.js utilities—type checking, async sleep, file handling, streams, HTTP requests, assertions, code coverage, debugging, deprecation warnings, source‑maps, child processes, and CLI testing—comparing community packages with built‑in APIs, rating their replaceability, and offering practical migration advice for modern Node.js development.

BackendJavaScriptNode.js
0 likes · 21 min read
Which Node.js Core Utilities Should You Upgrade? A Hands‑On Comparison
Programmer DD
Programmer DD
Oct 8, 2021 · Frontend Development

Why Front‑End/Back‑End Separation Matters: Practical API Guidelines for Modern Web Apps

This article explains the evolution from MVC to SPA, highlights the pain points of tightly coupled front‑end and back‑end development, and provides concrete responsibility separation, development processes, and a detailed API specification to enable efficient, loosely‑coupled collaboration in modern web projects.

API DesignBackendSPA
0 likes · 14 min read
Why Front‑End/Back‑End Separation Matters: Practical API Guidelines for Modern Web Apps
FunTester
FunTester
Oct 7, 2021 · Fundamentals

Master Groovy Basics: From Setup to JSON and HTTP in Minutes

This guide walks Java developers through installing Groovy, using its .groovy files, manipulating lists, maps, conditionals, loops, and leveraging built‑in JsonBuilder and HTTPBuilder for JSON handling and HTTP requests, all with clear code examples.

BackendGroovyHTTP
0 likes · 9 min read
Master Groovy Basics: From Setup to JSON and HTTP in Minutes
Top Architect
Top Architect
Oct 7, 2021 · Backend Development

Implementation of Image and SMS Captcha Service in .NET Core

This article walks through the design and implementation of a complete captcha solution—including image and SMS verification—using .NET Core, covering background context, code details for generating graphics, unsafe handling, noise lines, caching strategies, rate limiting, validation logic, runtime results, and a link to the full source repository.

BackendCAPTCHAdotnet
0 likes · 14 min read
Implementation of Image and SMS Captcha Service in .NET Core
Architecture Digest
Architecture Digest
Oct 7, 2021 · Backend Development

Designing Open Platform APIs: Application Registration, OAuth2 Authorization, Request Parameters, and Signature Verification

This article outlines a practical approach to designing open‑platform APIs, covering service‑provider application registration, usability, security, OAuth2‑based authorization, systematic and business request parameters, signature generation, verification, and best‑practice code examples.

API DesignBackendOAuth2
0 likes · 9 min read
Designing Open Platform APIs: Application Registration, OAuth2 Authorization, Request Parameters, and Signature Verification
21CTO
21CTO
Oct 6, 2021 · Databases

Master MySQL 8.0 JSON Functions: Practical Tips and Code Samples

This article introduces MySQL 8.0's enhanced JSON capabilities, covering key constraints, storage functions, GeoJSON support, indexing, in‑place updates, essential JSON utilities, path expressions, extraction, modification techniques, and the powerful JSON_TABLE feature with clear code examples.

BackendData TypesJSON
0 likes · 7 min read
Master MySQL 8.0 JSON Functions: Practical Tips and Code Samples
Senior Brother's Insights
Senior Brother's Insights
Oct 5, 2021 · Fundamentals

How to Resolve Java Jar Conflicts by Adjusting Classloader Order

This article explains why manual jar management can cause class loading conflicts, shows quick IDE-based steps to reorder jars for a temporary fix, and dives into JVM classloader isolation, the parent‑delegation mechanism, and Tomcat's startup loading order to help developers debug and prevent such issues.

BackendClassLoaderJVM
0 likes · 12 min read
How to Resolve Java Jar Conflicts by Adjusting Classloader Order
Code Ape Tech Column
Code Ape Tech Column
Oct 4, 2021 · Backend Development

Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async

This article explains the difference between synchronous and asynchronous method calls in Java, demonstrates how to implement synchronous tasks, then shows how to convert them to asynchronous execution using Spring Boot's @Async annotation, @EnableAsync configuration, and Future-based callbacks to measure total execution time.

@AsyncBackendFuture
0 likes · 8 min read
Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async
MaGe Linux Operations
MaGe Linux Operations
Oct 3, 2021 · Backend Development

Why a Missing '/' in Nginx proxy_pass Can Break Your Site

This article explains how Nginx location matching works, why the presence or absence of a trailing slash in both location blocks and proxy_pass directives changes request routing, and provides concrete configuration examples to avoid common pitfalls.

BackendConfigurationNginx
0 likes · 6 min read
Why a Missing '/' in Nginx proxy_pass Can Break Your Site
IT Architects Alliance
IT Architects Alliance
Oct 1, 2021 · Fundamentals

Curated List of Must‑Read Technical Books for Various Software Development Domains

This article presents a comprehensive, categorized collection of essential technical books covering frontend development, backend engineering, mobile app creation, server architecture, testing practices, multimedia processing, computer vision, data mining, recommendation systems, and 3D/AR technologies, offering readers valuable resources for deepening their expertise across the software development spectrum.

BackendBooksData Science
0 likes · 9 min read
Curated List of Must‑Read Technical Books for Various Software Development Domains
Architecture Digest
Architecture Digest
Oct 1, 2021 · Backend Development

Refactoring a Legacy Supply‑Chain System with DDD, Hexagonal Architecture, and EventStore

The article details how a legacy e‑commerce supply‑chain system plagued by unclear boundaries, inventory inaccuracies, and tangled dependencies was redesigned using domain‑driven design, hexagonal architecture, CQRS, and an EventStore solution, resulting in accurate inventory, easier extensions, and a reusable event‑driven component.

ArchitectureBackendDDD
0 likes · 10 min read
Refactoring a Legacy Supply‑Chain System with DDD, Hexagonal Architecture, and EventStore
Top Architect
Top Architect
Sep 30, 2021 · Backend Development

Rate Limiting in Spring Cloud Gateway: Scenarios, Algorithms, Open‑Source Tools, and Practical Implementations

This article comprehensively explains rate‑limiting concepts for Spring Cloud Gateway, covering common throttling scenarios, major algorithms such as Fixed Window, Sliding Window, Leaky Bucket and Token Bucket, reviews popular open‑source libraries, and demonstrates both single‑node and distributed implementations with detailed code examples.

AlgorithmsBackendSpring Cloud Gateway
0 likes · 41 min read
Rate Limiting in Spring Cloud Gateway: Scenarios, Algorithms, Open‑Source Tools, and Practical Implementations
High Availability Architecture
High Availability Architecture
Sep 28, 2021 · Backend Development

Elegant Design and Implementation of Operation Logging Using AOP and Dynamic Templates

This article explains the differences between system and operation logs, explores various implementation methods such as Canal, file logging, LogUtil, and method annotations, and demonstrates how to achieve clean, dynamic, and decoupled operation logging in Java Spring applications using AOP, SpEL, custom functions, and a well‑structured logging context.

AOPBackendJava
0 likes · 25 min read
Elegant Design and Implementation of Operation Logging Using AOP and Dynamic Templates
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 27, 2021 · Backend Development

Implementing Batch Insert with MyBatis-Plus in Java

This article explains how to improve database insertion performance in Java by replacing per‑iteration inserts with MyBatis‑Plus’s saveBatch method, detailing dependency setup, schema creation, entity, controller, service, and mapper code for efficient bulk operations.

BackendBatch InsertJava
0 likes · 8 min read
Implementing Batch Insert with MyBatis-Plus in Java
21CTO
21CTO
Sep 26, 2021 · Backend Development

How Baidu’s Hulk Framework Accelerates Go Service Development

The Hulk framework, built on GDP2, provides a business‑oriented Go web development platform with out‑of‑the‑box components, standardized architecture, rich observability, and tooling that together improve code quality, development speed, and SRE efficiency for large‑scale short‑video services.

BackendGoframework
0 likes · 18 min read
How Baidu’s Hulk Framework Accelerates Go Service Development
php Courses
php Courses
Sep 26, 2021 · Backend Development

Implementation Guide for Student QR Code Seat Selection Feature in PHP

This article explains how to implement a student QR‑code seat‑selection feature using PHP, detailing database schema design, URL parsing, seat‑allocation logic, attendance tracking, and daily cleanup tasks, enabling teachers to monitor seating without login while automatically recording student attendance.

BackendPHPQR code
0 likes · 9 min read
Implementation Guide for Student QR Code Seat Selection Feature in PHP
Code Ape Tech Column
Code Ape Tech Column
Sep 25, 2021 · Backend Development

Understanding Java 8 CompletionStage and CompletableFuture with Practical Examples

This article explains Java 8's CompletionStage API and its standard library implementation CompletableFuture, demonstrating its behavior through a series of concise examples that cover creation, chaining, asynchronous execution, custom executors, exception handling, cancellation, and composition of multiple stages.

BackendCompletableFutureCompletionStage
0 likes · 18 min read
Understanding Java 8 CompletionStage and CompletableFuture with Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Sep 24, 2021 · Backend Development

Python Fundamentals, Concurrency, and Django Backend Development Essentials

This article provides a comprehensive overview of core Python concepts—including garbage collection, tuple versus list differences, process/thread/coroutine models, shallow and deep copying, the Global Interpreter Lock, sorting algorithms, closures, decorators, iterators, generators, and essential Django backend components such as WSGI, request lifecycle, middleware, ORM methods, caching, and REST framework.

BackendORMPython
0 likes · 18 min read
Python Fundamentals, Concurrency, and Django Backend Development Essentials
Java Architect Essentials
Java Architect Essentials
Sep 23, 2021 · Backend Development

MyBatis Dynamic SQL: Using if, choose, foreach, trim, and bind Tags with Practical Code Samples

This article demonstrates how MyBatis dynamic SQL simplifies conditional query building by explaining the usage of if, choose, foreach, trim, and bind tags, providing Maven project setup, table creation scripts, mapper interfaces, XML snippets, and unit test examples for SELECT, UPDATE, INSERT, and batch operations.

BackendDynamic SQLJava
0 likes · 19 min read
MyBatis Dynamic SQL: Using if, choose, foreach, trim, and bind Tags with Practical Code Samples
Top Architect
Top Architect
Sep 23, 2021 · Backend Development

Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations

This article explains the fundamentals of distributed transactions, illustrates classic solutions such as two‑phase commit (XA), SAGA, TCC, local message tables, transactional messaging, and maximum‑effort notifications, and introduces a sub‑transaction barrier technique to handle network anomalies in microservice architectures.

BackendDistributed TransactionsSAGA
0 likes · 19 min read
Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations
转转QA
转转QA
Sep 23, 2021 · Backend Development

Optimizing the Code Diff System: From JGit to GitLab API and Diff Compensation

This article analyzes performance and concurrency problems in a code‑diff service, compares the original JGit‑based approach with a GitLab‑API solution, addresses new accuracy issues, and presents a compensation strategy using java‑diff‑utils to achieve stable, efficient backend diff processing.

BackendJGitJava
0 likes · 5 min read
Optimizing the Code Diff System: From JGit to GitLab API and Diff Compensation
Laravel Tech Community
Laravel Tech Community
Sep 22, 2021 · Backend Development

Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

The article explains why session sharing is critical in micro‑service and distributed deployments and presents four backend solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based centralized session storage, and cookie‑based sessions—detailing their implementations, advantages, and drawbacks.

BackendNginxRedis
0 likes · 5 min read
Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
vivo Internet Technology
vivo Internet Technology
Sep 22, 2021 · Backend Development

Pricing Capability Matrix and Monitoring for Vivo Online Mall

The Vivo online mall introduces a multi‑dimensional pricing capability matrix and floor‑price monitoring system that flags or blocks orders when combined promotions push SKU prices below predefined thresholds, providing pre‑event configuration checks, real‑time alerts during sales, and post‑event analysis to prevent loss and price‑hunting incidents.

Backendalert systeme-commerce
0 likes · 11 min read
Pricing Capability Matrix and Monitoring for Vivo Online Mall
Airbnb Technology Team
Airbnb Technology Team
Sep 22, 2021 · Backend Development

Design and Implementation of Himeji: A Zanzibar‑Based Centralized Authorization System at Airbnb

Airbnb replaced duplicated, latency‑prone authorization checks in its new service‑oriented architecture by moving them into data services and building Himeji, a Zanzibar‑inspired centralized permission store that uses triple‑based policies, configurable unions, sharded caching, and Aurora backing to deliver sub‑10 ms latency for millions of checks per second with 99.999 % availability.

AuthorizationBackendZanzibar
0 likes · 12 min read
Design and Implementation of Himeji: A Zanzibar‑Based Centralized Authorization System at Airbnb
ByteDance Web Infra
ByteDance Web Infra
Sep 16, 2021 · Backend Development

Deep Dive into Node.js Architecture and Core Module Implementation

This article provides a comprehensive overview of Node.js’s architecture, including its composition, code structure, startup process, event loop phases, process and thread management, core modules such as Cluster, libuv thread pool, signal handling, file operations, and networking protocols, illustrating how the runtime integrates V8 and operating‑system features.

BackendNode.jsevent loop
0 likes · 29 min read
Deep Dive into Node.js Architecture and Core Module Implementation
Top Architect
Top Architect
Sep 16, 2021 · Backend Development

Understanding Distributed Transaction Protocols: XA, 2PC, 3PC, TCC, Saga, and Reliable Message Consistency

This article explains the principles, advantages, and drawbacks of various distributed transaction solutions—including XA two‑phase commit, three‑phase commit, TCC, Saga, and message‑based eventual consistency—while showing how they are implemented in Java/Spring environments and when each should be used.

3PCBackendDistributed Transactions
0 likes · 16 min read
Understanding Distributed Transaction Protocols: XA, 2PC, 3PC, TCC, Saga, and Reliable Message Consistency
Java Architecture Diary
Java Architecture Diary
Sep 14, 2021 · Backend Development

How to Compile Nacos with Oracle Support and Run It in Standalone Mode

Learn how to extend Nacos’s configuration persistence beyond Derby and MySQL by cloning the feature_multiple_datasource_support branch, compiling the source with Maven, configuring Oracle as a datasource in application.properties, and launching Nacos in standalone mode, with step‑by‑step commands and essential scripts.

BackendConfigurationNacos
0 likes · 3 min read
How to Compile Nacos with Oracle Support and Run It in Standalone Mode
Top Architect
Top Architect
Sep 13, 2021 · Backend Development

Comprehensive Backend Technology Stack Guide for Startup Companies

This article presents a detailed guide on building a startup backend architecture, covering language choices, core components, development processes, system tooling, and practical selections for project management, DNS, load balancing, CDN, RPC frameworks, databases, messaging, logging, monitoring, configuration, deployment, and security.

Backendcloudstartup
0 likes · 28 min read
Comprehensive Backend Technology Stack Guide for Startup Companies
Wukong Talks Architecture
Wukong Talks Architecture
Sep 12, 2021 · Backend Development

Ensuring Consistency Between Cache and Database: Patterns and Strategies

This article explains the fundamentals of data consistency in distributed systems, compares strong, weak, and eventual consistency, describes three classic cache patterns (Cache‑Aside, Read‑Through/Write‑Through, Write‑Behind), and presents practical techniques such as delayed double delete, retry mechanisms, and binlog‑based asynchronous deletion to keep Redis caches and MySQL databases in sync.

BackendRediscache patterns
0 likes · 10 min read
Ensuring Consistency Between Cache and Database: Patterns and Strategies
Node Underground
Node Underground
Sep 10, 2021 · Backend Development

Master Distributed Task Scheduling with MidwayJS Task Component

This guide explains how to install, configure, and use the @midwayjs/task module for distributed and delayed task scheduling in Midway, covering Redis setup, code examples for cron jobs, local tasks, manual triggers, progress tracking, logging, and troubleshooting.

BackendBullMidwayJS
0 likes · 8 min read
Master Distributed Task Scheduling with MidwayJS Task Component
Sohu Tech Products
Sohu Tech Products
Sep 8, 2021 · Backend Development

Why Client‑Side Caching Is Needed and How Redis Tracking Works

This article explains the motivation for client‑side caching, what data should be cached, and details the Redis tracking feature—including normal, broadcast, and redirect modes—while providing implementation examples and best‑practice guidelines for reducing latency and load on Redis servers.

BackendCache invalidationClient Side Caching
0 likes · 9 min read
Why Client‑Side Caching Is Needed and How Redis Tracking Works
Python Programming Learning Circle
Python Programming Learning Circle
Sep 8, 2021 · Fundamentals

How to Avoid Circular Imports in Python Code

This article explains why circular imports occur in Python, demonstrates the resulting ImportError with example modules, and provides three practical solutions—including importing modules directly, using lazy imports, and redesigning code structure—to prevent such issues.

BackendCircular ImportPython
0 likes · 4 min read
How to Avoid Circular Imports in Python Code
Architecture Digest
Architecture Digest
Sep 7, 2021 · Backend Development

Design and Implementation of a High‑Performance Python Microservice Framework Based on Sanic

This article introduces a high‑performance Python microservice framework built on Sanic, detailing its architecture, asynchronous design principles, integration of uvloop, asyncpg, aiohttp, Peewee ORM, OpenTracing, Swagger API documentation, middleware, testing, and deployment considerations for scalable backend services.

BackendMicroservicesPython
0 likes · 15 min read
Design and Implementation of a High‑Performance Python Microservice Framework Based on Sanic
Senior Brother's Insights
Senior Brother's Insights
Sep 5, 2021 · Backend Development

How Nacos Leverages UDP for Real‑Time Service Instance Push

This article dissects Nacos 2.0's UDP‑based service‑instance change notification, explaining client‑side listening, UDP port registration, server‑side storage, push logic, acknowledgment handling, and current design limitations, all backed by concrete Java code snippets.

BackendJavaMicroservices
0 likes · 16 min read
How Nacos Leverages UDP for Real‑Time Service Instance Push
Architects Research Society
Architects Research Society
Sep 5, 2021 · Fundamentals

An Introduction to Domain-Driven Design (DDD) Patterns and Practices

This article explains the core concepts, patterns, and architectural styles of Domain-Driven Design, covering model‑driven design, bounded contexts, layered and hexagonal architectures, building blocks such as entities, value objects, aggregates, repositories, factories, and services, with practical examples and diagrams.

ArchitectureBackendDDD
0 likes · 28 min read
An Introduction to Domain-Driven Design (DDD) Patterns and Practices
Liangxu Linux
Liangxu Linux
Sep 4, 2021 · Backend Development

Mastering Nginx: Minimal Config, root, location, and try_files Explained

This guide walks through building a minimal Nginx server, explains the root, location, and try_files directives with syntax, modifiers, matching priority, and practical code examples, and highlights common pitfalls such as using try_files in the wrong context.

BackendConfigurationNginx
0 likes · 6 min read
Mastering Nginx: Minimal Config, root, location, and try_files Explained
Su San Talks Tech
Su San Talks Tech
Sep 4, 2021 · Backend Development

Why Spring Transactions Fail: 7 Common Pitfalls and How to Fix Them

This article explores why Spring transactions may fail, covering seven common pitfalls such as incorrect method visibility, final methods, internal calls, missing Spring management, multithreading, unsupported table engines, and misconfigured propagation, and provides practical solutions to ensure reliable transaction handling.

@TransactionalAOPBackend
0 likes · 19 min read
Why Spring Transactions Fail: 7 Common Pitfalls and How to Fix Them
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 3, 2021 · Operations

Optimizing Gray Release for iQIYI Mobile Backend Using Dogfooding

iQIYI’s mobile backend employs dogfooding‑driven gray releases with cloud‑controlled traffic, gray‑tag propagation, comprehensive front‑end and back‑end metrics, device white‑lists, and downstream service integration, allowing internal users to quickly verify code and configuration changes and catch issues before full production rollout.

BackendConfigurationGray Release
0 likes · 9 min read
Optimizing Gray Release for iQIYI Mobile Backend Using Dogfooding
Programmer DD
Programmer DD
Sep 3, 2021 · Backend Development

How to Set Default Values in Elasticsearch: Pipelines, Scripts, and Workarounds

This article explains three practical methods for assigning default values in Elasticsearch—using ingest pipelines, update‑by‑query scripts, and pipeline scripts—while also addressing how to maintain create_time and update_time fields in a way similar to relational databases.

BackendDefault ValuesElasticsearch
0 likes · 6 min read
How to Set Default Values in Elasticsearch: Pipelines, Scripts, and Workarounds
Java Architect Essentials
Java Architect Essentials
Sep 2, 2021 · Backend Development

Understanding Java Method References, Optional, and Static Factory Methods

This article explains Java's method reference syntax, including static, instance, and constructor references, demonstrates their use with functional interfaces, introduces the Optional class for handling nullable values, and shows how static factory methods like of() can replace constructors, providing practical code examples throughout.

BackendFunctionalInterfaceJava
0 likes · 8 min read
Understanding Java Method References, Optional, and Static Factory Methods
Java Architecture Diary
Java Architecture Diary
Sep 2, 2021 · Backend Development

Master MyBatis‑Mate: Dictionary Binding, Encryption, Sharding & Data Scope Explained

This guide introduces MyBatis‑Mate’s core capabilities—including dictionary binding, field encryption, data masking, automatic DDL maintenance, dynamic sharding, and data‑scope permissions—while providing Maven dependencies and complete Java code examples for integrating these features into Spring Boot applications.

BackendData PermissionJava
0 likes · 8 min read
Master MyBatis‑Mate: Dictionary Binding, Encryption, Sharding & Data Scope Explained
Laravel Tech Community
Laravel Tech Community
Sep 2, 2021 · Backend Development

PHP imageloadfont Function: Loading Custom Bitmap Fonts

The article explains PHP's imageloadfont function, which loads a user‑defined bitmap font and returns its identifier, details its string parameter, return values (font ID or FALSE), notes platform‑specific binary format requirements, and provides a complete code example demonstrating image creation, font loading, text rendering, and output as PNG.

BackendPHPbitmap font
0 likes · 2 min read
PHP imageloadfont Function: Loading Custom Bitmap Fonts
Liangxu Linux
Liangxu Linux
Sep 1, 2021 · Operations

What Is Load Balancing and How Does It Power High‑Traffic Websites?

This article explains the fundamentals of load balancing, why a single entry point is needed for multi‑server deployments, how different network layers (L2‑L7) implement balancing, and the practical trade‑offs of hardware versus software solutions such as Nginx, HAProxy, and LVS.

BackendHAProxyLVS
0 likes · 9 min read
What Is Load Balancing and How Does It Power High‑Traffic Websites?
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Sep 1, 2021 · Backend Development

From Cookies to JWT: Mastering Web Session and SSO Strategies

This article explains the evolution from basic web cookies to session management, explores domain sharing, details cookie‑session architecture, introduces single sign‑on methods, and compares the traditional session approach with JWT token authentication, highlighting their advantages, limitations, and implementation considerations.

BackendJWTSSO
0 likes · 16 min read
From Cookies to JWT: Mastering Web Session and SSO Strategies
MaGe Linux Operations
MaGe Linux Operations
Sep 1, 2021 · Backend Development

Master Go Enums with const and iota: A Practical Guide

This article explains how Go implements enumeration using const and the iota counter, provides step‑by‑step code examples, demonstrates alternative type‑based enum patterns, and shows how to add a String method for readable output, helping developers write clean, maintainable constant definitions.

BackendEnumconstants
0 likes · 5 min read
Master Go Enums with const and iota: A Practical Guide
Tencent Cloud Developer
Tencent Cloud Developer
Sep 1, 2021 · Cloud Native

Tencent Docs Leveraging Serverless Architecture for Scalability and Efficiency

Tencent Docs was completely rebuilt on a modular, serverless architecture that integrates micro‑services such as SSR, OCR and plugin back‑ends, enabling automatic scaling for traffic spikes, versioned gray releases, pay‑per‑use cost savings, and faster development cycles for its tens‑of‑millions‑user base.

BackendCloud FunctionsMicroservices
0 likes · 10 min read
Tencent Docs Leveraging Serverless Architecture for Scalability and Efficiency
Top Architect
Top Architect
Sep 1, 2021 · Backend Development

Design and Architecture of a Payment Operation Platform

This article explains the purpose, evolution, business logic, design principles, system architecture, permission model, and technical implementation of a payment operation platform that serves internal staff such as developers, testers, product managers, finance, and customer service within a payment company.

BackendRBACSystem Design
0 likes · 8 min read
Design and Architecture of a Payment Operation Platform
Top Architect
Top Architect
Sep 1, 2021 · Backend Development

Rate Limiting Strategies, Algorithms, and Implementations in Backend Systems

This article explains the concepts, strategies, and algorithms of rate limiting—including circuit breaking, service degradation, leaky‑bucket and token‑bucket methods—and provides practical Java, Guava, and Nginx + Lua implementations for controlling concurrency and protecting backend services.

BackendGuavaalgorithm
0 likes · 13 min read
Rate Limiting Strategies, Algorithms, and Implementations in Backend Systems
High Availability Architecture
High Availability Architecture
Aug 30, 2021 · Backend Development

Hulk: A Go‑Based Web Service Framework for Short‑Video Backend Development

The article introduces Hulk, a Go service development framework created by the short‑video R&D team to replace PHP monoliths, outlines its background, design principles, component hierarchy, comparison with GDP2, and demonstrates how its built‑in monitoring, configuration, and tooling improve code quality, development speed, and SRE efficiency across Baidu’s short‑video services.

BackendDevOpsMicroservices
0 likes · 17 min read
Hulk: A Go‑Based Web Service Framework for Short‑Video Backend Development
Liangxu Linux
Liangxu Linux
Aug 29, 2021 · Operations

Boosting a Python Service to 50k QPS: My Step‑by‑Step Performance Tuning

Through a detailed case study, the author documents the process of optimizing a Python‑based web module—identifying bottlenecks, redesigning architecture with Redis queues, tuning MySQL, adjusting Linux TCP settings, and iteratively load‑testing until achieving 50,000 QPS with sub‑70 ms latency and zero errors.

BackendOperationsOptimization
0 likes · 9 min read
Boosting a Python Service to 50k QPS: My Step‑by‑Step Performance Tuning
MaGe Linux Operations
MaGe Linux Operations
Aug 29, 2021 · Backend Development

How Python’s singledispatch Simplifies Custom JSON Serialization

This article explores Python’s underused singledispatch feature from PEP 443 as a clean, extensible way to serialize arbitrary objects to JSON, comparing it with traditional json module approaches and showing how it avoids cumbersome if‑elif‑else logic while keeping classes untouched.

BackendPythonfunctools
0 likes · 6 min read
How Python’s singledispatch Simplifies Custom JSON Serialization
Laravel Tech Community
Laravel Tech Community
Aug 28, 2021 · Backend Development

PHP imagegif() Function: Output GIF Image to Browser or File

The article explains PHP's imagegif() function, detailing its parameters, return values, and providing a complete example that creates a true‑color image, adds text, sets the appropriate header, outputs the GIF directly to the browser, and cleans up the resource.

BackendGD libraryGIF
0 likes · 2 min read
PHP imagegif() Function: Output GIF Image to Browser or File
Dada Group Technology
Dada Group Technology
Aug 27, 2021 · Backend Development

Evolution of JD Daojia Product System Architecture: From Simple 1.0 Design to Domain‑Driven 3.0

This article details the step‑by‑step architectural evolution of JD Daojia's product system—from the initial 1.0 monolithic design, through 2.0 high‑availability and performance enhancements, to the 3.0 domain‑driven microservice architecture—highlighting the motivations, technical solutions, and future outlook.

BackendDomain-Driven DesignMicroservices
0 likes · 17 min read
Evolution of JD Daojia Product System Architecture: From Simple 1.0 Design to Domain‑Driven 3.0
IT Architects Alliance
IT Architects Alliance
Aug 26, 2021 · Backend Development

Resource Isolation: Thread, Process, Cluster, and Other Strategies in Distributed Systems

This article explains why resource isolation is essential in distributed architectures and details various isolation techniques—including thread, process, cluster, data‑read/write, static, and crawler isolation—illustrated with Netty, Dubbo, and Tomcat examples, code snippets, and practical recommendations.

BackendThread Isolationdistributed systems
0 likes · 14 min read
Resource Isolation: Thread, Process, Cluster, and Other Strategies in Distributed Systems
Laravel Tech Community
Laravel Tech Community
Aug 26, 2021 · Backend Development

PHP imagefilledpolygon Function: Drawing and Filling Polygons

This article explains the PHP imagefilledpolygon function, detailing its parameters, return values, and providing a complete example that creates an image, allocates colors, defines polygon points, draws a filled polygon, outputs the PNG, and cleans up the resources.

BackendGraphicsImage
0 likes · 3 min read
PHP imagefilledpolygon Function: Drawing and Filling Polygons
Architecture Digest
Architecture Digest
Aug 26, 2021 · Backend Development

Injecting Beans with Annotations in Spring

This article explains how to use Spring annotations such as @Component, @Configuration, @Bean, @Autowired, and @Qualifier to inject beans via XML replacement, constructor injection, setter injection, property injection, List and Map injection, providing code examples and detailed explanations for each method.

BackendDependency InjectionIOC
0 likes · 9 min read
Injecting Beans with Annotations in Spring
vivo Internet Technology
vivo Internet Technology
Aug 25, 2021 · Backend Development

Design and Implementation of a Time‑Travel Module for E‑commerce Promotion Validation

The team built a whitelist‑based time‑travel module that overrides the system clock for selected operators, letting them preview future promotional prices in Vivo’s e‑commerce flow without creating real orders, by propagating an openId context through Dubbo filters and replacing System.currentTimeMillis() with a custom TimeTravelUtil.

BackendJavaTime Travel
0 likes · 12 min read
Design and Implementation of a Time‑Travel Module for E‑commerce Promotion Validation
Top Architect
Top Architect
Aug 25, 2021 · Backend Development

Why Dubbo Is Unsuitable for File Transfer and How HTTP/Feign Offer Better Alternatives

The article analyzes why the Dubbo RPC framework is ill‑suited for transmitting files due to serialization and single‑connection constraints, compares it with HTTP's streaming capabilities, and shows how Feign can handle uploads while still facing memory‑usage challenges, concluding with practical recommendations for file‑transfer scenarios.

BackendFeignfile upload
0 likes · 9 min read
Why Dubbo Is Unsuitable for File Transfer and How HTTP/Feign Offer Better Alternatives