Tagged articles

backend

5000 articles · Page 46 of 50
Laravel Tech Community
Laravel Tech Community
Apr 11, 2021 · Backend Development

How to Use PHP’s readline_write_history to Save Command History

This guide explains the PHP function readline_write_history, showing how it writes command-line history to a file, detailing the required filename parameter and the boolean return values indicating success or failure, enabling developers to persist interactive shell sessions programmatically.

FunctionPHPbackend
0 likes · 1 min read
How to Use PHP’s readline_write_history to Save Command History
MaGe Linux Operations
MaGe Linux Operations
Apr 9, 2021 · Backend Development

Understanding WSGI: How Python Web Apps Communicate with Servers

WSGI (Web Server Gateway Interface) defines how Python web frameworks like Django and Flask interact with web servers, acting as a mediator that enables flexible, scalable deployment across servers such as Apache, NGINX, and containers like Gunicorn, uWSGI, and mod_wsgi.

DjangoPythonWSGI
0 likes · 5 min read
Understanding WSGI: How Python Web Apps Communicate with Servers
Selected Java Interview Questions
Selected Java Interview Questions
Apr 9, 2021 · Backend Development

Understanding Java Thread Pools: Concepts, Creation, Execution Flow, and Common Types

This article explains Java thread pool fundamentals, including the purpose and advantages of using a pool, the parameters of ThreadPoolExecutor, the task execution workflow, saturation policies, and detailed descriptions of common pool types such as SingleThreadExecutor, FixedThreadPool, CachedThreadPool, and ScheduledThreadPool, plus a typical interview question about unbounded queues.

JavaPerformanceThreadPool
0 likes · 9 min read
Understanding Java Thread Pools: Concepts, Creation, Execution Flow, and Common Types
Python Programming Learning Circle
Python Programming Learning Circle
Apr 9, 2021 · Backend Development

Scraping Eleme Store Comments with Python

This tutorial explains how to use Python on Windows to crawl any Eleme restaurant's comments—including user IDs, ratings, dates, text, and images—by analyzing network requests, constructing request URLs, retrieving JSON data, and storing the results in Excel or databases.

ElemePythonbackend
0 likes · 12 min read
Scraping Eleme Store Comments with Python
Dada Group Technology
Dada Group Technology
Apr 9, 2021 · Operations

Design and Implementation of JD Daojia Open Platform Message System (BMQ)

This article explains the architecture, reliability mechanisms, dynamic configuration, monitoring, and alerting strategies of JD Daojia Open Platform's Business Message Queue (BMQ), illustrating how the system handles bidirectional communication, fault isolation, and scalable message processing for merchants.

Dynamic ConfigurationMessage QueueReliability
0 likes · 13 min read
Design and Implementation of JD Daojia Open Platform Message System (BMQ)
Selected Java Interview Questions
Selected Java Interview Questions
Apr 8, 2021 · Backend Development

Common Scenarios Where Spring @Transactional Fails and How to Fix Them

This article outlines common situations that cause Spring @Transactional to fail—such as non‑public methods, internal method calls, unmanaged beans, non‑runtime exceptions, silent catches, incorrect propagation settings, and unsupported MySQL storage engines—and provides practical solutions to ensure transaction reliability.

AOPExceptionJava
0 likes · 10 min read
Common Scenarios Where Spring @Transactional Fails and How to Fix Them
Architect
Architect
Apr 8, 2021 · Fundamentals

Understanding Layered Architecture: Strict, Relaxed, and Inheritance Approaches

The article explains various layered architecture models—including strict, relaxed, and inheritance‑based approaches—detailing their coupling rules, implementation guidelines, code examples, and evolution through multi‑layered system designs, especially within domain‑driven design and modern front‑back separation.

DDDarchitecture patternsbackend
0 likes · 8 min read
Understanding Layered Architecture: Strict, Relaxed, and Inheritance Approaches
php Courses
php Courses
Apr 8, 2021 · Backend Development

Key PHP Interview Topics: HTTP Status Codes, Pass‑by‑Value/Reference, Design Patterns, XSS, CGI/FastCGI/PHP‑FPM, MVC, Garbage Collection, CLI Lifecycle, Memory Management, Arrays, Dependency Injection, OOP

This article summarizes essential PHP interview knowledge, covering HTTP status codes, value vs. reference passing, major design patterns, XSS mitigation, the CGI/FastCGI/PHP‑FPM architecture, MVC, garbage collection, CLI lifecycle, memory allocation, array implementation, dependency injection, and core object‑oriented principles.

PHPPerformancearchitecture
0 likes · 10 min read
Key PHP Interview Topics: HTTP Status Codes, Pass‑by‑Value/Reference, Design Patterns, XSS, CGI/FastCGI/PHP‑FPM, MVC, Garbage Collection, CLI Lifecycle, Memory Management, Arrays, Dependency Injection, OOP
php Courses
php Courses
Apr 8, 2021 · Backend Development

Using ThinkPHP6 Collection Methods to Process Database Query Results

