Tagged articles
5000 articles
Page 50 of 50
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 27, 2020 · Backend Development

Mastering Elegant Retry Logic in Python with Tenacity

This article explains why retry mechanisms are essential for unstable network requests, introduces the Tenacity library, and provides clear, step‑by‑step Python examples covering basic retries, stop conditions, conditional retries, exception re‑raising, and callback handling.

BackendCode ExampleRetry
0 likes · 7 min read
Mastering Elegant Retry Logic in Python with Tenacity
Laravel Tech Community
Laravel Tech Community
Sep 25, 2020 · Backend Development

PHP substr_count() Function – Usage, Parameters, and Examples

The PHP substr_count() function counts the number of non‑overlapping occurrences of a substring within a string, optionally starting from a given offset and limiting the search length, and the article explains its signature, parameters, return value, and provides practical code examples.

Backendphp-functionsstring-functions
0 likes · 2 min read
PHP substr_count() Function – Usage, Parameters, and Examples
Laravel Tech Community
Laravel Tech Community
Sep 24, 2020 · Backend Development

PHP str_repeat Function – Repeating a String

The article explains PHP's str_repeat function, which repeats a given string a specified number of times, details its parameters, return value, usage constraints, and provides a sample code snippet demonstrating its output.

BackendStringfunction
0 likes · 1 min read
PHP str_repeat Function – Repeating a String
Architecture Digest
Architecture Digest
Sep 24, 2020 · Backend Development

Microservice Decoupling Strategies: From Synchronous Calls to Asynchronous Messaging, Event‑Driven Architecture, and CQRS

The article analyzes common coupling problems in microservice architectures and presents practical decoupling techniques—including asynchronous messaging, event‑driven design, local caching, data landing, and CQRS—while also offering refactoring guidelines for tightly coupled services.

AsynchronousBackendCQRS
0 likes · 20 min read
Microservice Decoupling Strategies: From Synchronous Calls to Asynchronous Messaging, Event‑Driven Architecture, and CQRS
Youzan Coder
Youzan Coder
Sep 23, 2020 · Backend Development

Why Did My Dubbo Thread Pool Deadlock? A Deep Dive into CompletableFuture Blocking

The article analyzes a production incident where a Dubbo thread pool exhausted its threads due to CompletableFuture#join blocking, explains how the custom business thread pool caused mutual waiting, and presents a solution that isolates asynchronous tasks into a separate pool to restore service stability.

BackendCompletableFutureDubbo
0 likes · 9 min read
Why Did My Dubbo Thread Pool Deadlock? A Deep Dive into CompletableFuture Blocking
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 23, 2020 · Backend Development

Understanding Nginx’s Modular Architecture and Event‑Driven Design

This article explains Nginx’s highly modular architecture, its multi‑process and asynchronous non‑blocking request handling, the event‑driven model, and the master/worker design, providing a comprehensive foundation for developers who want to understand or explore Nginx’s source code.

AsynchronousBackendEvent-driven
0 likes · 9 min read
Understanding Nginx’s Modular Architecture and Event‑Driven Design
Programmer DD
Programmer DD
Sep 23, 2020 · Backend Development

Why Did My Java Service’s Response Time Spike? Deep Dive into QPS, GC, and Load

A high‑traffic Java backend service suddenly suffered seconds‑long response times, prompting a systematic investigation that traced the issue from unexpected QPS spikes through database checks, local call delays, CPU load, and frequent ParNew GC, ultimately revealing oversized responses and memory pressure as the root cause.

BackendDockergc
0 likes · 8 min read
Why Did My Java Service’s Response Time Spike? Deep Dive into QPS, GC, and Load
Laravel Tech Community
Laravel Tech Community
Sep 22, 2020 · Backend Development

PHP chown() Function: Changing File Ownership

The article explains PHP's chown() function, detailing its purpose, syntax, parameters, return values, and provides a complete example with code and expected output for changing a file's owner on a server.

BackendFilesystemchown
0 likes · 2 min read
PHP chown() Function: Changing File Ownership
Java Architect Essentials
Java Architect Essentials
Sep 21, 2020 · Backend Development

Design and Implementation of a Scalable Long‑Connection Gateway

