Tagged articles

backend

5000 articles · Page 48 of 50
Laravel Tech Community
Laravel Tech Community
Jan 23, 2021 · Backend Development

PHP floor() Function – Truncating Float to Integer

The article explains PHP's floor() function, describing its signature, parameter, return type, and provides example code showing how it truncates floating‑point numbers to the nearest lower integer, with sample outputs for positive and negative values.

FunctionRoundingbackend
0 likes · 2 min read
PHP floor() Function – Truncating Float to Integer
JavaEdge
JavaEdge
Jan 23, 2021 · Fundamentals

Demystifying Java Class Loading: From Load to Initialization

This article explains how the Java Virtual Machine loads .class files into memory, detailing the three-stage process of loading, linking (verification, preparation, resolution), and initialization, while also covering array loading, custom class loaders, and common pitfalls such as deprecated APIs and verification options.

ClassLoaderClassLoadingJVM
0 likes · 10 min read
Demystifying Java Class Loading: From Load to Initialization
php Courses
php Courses
Jan 22, 2021 · Backend Development

Laravel Eloquent Model Tips: Selecting Attributes, Cloning, Comparing, Refreshing, Updating Relations, Soft Deletes, and Change Detection

This article presents a collection of practical Laravel Eloquent model techniques, including selecting specific attributes with find, cloning models via replicate, comparing models with is, refreshing and reloading records, updating related models with push, customizing soft‑delete columns, and detecting attribute changes using getChanges, getDirty, and getOriginal.

DatabaseEloquentModel
0 likes · 5 min read
Laravel Eloquent Model Tips: Selecting Attributes, Cloning, Comparing, Refreshing, Updating Relations, Soft Deletes, and Change Detection
Laravel Tech Community
Laravel Tech Community
Jan 20, 2021 · Backend Development

deg2rad() – Convert Degrees to Radians in PHP

The article explains PHP’s deg2rad() function, detailing its signature, parameter, return value, and provides example code that demonstrates converting 45 degrees to radians and verifying the result against the constant M_PI_4 in PHP.

ConversionPHPbackend
0 likes · 1 min read
deg2rad() – Convert Degrees to Radians in PHP
Laravel Tech Community
Laravel Tech Community
Jan 19, 2021 · Backend Development

PHP decoct Function – Convert Decimal to Octal

This article explains the PHP decoct function, which returns the octal representation of a given decimal integer, details its parameter and return value, and provides example code demonstrating conversions such as 15 → 17 and 264 → 410.

ConversionPHPbackend
0 likes · 2 min read
PHP decoct Function – Convert Decimal to Octal
JavaEdge
JavaEdge
Jan 18, 2021 · Backend Development

How to Pick the Right RPC Framework: Dubbo, Motan, Spring Cloud, gRPC, Thrift

This article surveys major RPC frameworks—including Dubbo, Motan, Spring Cloud, gRPC, and Thrift—detailing their architectures, communication protocols, serialization formats, cross‑language support, and ecosystem components, and offers guidance on selecting the most suitable framework based on language requirements, performance, and feature completeness.

JavaRPCThrift
0 likes · 12 min read
How to Pick the Right RPC Framework: Dubbo, Motan, Spring Cloud, gRPC, Thrift
IT Architects Alliance
IT Architects Alliance
Jan 18, 2021 · Backend Development

10 Essential Microservice Design Patterns Every Architect Should Know

This comprehensive guide explains the evolution, core concepts, advantages, drawbacks, and practical usage scenarios of microservice architecture, then details ten critical design patterns—including database per service, event sourcing, CQRS, Saga, BFF, API gateway, Strangler, circuit breaker, externalized configuration, and consumer‑driven contract testing—providing concrete examples, pros, cons, and technology recommendations.

Design Patternsarchitecturebackend
0 likes · 28 min read
10 Essential Microservice Design Patterns Every Architect Should Know
Laravel Tech Community
Laravel Tech Community
Jan 17, 2021 · Backend Development

decbin() – Convert Decimal to Binary in PHP

The article explains PHP’s decbin() function, detailing its purpose of converting a decimal integer (0‑4294967295) to a 32‑bit binary string, describing its parameter and return value, and providing a complete code example with expected output.

PHPbackendbinary conversion
0 likes · 1 min read
decbin() – Convert Decimal to Binary in PHP
Top Architect
Top Architect
Jan 16, 2021 · Backend Development

Designing a Unified API Response Structure with @ResponseResult in Spring Backend

This article explains how to design a unified API response format in a Spring backend by defining a JSON result structure, using standardized status codes, creating a @ResponseResult annotation, and implementing interceptors and ResponseBodyAdvice to automatically wrap controller outputs for cleaner, more maintainable code.

APIAnnotationJava
0 likes · 8 min read
Designing a Unified API Response Structure with @ResponseResult in Spring Backend
FunTester
FunTester
Jan 15, 2021 · Operations