The article explains how ThinkPHP6 returns query results as a Collection object, introduces its useful methods such as toArray and isEmpty, and provides a PHP code example demonstrating how to check for empty results and convert the collection to an array.

CollectionDatabasePHP
0 likes · 2 min read
Using ThinkPHP6 Collection Methods to Process Database Query Results
vivo Internet Technology
vivo Internet Technology
Apr 7, 2021 · Backend Development

Analysis of SpringBoot's @SpringBootApplication Annotation

The article dissects Spring Boot’s @SpringBootApplication annotation, revealing it as a composite of seven meta‑annotations—including @SpringBootConfiguration, @EnableAutoConfiguration and @ComponentScan—and explains the underlying registrar, import selector, metadata loading, and exclusion mechanisms that together drive Spring Boot’s automatic configuration process.

AnnotationAutoConfigurationComponentScan
0 likes · 12 min read
Analysis of SpringBoot's @SpringBootApplication Annotation
php Courses
php Courses
Apr 7, 2021 · Backend Development

Understanding PHP intval() Function and (int) Casting

This article explains the PHP intval() function syntax, parameters, return values, and edge‑case behavior, compares it with the (int) cast operator, and provides numerous code examples illustrating conversions from strings, floats, arrays, booleans, and large numbers.

backendintvaltype casting
0 likes · 4 min read
Understanding PHP intval() Function and (int) Casting
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 6, 2021 · Backend Development

Cache Consistency Strategies: TTL, Delayed Double Delete, Cache‑Aside, and Message‑Queue Approaches

This article examines cache consistency challenges in Redis-backed systems and compares several update strategies—including TTL, delayed double‑delete, cache‑aside, and message‑queue approaches—detailing their workflows, code examples, advantages, and drawbacks to guide backend developers toward reliable cache invalidation.

CacheCache AsideMessage Queue
0 likes · 7 min read
Cache Consistency Strategies: TTL, Delayed Double Delete, Cache‑Aside, and Message‑Queue Approaches
macrozheng
macrozheng
Apr 6, 2021 · Backend Development

Boost Tomcat Performance: Essential Configurations for Faster Servers

This guide explains the most important Tomcat configuration parameters—including concurrency, thread pool, JVM settings, and key Connector options—so you can optimize the web container for higher throughput and lower latency without getting lost in hundreds of obscure options.

ConfigurationJVMPerformance Tuning
0 likes · 9 min read
Boost Tomcat Performance: Essential Configurations for Faster Servers
php Courses
php Courses
Apr 2, 2021 · Backend Development

Implementing Ping Using ICMP Raw Sockets in PHP

This tutorial explains how to use PHP's raw socket functions to construct and send an ICMP echo request packet, calculate its checksum, receive the reply, and wrap the logic into a reusable ping($host, $retry) function for backend network diagnostics.

ICMPPHPbackend
0 likes · 6 min read
Implementing Ping Using ICMP Raw Sockets in PHP
Architecture Digest
Architecture Digest
Apr 2, 2021 · Backend Development

Understanding the Essence of Architecture: A Deep Dive into Weibo’s Large‑Scale System Design

The article explores the fundamental concepts of software architecture, illustrating how massive platforms like Weibo handle millions of users through layered design, service decomposition, multi‑level caching, distributed tracing, and capacity planning to achieve high scalability and reliability.

Monitoringarchitecturebackend
0 likes · 21 min read
Understanding the Essence of Architecture: A Deep Dive into Weibo’s Large‑Scale System Design
JavaEdge
JavaEdge
Apr 1, 2021 · Databases

Master‑Slave Replication in Redis: Mechanisms, Sync Types, and Configuration Guide

This article explains how Redis master‑slave replication operates, covering the underlying mechanisms such as update propagation, partial and full resynchronization, the characteristics and limitations of replication, common single‑node issues, and step‑by‑step instructions for configuring and executing replication commands.

Master‑SlavePartial SyncRedis
0 likes · 9 min read
Master‑Slave Replication in Redis: Mechanisms, Sync Types, and Configuration Guide
Architect
Architect
Apr 1, 2021 · Backend Development

Understanding RPC vs HTTP Services: Architecture, Protocols, and Popular Frameworks

This article explains the fundamental differences between RPC and HTTP services, reviews the OSI network model, describes RPC architecture, synchronous and asynchronous calls, compares popular RPC frameworks such as gRPC, Thrift, and Dubbo, and discusses when to choose each approach for enterprise applications.

DubboRPCThrift
0 likes · 9 min read
Understanding RPC vs HTTP Services: Architecture, Protocols, and Popular Frameworks
php Courses
php Courses
Mar 31, 2021 · Backend Development

Understanding PHP isset() and empty() Functions

This article explains the purpose, syntax, return values, and usage nuances of PHP's isset() and empty() functions, provides code examples with expected output, and compares their behavior when checking variable existence and emptiness.

backendemptyisset
0 likes · 4 min read
Understanding PHP isset() and empty() Functions
Open Source Linux
Open Source Linux
Mar 31, 2021 · Information Security

How QR Code Login Works: From Tokens to Secure Authentication