This article details the architecture, protocol design, permission control, reliability mechanisms, and scaling strategies of a long‑connection gateway built with OpenResty, Kafka, and Redis, illustrating how to share persistent connections across multiple business services while ensuring high performance and fault tolerance.

BackendKafkaMessaging
0 likes · 13 min read
Design and Implementation of a Scalable Long‑Connection Gateway
Laravel Tech Community
Laravel Tech Community
Sep 21, 2020 · Backend Development

PHP chgrp Function: Change File Group Ownership

The article explains PHP’s chgrp function, which changes a file’s group ownership, outlines its syntax, required parameters, permission restrictions, return values, and provides a complete PHP example demonstrating how to modify a file’s group and display the result.

BackendFile PermissionsPHP
0 likes · 2 min read
PHP chgrp Function: Change File Group Ownership
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 21, 2020 · Cloud Native

How a Four‑Layer Cloud‑Native Architecture Powers Scalable Web, Mobile, and IoT Services

This article details a four‑layer cloud‑native system architecture that separates presentation, communication, service, and data layers, leveraging Spring Cloud microservices, Alibaba Cloud networking, multiple databases, JWT authentication, ELK logging, and HTTP DNS to achieve scalability, reliability, and optimal user experience across web, app, and IoT platforms.

BackendMicroservicesSpring Cloud
0 likes · 8 min read
How a Four‑Layer Cloud‑Native Architecture Powers Scalable Web, Mobile, and IoT Services
Programmer DD
Programmer DD
Sep 20, 2020 · Backend Development

Choosing the Right Java WebSocket Solution: Pros, Cons, and Performance Insights

This article reviews Java WebSocket options—including the Java EE specification, SockJS, Socket.IO, and reactive stream implementations—detailing their advantages, drawbacks, and performance characteristics, and provides benchmark data to help developers choose the most suitable solution for their backend communication needs.

BackendWebSocketperformance
0 likes · 6 min read
Choosing the Right Java WebSocket Solution: Pros, Cons, and Performance Insights
Laravel Tech Community
Laravel Tech Community
Sep 19, 2020 · Backend Development

PHP chmod Function: Changing File Permissions

The PHP chmod function changes a file's permission mode by specifying the file path and an octal mode value, returning true on success and false on failure, with detailed parameter descriptions and multiple code examples illustrating correct and incorrect usage.

BackendFilesystemchmod
0 likes · 3 min read
PHP chmod Function: Changing File Permissions
JavaEdge
JavaEdge
Sep 19, 2020 · Backend Development

Mastering Spring Bean Definitions: Naming, Aliases, and Instantiation

Learn how Spring stores bean metadata, the structure of BeanDefinition, naming conventions, alias configuration, and various bean instantiation methods—including constructors, static and instance factory methods—while also discovering how to determine a bean's runtime type using BeanFactory.getType.

BackendBeanDefinitionJava
0 likes · 11 min read
Mastering Spring Bean Definitions: Naming, Aliases, and Instantiation
ITPUB
ITPUB
Sep 19, 2020 · Backend Development

Inside the Backend Architecture of 58.com’s Intelligent Voice Robot

This article details the design and implementation of 58.com’s intelligent voice robot backend, covering its four‑layer architecture, SIP/SDP/RTP protocols, connection setup, multi‑turn voice interaction flow, DTMF handling, common troubleshooting issues, algorithm service modularization, SIP scheduling optimizations, and Java thread‑pool system tuning.

AIBackendSIP
0 likes · 13 min read
Inside the Backend Architecture of 58.com’s Intelligent Voice Robot
IT Xianyu
IT Xianyu
Sep 19, 2020 · Backend Development

Using MyBatis Dynamic SQL Tags (if, choose, trim, foreach, bind) for Conditional Queries and Updates

This article explains how MyBatis dynamic SQL tags such as if, choose, trim, foreach, and bind can be used to build flexible SELECT, INSERT, UPDATE, and DELETE statements, showing code examples, test cases, and best‑practice tips for handling optional parameters and batch operations in Java backend development.

BackendDynamic SQLJava
0 likes · 20 min read
Using MyBatis Dynamic SQL Tags (if, choose, trim, foreach, bind) for Conditional Queries and Updates
Top Architect
Top Architect
Sep 18, 2020 · Backend Development