Customizing Request Marking for Java API Performance Testing

This article explains how to modify a Java search API and write custom performance‑testing scripts that embed unique request marks, enabling precise measurement of each request's response time when header‑based marking is unavailable.

APIJavaScripting
0 likes · 6 min read
Customizing Request Marking for Java API Performance Testing
Laravel Tech Community
Laravel Tech Community
Jan 14, 2021 · Backend Development

PHP ceil() Function: Rounding Up to the Next Integer

This article explains PHP’s ceil() function, describing how it rounds a floating‑point number up to the smallest integer not less than the given value, details its parameter and return type, and provides example code with expected outputs.

PHPRoundingbackend
0 likes · 2 min read
PHP ceil() Function: Rounding Up to the Next Integer
Laravel Tech Community
Laravel Tech Community
Jan 14, 2021 · Backend Development

Release Notes for libp2p‑rs: New Features, Improvements, and Bug Fixes

The libp2p‑rs update introduces beta‑value termination for Kad‑DHT queries, timeout mechanisms, routing table refresh, node keep‑alive, identify event handling, outbound sub‑stream reuse, query statistics, a debuggable CLI, and adds experimental floodsub, mdns, parallel dialing, Prometheus exporter, and other enhancements.

DHTNetworkingRust
0 likes · 3 min read
Release Notes for libp2p‑rs: New Features, Improvements, and Bug Fixes
dbaplus Community
dbaplus Community
Jan 14, 2021 · Backend Development

How Vivo Scaled Its E‑Commerce Order System with Sharding, Migration, and Distributed Transactions

This article details how Vivo transformed its monolithic v1.0 online‑store into a service‑oriented order system by separating the order module, applying data archiving, caching, read‑write splitting, sharding‑sphere based database sharding, synchronizing MySQL changes to Elasticsearch, handling distributed transactions, and safely migrating to a new database cluster.

backenddatabase-migrationdistributed-transactions
0 likes · 17 min read
How Vivo Scaled Its E‑Commerce Order System with Sharding, Migration, and Distributed Transactions
21CTO
21CTO
Jan 14, 2021 · Backend Development

Why GraphQL Is the Future of API Design: Overcoming REST’s Limitations

This article explains how REST’s coarse‑grained, redundant interfaces hinder front‑end efficiency, then introduces GraphQL as a flexible, declarative alternative that automatically adapts to changing data requirements, reduces API proliferation, and streamlines backend‑frontend communication.

API designGraphQLREST
0 likes · 16 min read
Why GraphQL Is the Future of API Design: Overcoming REST’s Limitations
Top Architect
Top Architect
Jan 14, 2021 · Backend Development

Understanding Spring Transaction Management: Mechanisms, Common Pitfalls, and Best Practices

This article explains how Spring transaction management works, details its declarative and programmatic integration methods, examines core implementation classes and AOP proxies, and highlights frequent pitfalls such as ineffective transactions, rollback failures, and timeout issues, providing code examples and solutions for Java backend developers.

AOPJavaSpring
0 likes · 21 min read
Understanding Spring Transaction Management: Mechanisms, Common Pitfalls, and Best Practices
macrozheng
macrozheng
Jan 14, 2021 · Backend Development

Mastering CORS in Spring Boot: Simple Configurations to Eliminate Cross‑Origin Errors

This article explains the Same Origin Policy, introduces the CORS standard, details simple and preflight request handling, lists essential response headers, and provides three practical Spring Boot solutions—including global configuration, a servlet filter, and the @CrossOrigin annotation—to resolve cross‑origin issues.

CORSCross-OriginSpring Boot
0 likes · 10 min read
Mastering CORS in Spring Boot: Simple Configurations to Eliminate Cross‑Origin Errors
Code Ape Tech Column
Code Ape Tech Column
Jan 14, 2021 · Information Security

Implementing API Signature for Secure Backend Communication

This article explains how to protect front‑end/back‑end separated interfaces by designing an API signature scheme that includes appId, appSecret, timestamp, nonce and signature, detailing the generation process, request validation, anti‑replay measures and implementation using a custom filter in Java.

APIJavaSignature
0 likes · 6 min read
Implementing API Signature for Secure Backend Communication
Laravel Tech Community
Laravel Tech Community
Jan 13, 2021 · Backend Development

PHP bindec() Function: Converting Binary Strings to Decimal

This article explains how the PHP bindec() function converts binary strings to their decimal equivalents, describes its parameters and return values, and provides example code with expected output for developers working on backend applications.

PHPbackendbinary conversion
0 likes · 2 min read
PHP bindec() Function: Converting Binary Strings to Decimal
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 13, 2021 · Information Security

Three Single Sign-On Mechanisms and Their Implementation Methods