This article explains the principles behind QR codes, how they are used for secure login by transmitting identity and proof through token‑based authentication, and walks through each step of the QR‑code login flow from generation to confirmation.

QR codeauthenticationbackend
0 likes · 11 min read
How QR Code Login Works: From Tokens to Secure Authentication
php Courses
php Courses
Mar 30, 2021 · Backend Development

Using PHP array_diff_assoc() to Compare Arrays and Find Differences

This article explains the PHP function array_diff_assoc(), its syntax, parameters, and provides code examples demonstrating how to compare arrays by keys and values to obtain the difference, along with a practical use case for detecting changes in form data during web development.

PHPbackenddiff
0 likes · 2 min read
Using PHP array_diff_assoc() to Compare Arrays and Find Differences
Laravel Tech Community
Laravel Tech Community
Mar 29, 2021 · Backend Development

zip_entry_name – Retrieve the Name of a ZIP Archive Entry (PHP)

This article explains the PHP function zip_entry_name, which returns the name of a directory entry within a ZIP archive, details its parameter $zip_entry, describes the return value, and provides a complete example demonstrating how to open a ZIP file, iterate entries, output their names, and close the archive.

PHPbackendzip_entry_name
0 likes · 1 min read
zip_entry_name – Retrieve the Name of a ZIP Archive Entry (PHP)
JavaEdge
JavaEdge
Mar 29, 2021 · Backend Development

How to Mitigate Redis Performance Issues Caused by Large Keys

When a Redis key stores a very large value, it can block the single‑threaded server and waste memory, so this article explains practical techniques such as splitting keys, using hash structures, and bucket‑based hashing to reduce I/O pressure and memory consumption.

Key DesignRedisbackend
0 likes · 4 min read
How to Mitigate Redis Performance Issues Caused by Large Keys
Senior Brother's Insights
Senior Brother's Insights
Mar 29, 2021 · Backend Development

Why Does a Single Kafka Broker Failure Break All Consumers?

A Kafka broker outage can halt consumer consumption despite remaining brokers, due to replication settings, ISR mechanics, and the internal __consumer_offsets topic’s default replication factor, which this article explains and resolves with practical configuration steps.

ACKConsumer OffsetsISR
0 likes · 11 min read
Why Does a Single Kafka Broker Failure Break All Consumers?
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 29, 2021 · Frontend Development

From Static Pages to Server‑Side Rendering: How Web Technology Evolved Over 30 Years

This article traces the three‑decade evolution of web technology—from Tim Berners‑Lee’s first static page and the birth of HTML, through the rise of JavaScript, CSS, dynamic server‑side solutions, AJAX, SPA, and modern SSR/Node.js approaches—highlighting why each breakthrough emerged and how it shaped today’s web development landscape.

Web Developmentbackendfrontend
0 likes · 19 min read
From Static Pages to Server‑Side Rendering: How Web Technology Evolved Over 30 Years
ByteFE
ByteFE
Mar 29, 2021 · Backend Development

Understanding HTTP Caching: Types, Headers, and ETag Mechanisms

This article explains why caching is essential for web performance, describes the two main HTTP cache types (strong and negotiated), compares Expires and Cache‑Control headers, and details ETag generation, validation, and best‑practice considerations in server implementations such as Nginx.

Cache-ControlETagWeb Performance
0 likes · 10 min read
Understanding HTTP Caching: Types, Headers, and ETag Mechanisms
FunTester
FunTester
Mar 28, 2021 · Operations

Analyzing QPS Calculation Errors in Fixed‑Thread Models

This article examines the two common QPS formulas, presents a simple single‑thread request model, identifies theoretical and practical sources of error such as pre‑ and post‑request processing, logging overhead, and real‑time data handling, and discusses how to mitigate these inaccuracies in performance testing.

backenderror analysis
0 likes · 9 min read
Analyzing QPS Calculation Errors in Fixed‑Thread Models
Laravel Tech Community
Laravel Tech Community
Mar 27, 2021 · Backend Development

PHP zip_entry_open: Opening a ZIP Directory Entry for Reading

This article explains the PHP function zip_entry_open, which opens a directory entry inside a ZIP archive for reading, details its parameters and return values, and provides a complete example demonstrating how to iterate through entries and display their names.

PHPbackendzip_entry_open
0 likes · 2 min read
PHP zip_entry_open: Opening a ZIP Directory Entry for Reading
Top Architect
Top Architect
Mar 27, 2021 · Backend Development

GraphQL Architectural Advantages

This article explains why using GraphQL instead of REST offers significant architectural benefits, covering hexagonal architecture, infrastructure components, the data graph concept, self‑documenting schemas, federation, and how it empowers frontend developers while simplifying versioning and development.

ApolloData GraphGraphQL
0 likes · 14 min read
GraphQL Architectural Advantages
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Mar 26, 2021 · Fundamentals

Design Patterns and SOLID Principles for Building a Message Sending Service