Microservice Architecture Evolution: From Monolith to Service Mesh

This article walks through the evolution of an online supermarket from a simple monolithic web application to a fully decomposed microservice architecture, highlighting the challenges of scaling, the need for monitoring, tracing, service discovery, fault tolerance, and the eventual adoption of a service mesh.

BackendMicroservicesService Mesh
0 likes · 23 min read
Microservice Architecture Evolution: From Monolith to Service Mesh
Laravel Tech Community
Laravel Tech Community
Sep 17, 2020 · Backend Development

PHP chdir() Function: Change Working Directory

This article explains the PHP chdir() function, its syntax, parameters, return values, and provides a practical example showing how to change the current working directory and verify the change using getcwd().

BackendFilesystemPHP
0 likes · 1 min read
PHP chdir() Function: Change Working Directory
Top Architect
Top Architect
Sep 17, 2020 · Backend Development

Cache Consistency Strategies: Cache‑Aside Pattern, Deleting vs. Updating Cache, and Queue‑Based Solutions for High Concurrency

The article explains how distributed cache‑aside patterns work, why deleting stale cache entries is often preferable to updating them, analyzes basic and complex cache‑database inconsistency scenarios, and proposes a JVM‑queue‑driven, single‑threaded update mechanism with practical considerations for high‑concurrency environments.

BackendConsistencyDistributed Systems
0 likes · 11 min read
Cache Consistency Strategies: Cache‑Aside Pattern, Deleting vs. Updating Cache, and Queue‑Based Solutions for High Concurrency
Ctrip Technology
Ctrip Technology
Sep 17, 2020 · Backend Development

Evolution of CTrip's Microservice Framework: From Self‑Developed Service Framework to CDubbo and Service Mesh

This article details CTrip's journey from its early .Net‑based ESB architecture through a self‑developed Java microservice framework to the current CDubbo platform, covering registration, monitoring, dynamic configuration, protocol compatibility, performance gains, extensibility, and future Service Mesh integration.

BackendCloud NativeDubbo
0 likes · 15 min read
Evolution of CTrip's Microservice Framework: From Self‑Developed Service Framework to CDubbo and Service Mesh
IT Architects Alliance
IT Architects Alliance
Sep 15, 2020 · Backend Development

Step‑by‑Step Guide to Deploying a Multi‑Node Kafka Cluster

This tutorial walks through setting up a four‑node Kafka cluster—including Zookeeper installation, broker configuration, service startup, replication settings, fault handling, and leader election—using Linux commands and detailed code snippets to help readers build a production‑ready streaming platform.

BackendCluster DeploymentKafka
0 likes · 14 min read
Step‑by‑Step Guide to Deploying a Multi‑Node Kafka Cluster
Laravel Tech Community
Laravel Tech Community
Sep 15, 2020 · Backend Development

PHP is_dir() Function: Determine if a Path is a Directory

This article explains the PHP is_dir() function, describing its purpose to check whether a given filename refers to an existing directory, detailing its parameter, return values, and providing example code snippets demonstrating true and false outcomes for various path inputs.

BackendPHPfile system
0 likes · 2 min read
PHP is_dir() Function: Determine if a Path is a Directory
Programmer DD
Programmer DD
Sep 15, 2020 · Backend Development

Build and Deploy a Spring Boot App Using Alibaba Cloud Development Platform

This article walks through creating, configuring, testing, and deploying a Spring Boot application on Alibaba Cloud's Development Platform, covering both online and local development modes, CI/CD pipelines, environment management, and practical tips for smoother serverless workflows.

Alibaba CloudBackendCloud Development Platform
0 likes · 10 min read
Build and Deploy a Spring Boot App Using Alibaba Cloud Development Platform
Laravel Tech Community
Laravel Tech Community
Sep 14, 2020 · Backend Development

PHP rmdir() Function: Deleting Directories

The PHP rmdir() function removes an empty directory with proper permissions, returning TRUE on success or FALSE on failure, and the article explains its parameters, return values, and provides cross‑platform code examples for safely deleting directories.

BackendFilesystemPHP
0 likes · 2 min read
PHP rmdir() Function: Deleting Directories
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 14, 2020 · Backend Development

Implementing Spring Event‑Driven Architecture with Asynchronous Listeners