The article introduces three single sign‑on mechanisms—stateless HTTP, session‑based, and login state—and compares three practical implementations: using a parent‑domain cookie, deploying an authentication centre, and sharing tokens via LocalStorage with iframe and postMessage, providing code examples and diagrams.

SSObackendfrontend
0 likes · 9 min read
Three Single Sign-On Mechanisms and Their Implementation Methods
Top Architect
Top Architect
Jan 13, 2021 · Backend Development

Eliminating if‑else Branches with Strategy Pattern, Map, and Chain of Responsibility in Java

This article demonstrates how to replace cumbersome if‑else or switch statements in Java backend receipt processing by applying the Strategy pattern with a Map dictionary, a simple factory, and the Chain of Responsibility pattern, while also showing reflective class loading for extensibility.

Chain of ResponsibilityDesign PatternsJava
0 likes · 13 min read
Eliminating if‑else Branches with Strategy Pattern, Map, and Chain of Responsibility in Java
Java Captain
Java Captain
Jan 13, 2021 · Backend Development

Scheduled Email Sending with Spring Boot, JavaMail, and HttpClient

This tutorial demonstrates how to build a Spring Boot Maven project that fetches random sentences from an online API, configures JavaMail with POP3/SMTP credentials, and uses a scheduled task to automatically send emails, including deployment tips for Linux and Windows.

EmailAutomationHttpClientScheduledTask
0 likes · 7 min read
Scheduled Email Sending with Spring Boot, JavaMail, and HttpClient
Architect
Architect
Jan 12, 2021 · Backend Development

Understanding RabbitMQ: Architecture, Message Routing, Persistence, Clustering, and Flow Control

This article explains RabbitMQ’s origins, core components, message publishing and consumption patterns, routing modes, persistence mechanisms, delivery guarantees, RPC support, clustering and mirrored‑queue designs, as well as its flow‑control strategy, providing a comprehensive overview for backend developers.

ClusteringPersistencebackend
0 likes · 13 min read
Understanding RabbitMQ: Architecture, Message Routing, Persistence, Clustering, and Flow Control
Top Architect
Top Architect
Jan 12, 2021 · Backend Development

Introduction to Mock Testing with Spring MVC and MockMvc

This article introduces mock testing for Spring MVC controllers, explains why mocks are useful, describes the main MockMvc components, shows required Maven dependencies, and provides complete example test cases for both view‑returning and JSON‑returning endpoints using JUnit and MockMvc.

JUnitJavaMockMvc
0 likes · 8 min read
Introduction to Mock Testing with Spring MVC and MockMvc
Qunar Tech Salon
Qunar Tech Salon
Jan 12, 2021 · Backend Development

Qunar 2020 Technical Article Collection: DDD, API, Backend, Infrastructure and System Design

This compilation presents Qunar's 2020 technical articles covering domain‑driven design, API standardization, backend services, Linux I/O, Redis distributed locks, GraphQL, JVM internals, and performance optimizations, offering detailed insights and practical guidance for engineers seeking to improve system architecture and operational efficiency.

APIDDDLinux
0 likes · 8 min read
Qunar 2020 Technical Article Collection: DDD, API, Backend, Infrastructure and System Design
Architects' Tech Alliance
Architects' Tech Alliance
Jan 12, 2021 · Cloud Native

Evolution of Microservice Architecture and Essential Technology Stack

This article traces the evolution of software architecture from monolithic to microservice models, explains the motivations behind each stage, and enumerates the essential technologies—including service communication, API gateways, authentication, logging, containerization, orchestration, and CI/CD—that enable modern cloud‑native microservice systems.

CI/CDbackendmicroservices
0 likes · 16 min read
Evolution of Microservice Architecture and Essential Technology Stack
Code Ape Tech Column
Code Ape Tech Column
Jan 12, 2021 · Backend Development

Master MyBatis Streaming Queries: Avoid Cursor Closure Errors with Three Simple Solutions

This article explains the concept of streaming queries in MyBatis, describes the Cursor interface and its methods, demonstrates common pitfalls that cause cursor closure errors, and provides three practical solutions—using SqlSessionFactory, TransactionTemplate, or @Transactional—to keep the database connection open during iteration.

JavaMyBatisSpring
0 likes · 8 min read
Master MyBatis Streaming Queries: Avoid Cursor Closure Errors with Three Simple Solutions
Code Ape Tech Column
Code Ape Tech Column
Jan 12, 2021 · Backend Development

How to Build a High‑Performance Search API with SQL and Redis Caching

This article walks through three progressively better implementations for a complex e‑commerce search API—starting with a monolithic SQL query, then splitting the query and adding indexes, and finally using Redis sets and sorted sets to cache filter results, handle pagination, and achieve production‑grade performance.

PaginationPerformanceRedis
0 likes · 8 min read
How to Build a High‑Performance Search API with SQL and Redis Caching
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 11, 2021 · Backend Development