This article explains how to apply classic design patterns and the six SOLID principles—Liskov Substitution, Single Responsibility, Dependency Inversion, Interface Segregation, Law of Demeter, and Open‑Closed—to design a maintainable, extensible message‑sending system with task scheduling and dynamic provider configuration.

Design PatternsPHPSOLID
0 likes · 17 min read
Design Patterns and SOLID Principles for Building a Message Sending Service
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 26, 2021 · Backend Development

Rate Limiting in Spring Boot: Counter, Leaky & Token Buckets using Guava & Baidu

This article explains three classic rate‑limiting algorithms—counter, leaky bucket, and token bucket—illustrates their principles, compares their behavior, and provides practical Spring Boot implementations using Google Guava’s RateLimiter and Baidu’s ratelimiter‑spring‑boot‑starter, including configuration, code samples, and performance testing.

GuavaJavabackend
0 likes · 10 min read
Rate Limiting in Spring Boot: Counter, Leaky & Token Buckets using Guava & Baidu
Top Architect
Top Architect
Mar 25, 2021 · Backend Development

Understanding the Working Principle of @ControllerAdvice in Spring MVC

This article explains how the @ControllerAdvice annotation is discovered and utilized within Spring MVC, detailing the initialization process, the caching of @ExceptionHandler, @ModelAttribute, and @InitBinder methods, and how these global configurations are applied by RequestMappingHandlerAdapter during request handling.

ControllerAdviceExceptionHandlingJava
0 likes · 12 min read
Understanding the Working Principle of @ControllerAdvice in Spring MVC
Laravel Tech Community
Laravel Tech Community
Mar 24, 2021 · Backend Development

How to Open and Read ZIP Archives in PHP with zip_open

This guide explains the PHP zip_open() function, detailing its purpose, required filename parameter, return values, and provides a clear code example showing how to open a ZIP file, read its entries, and close the archive safely.

File HandlingPHPbackend
0 likes · 1 min read
How to Open and Read ZIP Archives in PHP with zip_open
php Courses
php Courses
Mar 24, 2021 · Backend Development

Comprehensive Guide to PHP Array Functions

This tutorial presents a thorough overview of PHP array functions, explaining key‑value operations, creation and splitting utilities, sorting techniques, and set operations such as differences and intersections, while providing clear code examples for each function.

PHPbackendtutorial
0 likes · 10 min read
Comprehensive Guide to PHP Array Functions
php Courses
php Courses
Mar 24, 2021 · Backend Development

Understanding PHP str_replace(): Syntax, Parameters, and Practical Examples

This article explains the PHP str_replace() function, detailing its syntax, the roles of search, replace, and subject parameters, and demonstrates four common usage patterns—including string-to-string, array-to-string, array-to-array replacements, and counting replacements—while highlighting replacement order effects.

backendcode examplesstr_replace
0 likes · 3 min read
Understanding PHP str_replace(): Syntax, Parameters, and Practical Examples
Senior Brother's Insights
Senior Brother's Insights
Mar 23, 2021 · Backend Development

How to Implement a Global Exception Handler in Spring Boot

This guide explains why a unified exception handling mechanism is essential in Spring Boot applications and provides step‑by‑step code examples for creating a standard response class, custom exception types, an error enumeration, and a @RestControllerAdvice‑based global handler, complete with test screenshots.

Global HandlerJavaREST
0 likes · 5 min read
How to Implement a Global Exception Handler in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Mar 23, 2021 · Backend Development

Understanding MyBatis: Concepts, Advantages, Disadvantages, Usage Scenarios, and Advanced Features

This article provides a comprehensive overview of MyBatis, a semi‑ORM Java framework, covering its core concepts, benefits, drawbacks, appropriate use cases, differences from Hibernate, parameter handling, dynamic SQL, caching, lazy loading, mapper binding, plugin development, and various configuration techniques.

JavaMyBatisORM
0 likes · 22 min read
Understanding MyBatis: Concepts, Advantages, Disadvantages, Usage Scenarios, and Advanced Features
php Courses
php Courses
Mar 23, 2021 · Backend Development

Removing Empty Elements from a PHP Array Using foreach and array_filter

This article explains two PHP techniques for removing empty or falsy elements from an array: a straightforward foreach loop that unsets unwanted values and the more efficient array_filter() function with optional callbacks and flags, including code examples and the resulting output.

PHParray_filterbackend
0 likes · 3 min read
Removing Empty Elements from a PHP Array Using foreach and array_filter
Architecture Digest
Architecture Digest
Mar 23, 2021 · Backend Development

Design and Implementation of a Data Consistency Engine for Advertising Billing Systems

This article outlines the background, design choices, and implementation details of a data‑consistency engine for an advertising billing platform, comparing TCC and saga‑style approaches, describing the state‑machine architecture, configuration, initialization, and asynchronous execution patterns.

Data ConsistencyDistributed TransactionsSAGA
0 likes · 9 min read
Design and Implementation of a Data Consistency Engine for Advertising Billing Systems
Code Ape Tech Column
Code Ape Tech Column
Mar 23, 2021 · Backend Development

Java Code Optimization Best Practices and Performance Tips