This article explains how to use Spring's event‑driven mechanism to decouple business operations such as saving a product and sending notifications, showing step‑by‑step code for custom events, publishing, asynchronous listeners, and custom thread‑pool configuration to improve resilience and maintainability.

BackendEvent-drivenJava
0 likes · 5 min read
Implementing Spring Event‑Driven Architecture with Asynchronous Listeners
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Sep 13, 2020 · Backend Development

How to Build a Django Server Performance Dashboard for CPU, Memory, and Process Monitoring

This guide walks through creating a Django‑based monitoring system that collects CPU, memory, and process metrics from MySQL, defines models, runs migrations, implements views that format data for Highcharts, builds HTML templates with interactive charts, configures URLs, and runs the server to display real‑time performance dashboards.

BackendDjangohighcharts
0 likes · 14 min read
How to Build a Django Server Performance Dashboard for CPU, Memory, and Process Monitoring
Code Ape Tech Column
Code Ape Tech Column
Sep 13, 2020 · Backend Development

Why MyBatis Mapper Methods Cannot Be Overloaded and How to Locate Their Corresponding SQL in XML

This article explains, from source‑code analysis, why MyBatis mapper methods cannot be overloaded, shows the resulting BeanCreationException, walks through the MyBatis‑SpringBoot auto‑configuration that builds SqlSessionFactory, and demonstrates how to trace a mapper method to the exact SQL statement defined in the XML mapping file.

BackendJavaMyBatis
0 likes · 8 min read
Why MyBatis Mapper Methods Cannot Be Overloaded and How to Locate Their Corresponding SQL in XML
Java Backend Technology
Java Backend Technology
Sep 13, 2020 · Backend Development

How to Build a Robust Idempotent Framework for Distributed Systems

This article explains why idempotency is essential, presents simple database‑based and concurrency‑safe implementations, and then details a generic, annotation‑driven idempotent framework with multi‑level storage, code examples, and deployment guidelines for Java backend services.

BackendDistributed SystemsIdempotency
0 likes · 12 min read
How to Build a Robust Idempotent Framework for Distributed Systems
Laravel Tech Community
Laravel Tech Community
Sep 11, 2020 · Backend Development

Understanding PHP preg_match() Function with Detailed Examples

This article explains the PHP preg_match() function, its parameters, return values, and optional flags, and provides four practical code examples demonstrating simple pattern matching, word‑boundary searches, URL host extraction, and named‑capture groups for extracting data.

Backendpattern-matchingphp-functions
0 likes · 4 min read
Understanding PHP preg_match() Function with Detailed Examples
JavaEdge
JavaEdge
Sep 11, 2020 · Backend Development

How to Prevent Cache Avalanche, Penetration, and Stampede in Redis

The article explains three common Redis cache problems—avalanche, penetration, and stampede—detailing their causes, impacts on system stability, and practical mitigation techniques such as random expiration, Bloom filters, mutex locks, and rate limiting, accompanied by code examples.

BackendCacheavalanche
0 likes · 7 min read
How to Prevent Cache Avalanche, Penetration, and Stampede in Redis
360 Tech Engineering
360 Tech Engineering
Sep 11, 2020 · Backend Development

Key New Features of Java 11 and Practical Migration Guide

This guide explains why Java 11 is worth adopting, lists its major language and API enhancements over Java 8—including var type inference, improved collections, stream and HTTP client APIs—and provides detailed solutions for common migration issues such as missing JAXB modules and container‑aware JVM behavior.

BackendContainerHttpClient
0 likes · 6 min read
Key New Features of Java 11 and Practical Migration Guide
Youzan Coder
Youzan Coder
Sep 11, 2020 · Backend Development

Log-Based Replay and Comparison System for Gateway Migration Verification

The team built a log‑based replay framework that pulls and cleans old gateway logs, samples requests, concurrently replays them against both old and new gateways, automatically compares JSON responses with configurable ignore rules, retries failures, and uses matching response distributions to safely verify and migrate thousands of APIs.

Automated TestingBackendPython
0 likes · 13 min read
Log-Based Replay and Comparison System for Gateway Migration Verification
Java Backend Technology
Java Backend Technology
Sep 10, 2020 · Backend Development

Designing a Billion-Scale Feed Stream System: Architecture & Best Practices