How Streaming Output and Reactive Programming Boost Web Performance

This article explains the concepts of streaming output and reactive programming, describes the underlying HTTP chunked transfer, SSE, WebSocket and RSocket protocols, provides code examples, and outlines practical scenarios where end‑to‑end streaming improves performance and user experience.

HTTP Chunked TransferReactive ProgrammingSSE
0 likes · 18 min read
How Streaming Output and Reactive Programming Boost Web Performance
Laravel Tech Community
Laravel Tech Community
Jan 11, 2021 · Backend Development

PHP atanh() Function – Inverse Hyperbolic Tangent

The article explains PHP’s atanh() function, which computes the inverse hyperbolic tangent of a float argument, detailing its signature, parameter, return value, and providing sample code with expected outputs for various inputs.

PHPatanhbackend
0 likes · 1 min read
PHP atanh() Function – Inverse Hyperbolic Tangent
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 11, 2021 · Backend Development

Why Tengine’s access_log Shows Fast Times While Users See Delays – Uncover the Hidden Timing Secrets

This article explains how Tengine logs request timing, why the server‑side request_time_msec can appear short while clients experience longer delays, and provides practical methods to analyze access_log entries, understand upload/download latency differences, minimum download speeds, and special status codes such as 400, 408, and 499.

Access LogLoggingTengine
0 likes · 16 min read
Why Tengine’s access_log Shows Fast Times While Users See Delays – Uncover the Hidden Timing Secrets
Laravel Tech Community
Laravel Tech Community
Jan 9, 2021 · Backend Development

Master PHP’s atan2() Function: Compute Angles with Two Arguments

This article explains PHP’s atan2() function, detailing its signature, parameter meanings, return value, and provides multiple code examples that demonstrate how different x‑and y‑coordinate pairs produce specific radian results, helping developers correctly compute angles in backend applications.

PHPatan2backend
0 likes · 2 min read
Master PHP’s atan2() Function: Compute Angles with Two Arguments
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 9, 2021 · Backend Development

Preventing Redis Cache Avalanche: Interview Dialogue and Practical Solutions

This article presents an interview scenario where a candidate is asked about Redis cache avalanche, explains the phenomenon, and offers four practical mitigation strategies—including cache pre‑warming, mutex locking, staggered expiration, and high‑availability designs—to keep backend databases from being overwhelmed.

Cache AvalancheCaching StrategiesPerformance
0 likes · 4 min read
Preventing Redis Cache Avalanche: Interview Dialogue and Practical Solutions
dbaplus Community
dbaplus Community
Jan 9, 2021 · Backend Development

How We Refactored a 30k‑Line Ad Engine in One Month: Key Lessons

In this detailed case study, a team describes how they successfully refactored a 30,000‑line advertising engine within a month, covering the system's legacy challenges, preparation steps, execution tactics, testing strategies, and the seven critical takeaways that ensured a smooth, low‑risk rollout.

Ad TechProject ManagementRefactoring
0 likes · 11 min read
How We Refactored a 30k‑Line Ad Engine in One Month: Key Lessons
Laravel Tech Community
Laravel Tech Community
Jan 8, 2021 · Backend Development

PHP asinh() Function – Inverse Hyperbolic Sine

The PHP asinh() function returns the inverse hyperbolic sine of a given float argument, with a simple signature, description of its single parameter, return value, and example code demonstrating its usage and output values.

asinhbackendinverse hyperbolic sine
0 likes · 1 min read
PHP asinh() Function – Inverse Hyperbolic Sine
Architect
Architect
Jan 8, 2021 · Backend Development

Understanding RabbitMQ: AMQP Fundamentals, Exchange Types, Reliability Mechanisms, and High‑Availability Deployment

This article provides a comprehensive overview of RabbitMQ, covering AMQP core concepts, exchange and queue types, message reliability techniques such as confirms and returns, consumer flow‑control, TTL and dead‑letter handling, as well as clustering, federation, and HAProxy/Keepalived high‑availability solutions.

AMQPClusteringReliability
0 likes · 16 min read
Understanding RabbitMQ: AMQP Fundamentals, Exchange Types, Reliability Mechanisms, and High‑Availability Deployment
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 7, 2021 · Backend Development

Overview of Spring Core Components, IOC, AOP, and Related Technologies

This article provides a comprehensive guide to the Spring framework, covering its core modules, the concepts of Inversion of Control and Aspect‑Oriented Programming, various container implementations, proxy mechanisms, bean lifecycle, design patterns, MVC architecture, Spring Boot, Spring Cloud, and common annotations for Java backend development.

AOPJavaSpring
0 likes · 31 min read
Overview of Spring Core Components, IOC, AOP, and Related Technologies
Architecture Digest
Architecture Digest
Jan 7, 2021 · Backend Development