This article presents a comprehensive collection of Java code‑optimization techniques—ranging from using final modifiers and reusing objects to proper resource handling, efficient collection sizing, avoiding reflection, and leveraging low‑level operations—aimed at reducing binary size, improving runtime efficiency, and preventing hard‑to‑detect bugs in production systems.

JavaPerformancebackend
0 likes · 24 min read
Java Code Optimization Best Practices and Performance Tips
Top Architect
Top Architect
Mar 22, 2021 · Backend Development

Fundamentals of Spring Transaction Management

This article explains the core principles of Spring transaction management, covering basic JDBC transaction steps, declarative @Transactional usage, AOP proxy mechanisms (JDK dynamic proxy and CGLIB), transaction propagation attributes, isolation levels, nested transactions, and Spring Boot support, with practical code examples.

AOPJavaSpring
0 likes · 14 min read
Fundamentals of Spring Transaction Management
New Oriental Technology
New Oriental Technology
Mar 22, 2021 · Backend Development

Introduction to Node.js: History, Core Features, and Ecosystem

This article introduces Node.js by recounting its creator Ryan Dahl's background, explaining its core characteristics of single‑threaded, event‑driven, non‑blocking I/O architecture, describing suitable use cases, and reviewing basic code examples and popular frameworks such as Express, Koa, Nest, and Egg.

FrameworksJavaScriptNode.js
0 likes · 11 min read
Introduction to Node.js: History, Core Features, and Ecosystem
Java Architect Essentials
Java Architect Essentials
Mar 21, 2021 · Backend Development

Top 15 Open‑Source API Management Tools

This article introduces the importance of APIs in modern software development and presents a curated list of fifteen leading open‑source API management platforms, detailing their key features such as rate limiting, authentication, analytics, and developer portals to help developers choose the right solution.

API ManagementDevOpsbackend
0 likes · 10 min read
Top 15 Open‑Source API Management Tools
MaGe Linux Operations
MaGe Linux Operations
Mar 21, 2021 · Backend Development

How to Build a Simple Django SSO with Shared Sessions and Redis

This tutorial walks through creating two Django projects, configuring a shared session store (either a common file or Redis) to achieve single sign‑on across them, and provides full code snippets, settings adjustments, and testing steps to demonstrate seamless login synchronization.

DjangoRedisSSO
0 likes · 15 min read
How to Build a Simple Django SSO with Shared Sessions and Redis
php Courses
php Courses
Mar 19, 2021 · Backend Development

Understanding PDOStatement::fetch() Fetch Styles in PHP

This article explains the PDOStatement::fetch() method in PHP, detailing the available fetch style constants, their effects on result set formatting, and shows how to configure the statement to return only associative arrays for cleaner data handling.

DatabaseFetchModePDO
0 likes · 3 min read
Understanding PDOStatement::fetch() Fetch Styles in PHP
Java Architecture Diary
Java Architecture Diary
Mar 19, 2021 · Backend Development

What’s New in Spring Boot 2.4.4? Key Bug Fixes and Improvements

Spring Boot 2.4.4 has been released, offering 60 bug fixes, enhancements, documentation updates, and dependency upgrades, including fixes for jOOQ NPE, schema path errors, @ConfigurationProperties injection, EmbeddedDatabaseConnection issues, RSocket server initialization, and various Actuator and devtools problems.

Bug FixesJavaSpring Boot
0 likes · 3 min read
What’s New in Spring Boot 2.4.4? Key Bug Fixes and Improvements
Programmer DD
Programmer DD
Mar 19, 2021 · Backend Development

Simplify Multi-Payment Integration in Java with the Strategy Pattern

This article explains how to replace cumbersome if/else payment handling code with a clean Strategy pattern implementation in Java, showing both the problem scenario and a complete example including enums, interfaces, and concrete payment classes for Alipay and WeChat Pay.

Design PatternsJavaPayment Integration
0 likes · 7 min read
Simplify Multi-Payment Integration in Java with the Strategy Pattern
Ctrip Technology
Ctrip Technology
Mar 18, 2021 · Backend Development

Design and Implementation of Ctrip's Unified Accounting Platform

This article presents a comprehensive case study of Ctrip's unified accounting platform, detailing its evolution from legacy systems, architectural redesign, component decomposition, logging, sharding, asynchronous processing, database strategies, exception handling, and daily settlement mechanisms to achieve agility, decoupling, and reusability.

LoggingSystem Architectureaccounting platform
0 likes · 16 min read
Design and Implementation of Ctrip's Unified Accounting Platform
Architect's Tech Stack
Architect's Tech Stack
Mar 18, 2021 · Backend Development

Java 16 Released: New Features, JEPs, and Community Contributions

Java 16 has been officially released, bringing 17 major enhancements—including new language features like pattern matching for instanceof and records, JVM improvements such as ZGC thread handling and elastic metaspace, new tools, incubator APIs, and broader community contributions—while maintaining backward compatibility and a predictable six‑month release cadence.

JDKJEPJava
0 likes · 12 min read
Java 16 Released: New Features, JEPs, and Community Contributions
FunTester
FunTester
Mar 16, 2021 · Operations