This article explains how to design a high‑performance, billion‑user feed stream system, covering product definition, data modeling, storage choices, synchronization modes, metadata handling, commenting, likes, search, sorting, deletion, updates, and practical architecture examples for different feed‑type applications.

BackendScalabilitySystem Architecture
0 likes · 22 min read
Designing a Billion-Scale Feed Stream System: Architecture & Best Practices
Xianyu Technology
Xianyu Technology
Sep 9, 2020 · Backend Development

Xianyu Product Attribute Completion Strategy

Xianyu’s new attribute completion system combines MetaQ messaging, AI image recognition, and offline option configuration to auto‑populate key product details, incentivize sellers, and iteratively refine attributes via sales metrics, boosting structured coverage by 30%, cutting verification time 70%, and raising UV‑CTR around three percent.

BackendXianyualgorithm
0 likes · 7 min read
Xianyu Product Attribute Completion Strategy
Zhuanzhuan Tech
Zhuanzhuan Tech
Sep 9, 2020 · Backend Development

Design and Implementation of ZZSCHEDULE: A Distributed Task Scheduling Platform Based on XXL-JOB

This article presents the background, core features, system architecture, internal mechanisms, and practical extensions of ZZSCHEDULE, a distributed task scheduling platform built on the open‑source XXL‑JOB framework, detailing its design goals, HA strategies, task dependency handling, and deployment experiences at Zhuanzhuan.

BackendDistributed SchedulingMicroservices
0 likes · 17 min read
Design and Implementation of ZZSCHEDULE: A Distributed Task Scheduling Platform Based on XXL-JOB
Laravel Tech Community
Laravel Tech Community
Sep 8, 2020 · Backend Development

Unified Multi-Account Login: Architecture, Flow, and Database Design

This article explains the technical solutions for unified multi‑account login in web applications, covering early‑stage username/password and mobile verification flows, detailed process steps, OAuth2.0 third‑party integration, and comprehensive database schema design for local and third‑party user authentication.

AuthenticationBackendDatabase design
0 likes · 8 min read
Unified Multi-Account Login: Architecture, Flow, and Database Design
Laravel Tech Community
Laravel Tech Community
Sep 8, 2020 · Backend Development

Using preg_split() to Split Strings with Regular Expressions in PHP

This article explains the PHP preg_split() function, its signature, parameters, return values, and provides multiple code examples demonstrating how to split strings using regular expressions, control split limits, and apply flags such as PREG_SPLIT_NO_EMPTY and PREG_SPLIT_OFFSET_CAPTURE.

Backendphp-functionspreg_split
0 likes · 3 min read
Using preg_split() to Split Strings with Regular Expressions in PHP
Selected Java Interview Questions
Selected Java Interview Questions
Sep 8, 2020 · Databases

Database Cache Consistency Strategies: Using Redis as a MySQL Cache

This article explains the concept of caching, why database caching with Redis is needed for MySQL, the consistency challenges it introduces, and compares four practical solutions—TTL, write‑through, message‑queue, and binlog replication—offering guidance on selecting the appropriate approach for different latency and reliability requirements.

BackendCachedatabase
0 likes · 8 min read
Database Cache Consistency Strategies: Using Redis as a MySQL Cache
Laravel Tech Community
Laravel Tech Community
Sep 6, 2020 · Backend Development

PHP str_split() Function – Convert a String to an Array

The article explains PHP's str_split() function, which converts a string into an array of characters or fixed‑length chunks, details its parameters and return behavior, and provides example code with output, including demonstrating how split_length affects the result.

ArrayBackendPHP
0 likes · 2 min read
PHP str_split() Function – Convert a String to an Array
Java Architect Essentials
Java Architect Essentials
Sep 6, 2020 · Backend Development

Custom Swagger UI for Think‑Vuele: Implementation, Usage, and Performance Optimizations

This article introduces a self‑implemented Swagger UI built on think‑vuele, explains its architecture and dependencies, provides step‑by‑step usage instructions and Maven integration, and details performance optimizations such as API summary loading, mock data generation, and customizable request headers.

APIBackendDocumentation
0 likes · 5 min read
Custom Swagger UI for Think‑Vuele: Implementation, Usage, and Performance Optimizations
Laravel Tech Community
Laravel Tech Community
Sep 5, 2020 · Backend Development