Optimizing Complex Search Queries with Redis: A Backend Development Case Study

This article walks backend developers through the challenges of implementing a multi‑criteria search interface, demonstrates three progressive solutions—from a monolithic SQL query to indexed sub‑queries and finally a Redis‑based caching strategy—while addressing performance, pagination, and data‑update concerns.

Performancebackend
0 likes · 8 min read
Optimizing Complex Search Queries with Redis: A Backend Development Case Study
Code Ape Tech Column
Code Ape Tech Column
Jan 7, 2021 · Backend Development

How Spring Solves Circular Dependencies: Inside the Three‑Cache Mechanism

This article explains how Spring resolves circular dependencies for singleton beans using a three‑level cache, contrasts it with prototype limitations, provides a minimal container implementation that mimics the mechanism, and draws an analogy to the classic two‑sum algorithm to illustrate the core caching principle.

Circular DependencyJavaSpring
0 likes · 11 min read
How Spring Solves Circular Dependencies: Inside the Three‑Cache Mechanism
Java Architect Essentials
Java Architect Essentials
Jan 6, 2021 · Backend Development

Designing a Unified API Response Format with Result Wrapper and @ResponseResult Annotation

This article explains how to standardize backend API responses by defining a JSON result structure, categorizing status codes, and using a custom @ResponseResult annotation with Spring's ResponseBodyAdvice to automatically wrap controller outputs, improving readability and error handling for front‑end developers.

APIAnnotationJava
0 likes · 9 min read
Designing a Unified API Response Format with Result Wrapper and @ResponseResult Annotation
Laravel Tech Community
Laravel Tech Community
Jan 6, 2021 · Backend Development

PHP acosh() Function – Inverse Hyperbolic Cosine

This article explains the PHP acosh() function, describing its purpose, parameter and return value, and provides example code demonstrating how to compute the inverse hyperbolic cosine of various numbers with the resulting outputs.

PHPacoshbackend
0 likes · 1 min read
PHP acosh() Function – Inverse Hyperbolic Cosine
HomeTech
HomeTech
Jan 6, 2021 · Backend Development

Using GraphQL to Reduce API Calls and Manage Data Complexity in Frontend Development

The article explains how the rapid growth of API endpoints and data fields in complex business scenarios can be mitigated by introducing a GraphQL middle‑layer built with Node.js, detailing schema design, resolvers, performance considerations, tooling, custom scalars, response formatting, caching, and security measures.

API optimizationGraphQLNode.js
0 likes · 15 min read
Using GraphQL to Reduce API Calls and Manage Data Complexity in Frontend Development
Laravel Tech Community
Laravel Tech Community
Jan 5, 2021 · Backend Development

PHP acos() Function – Inverse Cosine (Radians)

The PHP acos() function returns the arccosine of a given float argument in radians, detailing its signature, parameter description, return value, and providing example code with expected outputs for various inputs.

PHPacosbackend
0 likes · 1 min read
PHP acos() Function – Inverse Cosine (Radians)
ITPUB
ITPUB
Jan 5, 2021 · Backend Development

Prevent Redis Cache Penetration, Breakdown, and Avalanche Using Bloom Filters

This article explains common Redis cache problems—penetration, breakdown, and avalanche—detailing their causes, practical mitigation techniques such as request validation, caching empty results, Bloom filters, mutex locks, high‑availability setups, and provides Java code examples for implementing these solutions.

Bloom filterPerformancebackend
0 likes · 8 min read
Prevent Redis Cache Penetration, Breakdown, and Avalanche Using Bloom Filters
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 3, 2021 · Backend Development

Understanding Cache Penetration, Cache Breakdown, and Cache Avalanche in Redis

The article explains the concepts of cache penetration, cache breakdown, and cache avalanche in Redis, illustrates each problem with real‑world analogies, and presents practical mitigation techniques such as null caching, Bloom filters, mutex locks, asynchronous refresh, varied TTLs, and clustering to ensure robust backend performance.

CacheCache AvalancheCache Breakdown
0 likes · 6 min read
Understanding Cache Penetration, Cache Breakdown, and Cache Avalanche in Redis
Programmer DD
Programmer DD
Jan 3, 2021 · Backend Development

Why Spring Ecosystem Dominates Java: Surprising Top200 Rankings Unveiled

An in‑depth look at the latest Java Top‑200 project rankings reveals Spring’s ecosystem as the de‑facto standard, while contrasting tools such as Gradle versus Maven, Kafka versus Pulsar, Spring Security versus Shiro, and many others, highlighting performance, adoption and community strength across the backend landscape.

FrameworksJavaSpring
0 likes · 4 min read
Why Spring Ecosystem Dominates Java: Surprising Top200 Rankings Unveiled
21CTO
21CTO
Jan 1, 2021 · Backend Development

Python vs PHP for Web Development: Which Language Wins?