How to Capture Per‑API Response Times in Load Tests with Groovy Scripts

This article explains how to extend a performance testing framework to record and visualize individual HTTP interface latencies by parsing consolidated logs, grouping timings by URL, and using a Groovy script with StatisticsUtil to generate response‑time charts.

Groovybackendload testing
0 likes · 5 min read
How to Capture Per‑API Response Times in Load Tests with Groovy Scripts
JavaScript
JavaScript
Mar 15, 2021 · Frontend Development

What Will Shape Web Development in 2021? Insights from the 2020 Survey

Analyzing 2020 developer survey data, this article reveals emerging trends in package managers, testing tools, frameworks, backend runtimes, and build systems that are set to define the JavaScript ecosystem and web development practices in 2021.

Build ToolsJavaScript trendsbackend
0 likes · 5 min read
What Will Shape Web Development in 2021? Insights from the 2020 Survey
Laravel Tech Community
Laravel Tech Community
Mar 13, 2021 · Backend Development

How to Validate Gregorian Dates in PHP with checkdate()

This guide explains how PHP's checkdate() function validates Gregorian dates by checking month, day, and year values, details each parameter's accepted range, describes the boolean return, and provides example code demonstrating both a valid and an invalid date check.

backendcheckdatedate validation
0 likes · 2 min read
How to Validate Gregorian Dates in PHP with checkdate()
Architect's Tech Stack
Architect's Tech Stack
Mar 13, 2021 · Backend Development

Debunking Common Arguments Against Using Lombok in Java Projects

The article systematically refutes typical criticisms of Lombok—such as JDK compatibility, forced adoption, reduced readability, increased coupling, and technical debt—by arguing that these concerns are overstated and that Lombok remains a valuable tool for Java backend development.

JDKJavaLombok
0 likes · 6 min read
Debunking Common Arguments Against Using Lombok in Java Projects
ITPUB
ITPUB
Mar 12, 2021 · Backend Development

How to Sync MySQL Data to Elasticsearch in Real-Time Using Binlog and Kafka

This article explains how a growing e‑commerce platform replaced a heavyweight MySQL intermediate table with a binlog‑driven pipeline that streams changes to Elasticsearch via Kafka, detailing the architecture, modules, customizations, monitoring, and performance results.

ElasticsearchKafkaMySQL
0 likes · 13 min read
How to Sync MySQL Data to Elasticsearch in Real-Time Using Binlog and Kafka
Youzan Coder
Youzan Coder
Mar 12, 2021 · Information Security

How Youzan Re‑engineered Its Permission System for Scalable Access Control

This article examines the evolution of Youzan's permission management—from the original SAM system using a 64‑bit RBAC model to the flexible 2.0 architecture with rig, dynamic menu, and widget delegation—highlighting design choices, implementation details, challenges solved, and measurable business impact.

RBACSystem Architectureaccess control
0 likes · 15 min read
How Youzan Re‑engineered Its Permission System for Scalable Access Control
php Courses
php Courses
Mar 12, 2021 · Backend Development

Using Multiple where Clauses in Laravel for Multi-Field Search

This article demonstrates how to perform multi‑field searches in Laravel by chaining multiple where clauses with closure callbacks, showing example code that conditionally filters by username and hospital ID based on request parameters.

DatabaseMultiple WherePHP
0 likes · 2 min read
Using Multiple where Clauses in Laravel for Multi-Field Search
360 Quality & Efficiency
360 Quality & Efficiency
Mar 12, 2021 · Backend Development

Distributed Lock Implementations with Redis, Etcd, and Zookeeper

This article explains the concept of distributed locks, outlines common application scenarios, and provides detailed Java implementations using Redis (including Redisson and RedLock), Etcd, and Zookeeper, complete with code examples and a comparative summary of their advantages and drawbacks.

Redisbackenddistributed lock
0 likes · 14 min read
Distributed Lock Implementations with Redis, Etcd, and Zookeeper
Ctrip Technology
Ctrip Technology
Mar 11, 2021 · Backend Development

Evolution, Architecture, and Features of Ctrip's Model Object Management (MOM) Contract System

The article outlines how Ctrip's ticket business evolved its contract management from offline XSD files to a cloud‑native, model‑driven system called MOM, describing its motivations, architecture, core modules, and practical features such as version control, model sharing, code generation, and change notifications.

API governanceContract ManagementJava
0 likes · 16 min read
Evolution, Architecture, and Features of Ctrip's Model Object Management (MOM) Contract System
FunTester
FunTester
Mar 11, 2021 · Operations

Accelerating Multi‑User Performance Tests with Java’s CyclicBarrier

This article explains how to eliminate the serial‑login bottleneck in multi‑user performance testing by using Java’s CyclicBarrier to synchronize user logins, then runs a two‑step insert‑update scenario with a custom FunTester class, complete with full code examples and result analysis.

CyclicBarrierJavabackend
0 likes · 8 min read
Accelerating Multi‑User Performance Tests with Java’s CyclicBarrier
FunTester
FunTester
Mar 10, 2021 · Backend Development