Using PHP chunk_split() to Split Strings into Fixed‑Size Chunks

This article explains PHP's chunk_split() function, detailing its purpose of dividing a string into fixed-size pieces, describing its parameters (body, chunklen, end), return value, and providing a practical example that formats base64‑encoded data according to RFC 2045.

BackendBase64chunk_split
0 likes · 2 min read
Using PHP chunk_split() to Split Strings into Fixed‑Size Chunks
Laravel Tech Community
Laravel Tech Community
Sep 4, 2020 · Fundamentals

Comprehensive Collection of Regular Expressions for Data Validation

An extensive compilation of regular expressions covering numeric, character, email, URL, phone, ID, password, date, IP, and other validation patterns, complete with examples and explanations, providing developers a ready reference for implementing robust input validation across various programming contexts.

@DataBackendinput validation
0 likes · 5 min read
Comprehensive Collection of Regular Expressions for Data Validation
Laravel Tech Community
Laravel Tech Community
Sep 4, 2020 · Backend Development

Using PHP implode() to Convert an Array into a String

This article explains how the PHP implode() function joins the values of a one‑dimensional array into a single string, describes its parameters and return value, and provides clear code examples demonstrating typical usage and edge cases.

ArrayBackendPHP
0 likes · 2 min read
Using PHP implode() to Convert an Array into a String
Architects Research Society
Architects Research Society
Sep 4, 2020 · Frontend Development

Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method

This article compares three real‑time data delivery techniques—long/short polling, Server‑Sent Events, and WebSockets—explaining their mechanisms, advantages, drawbacks, and providing sample client‑server implementations to help developers select the most suitable approach for a dashboard that streams GitHub/Twitter activity.

BackendJavaScriptPolling
0 likes · 12 min read
Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method
Programmer DD
Programmer DD
Sep 4, 2020 · Backend Development

How to Integrate QQ Login in Spring Boot: Step‑by‑Step Guide

This tutorial walks you through registering a QQ Connect application, adding the required Maven dependency, creating the login page, implementing the Spring Boot controller and AuthComment utility class, configuring Freemarker, and handling the OAuth flow to achieve seamless QQ authentication in a Java backend.

AuthenticationBackendOAuth
0 likes · 10 min read
How to Integrate QQ Login in Spring Boot: Step‑by‑Step Guide
Code Ape Tech Column
Code Ape Tech Column
Sep 3, 2020 · Backend Development

Master MyBatis Result Mapping: From Alias to Nested Associations

This article explains MyBatis result mapping techniques—including alias mapping, camel‑case automatic mapping, explicit resultMap definitions, and advanced one‑to‑one and one‑to‑many associations—providing code examples, configuration details, and performance considerations such as the N+1 query problem.

AssociationBackendJava
0 likes · 16 min read
Master MyBatis Result Mapping: From Alias to Nested Associations
Selected Java Interview Questions
Selected Java Interview Questions
Sep 2, 2020 · Backend Development

Three Ways to Start a Spring Boot Application

This article explains the three primary ways to launch a Spring Boot application—running a class with a main method, using the java -jar command, and leveraging the spring-boot-maven-plugin—along with code examples, configuration details, and Maven command options.

BackendJavaSpring Boot
0 likes · 5 min read
Three Ways to Start a Spring Boot Application
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Sep 2, 2020 · Backend Development

How to Enable Dubbo Application‑Level Service Discovery in 2.7.5

This guide explains why Dubbo introduced application‑level service discovery, how it differs from interface‑level registration, and provides step‑by‑step instructions—including Docker‑based Zookeeper setup, source code configuration, and code examples—to enable and test the new feature in Dubbo 2.7.5.

BackendZooKeeperservice discovery
0 likes · 6 min read
How to Enable Dubbo Application‑Level Service Discovery in 2.7.5
Top Architect
Top Architect
Sep 1, 2020 · Backend Development

Improving Order Number Generation to Avoid Duplicates in High‑Concurrency Java Applications

The article analyzes a real‑world incident where duplicate order IDs were generated under high concurrency, demonstrates the shortcomings of the original Java implementation, and presents a thread‑safe redesign using AtomicInteger, Java 8 date‑time API and container IP suffix to guarantee unique identifiers across parallel requests and clustered instances.