An in‑depth comparison of Python and PHP evaluates performance, complexity, flexibility, security, frameworks, and community support, helping developers decide which language better suits their web development projects based on project requirements, scalability, and ecosystem strengths.

PHPPythonbackend
0 likes · 8 min read
Python vs PHP for Web Development: Which Language Wins?
JavaEdge
JavaEdge
Jan 1, 2021 · Backend Development

Inside Kafka’s Network Stack: How SocketServer, Acceptor, and Processor Work

This article breaks down Kafka’s network communication layer, detailing the roles of SocketServer, the Acceptor thread, Processor threads, and related classes such as RequestChannel, KafkaRequestHandlerPool, and key configuration parameters, while illustrating their interactions with diagrams.

JavaKafkaReactor
0 likes · 7 min read
Inside Kafka’s Network Stack: How SocketServer, Acceptor, and Processor Work
Liangxu Linux
Liangxu Linux
Jan 1, 2021 · Backend Development

Boost Nginx Performance: Custom 404 Pages, Status Monitoring, and Concurrency Tuning

This guide walks through practical Nginx optimizations—including custom 404 error pages, enabling and reading the stub_status page, increasing worker processes and connections, expanding header buffers, and configuring client-side caching for static assets—complete with command‑line examples and configuration snippets.

Optimizationbackendnginx
0 likes · 8 min read
Boost Nginx Performance: Custom 404 Pages, Status Monitoring, and Concurrency Tuning
dbaplus Community
dbaplus Community
Jan 1, 2021 · Backend Development

Mastering Cache: From Local to Multi‑Level Strategies for High‑Performance Systems

This article shares a senior architect’s decade‑long journey with caching, covering page‑level and object caches, refresh mechanisms, distributed solutions like Redis and Memcached, pagination caching techniques, and multi‑level cache architectures, while highlighting practical pitfalls and performance gains.

Performancebackenddistributed cache
0 likes · 12 min read
Mastering Cache: From Local to Multi‑Level Strategies for High‑Performance Systems
Laravel Tech Community
Laravel Tech Community
Dec 30, 2020 · Backend Development

PHP sort() Function – Sorting Arrays

This article explains the PHP sort() function, its signature, optional sorting flags, parameters, return values, and provides a complete example demonstrating how to sort an array of strings in ascending order and display the sorted results.

ArrayPHPbackend
0 likes · 2 min read
PHP sort() Function – Sorting Arrays
Laravel Tech Community
Laravel Tech Community
Dec 29, 2020 · Backend Development

PHP shuffle() Function – Randomly Shuffle an Array

This article explains the PHP shuffle() function, describing its purpose of randomly reordering array elements, the required array parameter, the boolean return value, and provides a complete example with sample output to illustrate its usage.

ArrayPHPShuffle
0 likes · 2 min read
PHP shuffle() Function – Randomly Shuffle an Array
Code Ape Tech Column
Code Ape Tech Column
Dec 29, 2020 · Backend Development

Unveiling MyBatis: How Mapper Binding and SQL Execution Work Internally

This article dissects MyBatis 3.5.5’s internal workflow, explaining how mapper interfaces bind to XML files, the step‑by‑step SQL execution process, custom typeHandler creation for parameter and result mapping, and the underlying proxy and configuration mechanisms that drive query handling.

JavaMyBatisSQL execution
0 likes · 17 min read
Unveiling MyBatis: How Mapper Binding and SQL Execution Work Internally
Qunar Tech Salon
Qunar Tech Salon
Dec 29, 2020 · Backend Development

Qunar's API Standardization: From DDD to API Governance and QDoc Implementation

This article describes Qunar's comprehensive API standardization effort, detailing the evolution of their API tools, the motivations behind adopting DDD and API governance, the theoretical foundations, the QDoc annotation framework, implementation steps, challenges faced, achieved outcomes, and future plans for continuous improvement.

APIAnnotationDDD
0 likes · 18 min read
Qunar's API Standardization: From DDD to API Governance and QDoc Implementation
Architect's Tech Stack
Architect's Tech Stack
Dec 28, 2020 · Backend Development

Designing a Unified API Response Structure with Result Wrapper and @ResponseResult in Java Backend Development

This article explains how to design a consistent JSON response format for micro‑service APIs, introduces a Result wrapper class with status code, message and data, and shows how to use a custom @ResponseResult annotation together with Spring's ResponseBodyAdvice to automatically wrap controller outputs while addressing common pitfalls and optimization opportunities.

API designJavabackend
0 likes · 8 min read
Designing a Unified API Response Structure with Result Wrapper and @ResponseResult in Java Backend Development
Architect
Architect
Dec 27, 2020 · Backend Development

Understanding Cache Penetration, Breakdown, and Avalanche with Redis and Bloom Filters