Convert HttpRequestBase to Curl for Quick Performance Testing

This article explains how to transform a Java HttpRequestBase object into an equivalent curl command, enabling rapid request replay across servers and detailed timing analysis, and demonstrates the process with step‑by‑step code examples and a functional test using the FunTester framework.

FunTesterJavabackend
0 likes · 7 min read
Convert HttpRequestBase to Curl for Quick Performance Testing
21CTO
21CTO
Mar 9, 2021 · Backend Development

Mastering OAuth2 SSO with Spring Security and JWT: A Step‑by‑Step Guide

This tutorial walks through building a single sign‑on (SSO) system using OAuth2, Spring Security, and JWT, covering preparation, core concepts, Maven dependencies, configuration files, custom login pages, client setup, logout handling, project structure, and a full demonstration.

JWTOAuth2SSO
0 likes · 25 min read
Mastering OAuth2 SSO with Spring Security and JWT: A Step‑by‑Step Guide
php Courses
php Courses
Mar 9, 2021 · Backend Development

Understanding Method and Property Overriding in PHP Classes

The article explains PHP class inheritance, detailing how public and protected properties and methods can be overridden in child classes while private members remain unaffected, and demonstrates correct overriding practices, parameter matching, and using the parent keyword with clear code examples.

PHPbackendmethod overriding
0 likes · 6 min read
Understanding Method and Property Overriding in PHP Classes
php Courses
php Courses
Mar 9, 2021 · Backend Development

How to Install and Configure Laravel IDE Helper with Composer

This guide explains how to install the Barryvdh Laravel IDE Helper package via Composer, add its service provider, configure post‑update scripts, publish configuration files, and generate helper documentation, enabling improved IDE autocompletion for Laravel projects.

AutocompletionIDE HelperPHP
0 likes · 2 min read
How to Install and Configure Laravel IDE Helper with Composer
Liangxu Linux
Liangxu Linux
Mar 8, 2021 · Operations

Mastering Nginx: Reverse Proxy, Load Balancing, and High‑Availability Setup

This guide explains Nginx’s core concepts—including forward and reverse proxy, load‑balancing strategies, static‑dynamic separation, installation commands, configuration file anatomy, practical reverse‑proxy and load‑balancing examples, and a Keepalived high‑availability solution—providing step‑by‑step instructions and essential code snippets for reliable backend deployment.

ConfigurationKeepalivedbackend
0 likes · 11 min read
Mastering Nginx: Reverse Proxy, Load Balancing, and High‑Availability Setup
Laravel Tech Community
Laravel Tech Community
Mar 7, 2021 · Backend Development

PHP dir() Function Returns a Directory Class Instance

The PHP dir() function opens a directory and returns a Directory class instance, accepting a directory path and an optional context resource, with detailed parameter descriptions, return values, and a complete example demonstrating how to read entries and close the handle.

PHPbackendfile system
0 likes · 2 min read
PHP dir() Function Returns a Directory Class Instance
Top Architect
Top Architect
Mar 6, 2021 · Operations

Spring Boot Monitoring with Prometheus and Grafana: A Step‑by‑Step Guide

This article provides a comprehensive tutorial on setting up Spring Boot application monitoring using Prometheus and Grafana, covering project creation, dependency configuration, security setup, Prometheus server installation, Grafana dashboard creation, email alerting configuration, and testing the end‑to‑end alert workflow.

JavaMonitoringSpring Boot
0 likes · 10 min read
Spring Boot Monitoring with Prometheus and Grafana: A Step‑by‑Step Guide
Laravel Tech Community
Laravel Tech Community
Mar 5, 2021 · Backend Development

Laravel‑KindEditor: Installation, Configuration, and Usage Guide

This article provides a step‑by‑step tutorial for installing the Laravel‑KindEditor package, configuring storage drivers, adding the service provider, publishing assets, setting up the editor in Blade templates, and handling image upload responses with example code snippets for developers.

HTML editorInstallationKindEditor
0 likes · 4 min read
Laravel‑KindEditor: Installation, Configuration, and Usage Guide
php Courses
php Courses
Mar 5, 2021 · Backend Development

Integrating Whoops Error Handler into ThinkPHP6

This tutorial explains how to install the Whoops library via Composer and configure ThinkPHP6’s ExceptionHandle to replace the default error page with Whoops’ detailed, user‑friendly exception view, including code examples and a final verification.

ExceptionPHPThinkPHP6
0 likes · 3 min read
Integrating Whoops Error Handler into ThinkPHP6
Architecture Digest
Architecture Digest
Mar 5, 2021 · Backend Development

Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes

The article walks through the step‑by‑step evolution of a custom workflow engine, starting with a basic linked‑list approver chain and progressively adding support for parallel, multi‑sign, conditional, timed, proxy, cancellation, pre‑/post‑conditions, progress metrics, and script hooks, illustrating a comprehensive backend design.

EngineWorkflowapproval
0 likes · 13 min read
Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes
IT Architects Alliance
IT Architects Alliance
Mar 5, 2021 · Backend Development