BackendDistributed SystemsJava
0 likes · 11 min read
Improving Order Number Generation to Avoid Duplicates in High‑Concurrency Java Applications
Top Architect
Top Architect
Sep 1, 2020 · Game Development

Why Game Companies’ Servers Are Reluctant to Adopt Microservices

The article explains, through interview excerpts, why many game studios avoid microservice architectures for their real‑time servers, highlighting latency‑sensitive communication, stateful processing, and the overhead of distributed networking that conflict with the performance demands of modern multiplayer games.

BackendDistributed SystemsMicroservices
0 likes · 8 min read
Why Game Companies’ Servers Are Reluctant to Adopt Microservices
Laravel Tech Community
Laravel Tech Community
Aug 31, 2020 · Backend Development

Using PHP fgetcsv() to Read and Parse CSV Files

This article explains the PHP fgetcsv() function, its parameters, return values, and provides a complete example showing how to open a CSV file, read each line as an array of fields, and process the data in a backend script.

BackendTutorialfgetcsv
0 likes · 3 min read
Using PHP fgetcsv() to Read and Parse CSV Files
Laravel Tech Community
Laravel Tech Community
Aug 30, 2020 · Backend Development

PHP ltrim() Function: Removing Leading Characters from Strings

The article explains PHP's ltrim() function, its syntax, parameters, default characters removed, and provides example code demonstrating how to strip whitespace or custom characters from the start of a string, including removing ASCII control characters.

BackendPHPString Manipulation
0 likes · 3 min read
PHP ltrim() Function: Removing Leading Characters from Strings
Java Architect Essentials
Java Architect Essentials
Aug 29, 2020 · Backend Development

Understanding Distributed Locks, Session Management, Maven Configuration, and Caching in Backend Architecture

This article explains the fundamentals of backend architecture, covering Maven's settings.xml, front‑back separation, various types of locks (thread, process, distributed), detailed Redis‑based and Zookeeper‑based distributed lock implementations with code examples, session handling in distributed systems, and key Spring‑Redis caching annotations.

BackendJavaSession
0 likes · 15 min read
Understanding Distributed Locks, Session Management, Maven Configuration, and Caching in Backend Architecture
Laravel Tech Community
Laravel Tech Community
Aug 29, 2020 · Backend Development

PHP rtrim() Function: Removing Trailing Characters

This article explains the PHP rtrim() function, describing how it removes trailing whitespace or specified characters from a string, detailing its parameters and return value, and providing multiple code examples that demonstrate typical usage and edge‑case handling.

BackendTutorialrtrim
0 likes · 3 min read
PHP rtrim() Function: Removing Trailing Characters
FunTester
FunTester
Aug 28, 2020 · Backend Development

JsonPath Functions for Array Operations: min, max, avg, stddev, length, sum

This article demonstrates how to use JsonPath's built‑in functions such as $.ss.min(), $.ss.max(), $.ss.avg(), $.ss.stddev(), $.ss.length() and $.ss.sum() to compute minimum, maximum, average, standard deviation, length and sum of JSON array elements, providing Java code examples and expected console output.

BackendJSONarray functions
0 likes · 6 min read
JsonPath Functions for Array Operations: min, max, avg, stddev, length, sum
Programmer DD
Programmer DD
Aug 28, 2020 · Backend Development

Master Spring Validation: Best Practices and Advanced Techniques

This article provides a comprehensive guide to Spring Validation, covering basic usage, dependency setup, requestBody and requestParam validation, group and nested validation, collection checks, custom constraints, programmatic validation, fail‑fast configuration, and the underlying implementation mechanisms within Spring MVC and Hibernate Validator.

BackendHibernatespring
0 likes · 17 min read
Master Spring Validation: Best Practices and Advanced Techniques
Laravel Tech Community
Laravel Tech Community
Aug 27, 2020 · Backend Development

PHP trim() Function: Removing Whitespace and Specified Characters

This article explains PHP's trim() function, detailing how it removes leading and trailing whitespace or custom characters, describes its parameters and return value, and provides multiple code examples demonstrating default usage, custom character lists, and applying trim via array_walk.