This article explains the concepts of cache penetration, cache breakdown, and cache avalanche in Redis, presents common mitigation techniques such as request validation, empty‑value caching, Bloom filters, mutex locks, and high‑availability strategies, and includes Java code examples for practical implementation.

Bloom filterCacheJava
0 likes · 8 min read
Understanding Cache Penetration, Breakdown, and Avalanche with Redis and Bloom Filters
Architecture Digest
Architecture Digest
Dec 27, 2020 · Backend Development

Implementing Distributed Locks with Redis, Redisson, and Zookeeper

This article explains the concepts and practical implementations of distributed locks, comparing local JVM locks with Redis‑based locks (including atomic SETNX/SETEX and Lua scripts), Redisson's high‑level API, and Zookeeper's sequential‑node approach, and provides Java code examples for each solution.

JavaRedissonZookeeper
0 likes · 13 min read
Implementing Distributed Locks with Redis, Redisson, and Zookeeper
Laravel Tech Community
Laravel Tech Community
Dec 25, 2020 · Backend Development

PHP prev() Function: Move an Array’s Internal Pointer Backward

The PHP prev() function moves an array’s internal pointer one step backward, returning the previous element’s value or FALSE when no more elements exist, and is demonstrated with a complete example showing how to iterate and retrieve values using prev, next, and current.

ArrayFunctionPHP
0 likes · 2 min read
PHP prev() Function: Move an Array’s Internal Pointer Backward
JavaEdge
JavaEdge
Dec 25, 2020 · Backend Development

How Netty Accepts Connections: Inside NioEventLoop and Worker Threads

This article explains how Netty's boss and worker NioEventLoop threads collaborate to accept socket connections, register selectors, and transition to read operations, detailing the underlying selector polling, OP_ACCEPT handling, and the code paths that trigger channel activation.

Java NIONettyNioEventLoop
0 likes · 4 min read
How Netty Accepts Connections: Inside NioEventLoop and Worker Threads
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 25, 2020 · Backend Development

Using Arthas for Hot Updating dble: A Step‑by‑Step Guide

This article explains how to install and use the Arthas Java diagnostic tool to perform hot‑code updates in the dble middleware, covering environment preparation, decompiling classes, modifying source, recompiling with memory‑compile, and applying the changes via both interactive and non‑interactive commands.

ArthasDevOpsJava
0 likes · 6 min read
Using Arthas for Hot Updating dble: A Step‑by‑Step Guide
Laravel Tech Community
Laravel Tech Community
Dec 24, 2020 · Backend Development

PHP next() Function: Advancing the Internal Array Pointer

The PHP next() function moves an array's internal pointer forward by one position, returning the value of the next element or FALSE when no more elements exist, and is demonstrated with sample code showing how to retrieve successive items from an array.

ArrayPHP__next__
0 likes · 2 min read
PHP next() Function: Advancing the Internal Array Pointer
Architecture Digest
Architecture Digest
Dec 24, 2020 · Backend Development

WeChat Architecture: Strategies, Agile Practices, and Large‑Scale System Design

The article details WeChat’s three‑in‑one strategy of precise product, agile projects, and robust technical support, explaining how the team achieves massive scalability, high availability, extensible protocols, resilient disaster recovery, and embedded monitoring through practices like small‑system‑big‑scale, gray‑release, and foundational components.

MonitoringWeChatarchitecture
0 likes · 17 min read
WeChat Architecture: Strategies, Agile Practices, and Large‑Scale System Design
Programmer DD
Programmer DD
Dec 24, 2020 · Backend Development

Spring Cloud 2020.0 GA Released: What's New and How to Upgrade?

Spring Cloud 2020.0 GA launched on December 22, 2020, aligning with Spring Boot 2.4.1 and introducing numerous module updates, configuration changes, and dependency version upgrades, while deprecating outdated components and offering guidance for a smooth migration.

JavaSpring Bootbackend
0 likes · 5 min read
Spring Cloud 2020.0 GA Released: What's New and How to Upgrade?
Laravel Tech Community
Laravel Tech Community
Dec 23, 2020 · Backend Development

Using PHP's natsort() Function for Natural Order Array Sorting

This article explains PHP's natsort() function, which performs natural order sorting on arrays while preserving key/value associations, describes its parameters and return values, and provides a complete example comparing standard sorting with natural sorting to illustrate the differences in output.

ArrayPHPbackend
0 likes · 2 min read
Using PHP's natsort() Function for Natural Order Array Sorting
Laravel Tech Community
Laravel Tech Community
Dec 22, 2020 · Backend Development

Breaking Down the Backend Learning Roadmap from the Popular Developer‑Roadmap Repository

This article introduces the highly starred ‘developer‑roadmap’ repository, outlines its comprehensive learning paths—including frontend, backend, DevOps, Android, React, and PostgreSQL DBA—and provides a detailed breakdown of the backend learning roadmap, encouraging readers to use it as a key reference for their backend career development.