Understanding the Essence of System Architecture: Insights from Weibo’s Large‑Scale Design

The article explores the fundamental concepts of system architecture, illustrating how large‑scale services like Weibo handle massive traffic through layered design, abstraction, caching, service decomposition, monitoring, and operational practices to achieve scalability, reliability, and performance.

MonitoringScalable DesignSystem Architecture
0 likes · 20 min read
Understanding the Essence of System Architecture: Insights from Weibo’s Large‑Scale Design
Xianyu Technology
Xianyu Technology
Mar 4, 2021 · Frontend Development

Solving CORS Issues When Integrating React Frontend with Java Backend

Integrating a React front‑end with a Java back‑end required fixing HTTPS‑to‑HTTP CORS errors by serving the React index.html from the backend, switching @RestController to @Controller for sub‑path routing, adding Thymeleaf, using a Chrome redirect plugin and crossorigin tags, and disabling lazy‑loaded asset URLs during local development, highlighting that true front‑end/back‑end separation remains elusive.

CORSJavaReAct
0 likes · 5 min read
Solving CORS Issues When Integrating React Frontend with Java Backend
Top Architect
Top Architect
Mar 3, 2021 · Backend Development

How Spring Solves Circular Dependencies and the Underlying Essence

This article explains Spring's approach to resolving circular dependencies in singleton beans using a three‑level cache, contrasts it with prototype bean limitations, provides a simplified implementation example, and draws an analogy to the classic two‑sum algorithm to illustrate the core concept.

Circular DependencyDesign PatternsJava
0 likes · 9 min read
How Spring Solves Circular Dependencies and the Underlying Essence
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 3, 2021 · Backend Development

Separating Middleware Logs with Programmatic Log4j2 Configuration in Java

This article describes how to programmatically configure Log4j2's LoggerContext to separate middleware logs into dedicated files, encapsulate the setup in a shared jar, expose a logger retrieval API, and integrate it into middleware components, reducing business log interference and storage costs.

ConfigurationJavaLogging
0 likes · 8 min read
Separating Middleware Logs with Programmatic Log4j2 Configuration in Java
Programmer DD
Programmer DD
Mar 3, 2021 · Backend Development

How to Speed Up Large Excel Imports in Java: From POI to EasyExcel and Parallel Insertion

This article walks through a step‑by‑step optimization of a Java‑based Excel import pipeline, covering the transition from raw POI to EasyPOI and EasyExcel, caching database lookups, batch inserts, optimal batch sizes, parallel streams, and logging reductions to achieve sub‑minute import times for hundreds of thousands of rows.

EasyExcelExcelJava
0 likes · 12 min read
How to Speed Up Large Excel Imports in Java: From POI to EasyExcel and Parallel Insertion
Selected Java Interview Questions
Selected Java Interview Questions
Mar 2, 2021 · Databases

Understanding Redis Data Types, Internal Representation, and Real‑World Use Cases

This article explains that Redis stores all data primarily in memory, describes its seven core data types (String, Hash, List, Set, Sorted Set, Pub/Sub, Transactions), shows how each type is implemented internally, and provides practical examples such as caching, ranking, queues, and real‑time analytics.

Data TypesIn-Memory DatabaseLeaderboards
0 likes · 20 min read
Understanding Redis Data Types, Internal Representation, and Real‑World Use Cases
NiuNiu MaTe
NiuNiu MaTe
Mar 2, 2021 · Databases

How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews

This article explains why caching MySQL with Redis is essential, outlines the consistency challenges that arise, and presents four practical solutions—expiration, delete‑then‑repopulate, message‑queue updates, and binlog subscription—along with their pros, cons, and guidance for choosing the right approach in interviews.

Data synchronizationDatabaseMySQL
0 likes · 8 min read
How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews
php Courses
php Courses
Mar 1, 2021 · Backend Development

ThinkPHP Framework Execution Process Overview

This article outlines the ThinkPHP framework’s execution flow, detailing the sequence from index.php entry through configuration loading, application generation, class loading, controller action execution, and template rendering, and highlights key classes such as Think\Hook and Think\Behavior.

PHPThinkPHPbackend
0 likes · 2 min read
ThinkPHP Framework Execution Process Overview
php Courses
php Courses
Mar 1, 2021 · Backend Development

Implementing API Rate Limiting with Redis in PHP

This article explains how to implement API request frequency control in PHP using Redis, detailing a function that tracks per‑user request counts within a configurable time window, removes outdated entries, and returns appropriate responses when the limit is exceeded.

APIPHPRedis
0 likes · 3 min read
Implementing API Rate Limiting with Redis in PHP
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 28, 2021 · Databases

Understanding the SQL Execution Process in ClickHouse

This article explains in detail how ClickHouse processes a user‑submitted SQL query, covering the server’s request handling, parsing, query rewrite, optimization, interpreter execution, and result transmission, while illustrating key source code snippets and architectural components.

ClickHouseDatabase InternalsParser
0 likes · 18 min read
Understanding the SQL Execution Process in ClickHouse