.trimBackendString
0 likes · 3 min read
PHP trim() Function: Removing Whitespace and Specified Characters
Su San Talks Tech
Su San Talks Tech
Aug 27, 2020 · Backend Development

Unveiling Spring Transaction Mechanics: From Annotations to Core Interceptors

This article dives deep into Spring's transaction infrastructure, explaining how @EnableTransactionManagement activates transaction support, detailing the roles of key configuration classes, core interceptors, transaction attribute resolution, propagation behaviors, and the commit‑and‑rollback processes that power reliable data operations in Spring and Spring Boot applications.

BackendSpringBootaop
0 likes · 32 min read
Unveiling Spring Transaction Mechanics: From Annotations to Core Interceptors
macrozheng
macrozheng
Aug 25, 2020 · Backend Development

How Does Java Stream’s Pipeline Work Under the Hood?

This article explains the internal mechanics of Java Stream’s pipeline, covering how operations are recorded as stages, how intermediate and terminal operations are composed via the Sink interface, and why the implementation achieves lazy evaluation and efficient parallel execution.

BackendJavaPipeline
0 likes · 22 min read
How Does Java Stream’s Pipeline Work Under the Hood?
Laravel Tech Community
Laravel Tech Community
Aug 24, 2020 · Backend Development

Using mb_send_mail() to Send Encoded Emails in PHP

This article explains how the PHP mb_send_mail() function works as a wrapper for mail(), detailing its parameters, return values, and providing a complete example that demonstrates sending Japanese‑encoded email bodies, subjects, and headers with proper MIME settings.

BackendEmailencoding
0 likes · 3 min read
Using mb_send_mail() to Send Encoded Emails in PHP
Programmer DD
Programmer DD
Aug 24, 2020 · Backend Development

Mastering Java CompletableFuture: 20 Practical Async Examples

This article explains how Java's CompletableFuture and CompletionStage APIs enable asynchronous programming without external libraries, providing detailed explanations and 20 code examples that cover creation, chaining, combining, exception handling, cancellation, and execution with custom executors.

BackendCompletableFutureasynchronous programming
0 likes · 19 min read
Mastering Java CompletableFuture: 20 Practical Async Examples
Java Architect Essentials
Java Architect Essentials
Aug 23, 2020 · Backend Development

Understanding Spring Cloud Microservice Architecture: Service Governance, Discovery, and Core Components

This article introduces Spring Cloud as a Spring Boot‑based microservice framework, explains the fundamentals of service architecture through an illustrative story, and details essential components such as service registry, discovery, load balancing, circuit breaking, configuration management, messaging bus, and tracing, accompanied by practical code examples.

BackendMicroservicescircuit-breaker
0 likes · 12 min read
Understanding Spring Cloud Microservice Architecture: Service Governance, Discovery, and Core Components
Top Architect
Top Architect
Aug 21, 2020 · Backend Development

Various Approaches to Service Decomposition in Microservice Architecture

The article explores multiple expert perspectives on how to split monolithic applications into microservices, discussing vertical and horizontal decomposition, business logic, stability, reliability, performance, team size, and practical trade‑offs to guide architects in designing scalable, maintainable systems.

BackendMicroserviceScalability
0 likes · 9 min read
Various Approaches to Service Decomposition in Microservice Architecture
Code Ape Tech Column
Code Ape Tech Column
Aug 21, 2020 · Fundamentals

Mastering Java Threads: From Basics to Priority and State Management

This article explains the fundamentals of Java threads, contrasting them with processes, demonstrates thread creation via extending Thread and implementing Runnable, discusses the benefits of multithreading, covers thread priority settings, and details the lifecycle states and transitions with practical code examples.

BackendJavaThreads
0 likes · 9 min read
Mastering Java Threads: From Basics to Priority and State Management
Laravel Tech Community
Laravel Tech Community
Aug 20, 2020 · Backend Development

Using mb_strcut() to Extract Substrings by Bytes in PHP

This article explains how the PHP mb_strcut() function extracts a substring based on byte positions, compares it with mb_substr() and substr(), details its parameters and return value, and provides a complete example demonstrating byte‑level string cutting for multibyte text.

Backendmb_strcutstring-manipulation
0 likes · 3 min read
Using mb_strcut() to Extract Substrings by Bytes in PHP