Learning Roadmapbackendcareer guide
0 likes · 2 min read
Breaking Down the Backend Learning Roadmap from the Popular Developer‑Roadmap Repository
JavaEdge
JavaEdge
Dec 22, 2020 · Backend Development

Demystifying Netty's Main, Boss, and Worker Threads in Java NIO

This article explains how Netty creates and uses the main thread, boss thread, and worker threads through NioEventLoopGroup and selectors, detailing the initialization of ServerSocketChannel, event registration, and the transition from OP_ACCEPT registration to active listening.

JavaNettyNioEventLoopGroup
0 likes · 3 min read
Demystifying Netty's Main, Boss, and Worker Threads in Java NIO
Selected Java Interview Questions
Selected Java Interview Questions
Dec 22, 2020 · Backend Development

Handling Null Values and Optional in Java Backend Development

This article discusses common null‑value pitfalls in Java services, compares returning null collections versus empty collections, introduces the Null‑Object pattern and JDK 8/Guava Optional, and provides practical guidelines using JSR‑303/JSR‑305 annotations to make APIs safer and more expressive.

Design PatternsJavabackend
0 likes · 15 min read
Handling Null Values and Optional in Java Backend Development
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 22, 2020 · Backend Development

How Short URLs Work: From Generation to High‑Performance Service Design

This article explains why short URLs are used in SMS and other platforms, outlines their benefits, describes the basic workflow of mapping long URLs to short ones, and dives into backend design choices such as incremental ID generation, storage strategies, caching, batch allocation, and distributed generation using Redis and Java.

JavaRedisbackend
0 likes · 11 min read
How Short URLs Work: From Generation to High‑Performance Service Design
Laravel Tech Community
Laravel Tech Community
Dec 21, 2020 · Backend Development

Using list() to Assign Array Values to Variables in PHP

This article explains the PHP list() language construct, its syntax and return value, and provides detailed examples showing how to unpack array elements into variables, handle partial assignments, skip elements, and demonstrates that list() cannot operate on strings.

ArrayPHPVariable Assignment
0 likes · 2 min read
Using list() to Assign Array Values to Variables in PHP
Didi Tech
Didi Tech
Dec 21, 2020 · Backend Development

Super-Jacoco: A One‑Stop Java Code Coverage Platform with Full and Diff Support

Super‑Jacoco is a one‑stop Java code‑coverage platform built on JaCoCo and Git that non‑intrusively gathers both full‑stack and incremental (diff) coverage for unit and manual tests, visualizes results, scales across distributed nodes, and provides REST APIs for triggering and retrieving coverage data.

Diff CoverageJaCoCoJava
0 likes · 10 min read
Super-Jacoco: A One‑Stop Java Code Coverage Platform with Full and Diff Support
macrozheng
macrozheng
Dec 21, 2020 · Backend Development

Boost Your Java Backend: Master MyBatis Generator for Automatic CRUD Code

This article explains how to integrate MyBatis Generator into a Spring Boot project, configure it to generate entity classes, mapper XML and CRUD methods, and extend its capabilities with custom comment generators, advanced queries, and one‑to‑many/one‑to‑one mappings, reducing manual coding effort.

CRUDJavaMyBatis
0 likes · 20 min read
Boost Your Java Backend: Master MyBatis Generator for Automatic CRUD Code
Code Ape Tech Column
Code Ape Tech Column
Dec 21, 2020 · Backend Development

13 Proven Redis Performance Tweaks Every Engineer Should Apply

This article presents thirteen practical Redis performance‑optimization rules—covering command complexity, key expiration, data structures, persistence, hardware choices, clustering, memory fragmentation, and client‑side techniques—to help developers identify bottlenecks and boost throughput and latency in production environments.

Memory ManagementOptimizationPerformance
0 likes · 12 min read
13 Proven Redis Performance Tweaks Every Engineer Should Apply
Laravel Tech Community
Laravel Tech Community
Dec 20, 2020 · Backend Development

Using ksort() to Sort Arrays by Key in PHP

This article explains the PHP ksort() function, which sorts an associative array by its keys while preserving key‑value relationships, describes its parameters and return values, and provides a complete example with code and expected output.

ArrayPHPbackend
0 likes · 2 min read
Using ksort() to Sort Arrays by Key in PHP
Java Captain
Java Captain
Dec 20, 2020 · Backend Development

Building a WeChat Subscription Account Bot with Spring Boot

This tutorial walks through configuring a WeChat public account, setting up a Spring Boot backend with the wechat‑spring‑boot‑starter, implementing verification and message‑receiving endpoints, handling image messages, and adding content‑moderation logic to create a functional subscription‑account robot.

BotJavaSpring Boot
0 likes · 6 min read
Building a WeChat Subscription Account Bot with Spring Boot