Tagged articles

backend development

4180 articles · Page 11 of 42
dbaplus Community
dbaplus Community
Nov 5, 2024 · Backend Development

How a Two‑Level Cache Boosted High‑Concurrency Performance in a Kubernetes System

The article details how designing a two‑level cache architecture—combining local and distributed caches—dramatically reduced CPU usage, response time, and improved system capacity under high QPS workloads in a Kubernetes‑based container environment, while evaluating trade‑offs of several caching strategies.

CachingHigh ConcurrencyTwo-level Cache
0 likes · 11 min read
How a Two‑Level Cache Boosted High‑Concurrency Performance in a Kubernetes System
21CTO
21CTO
Nov 5, 2024 · Backend Development

Why PHP Is Making a Comeback in 2024: Performance, Features, and Ecosystem

PHP, once thought obsolete, is experiencing a resurgence in 2024 thanks to dramatic performance gains, modern features like JIT and typed parameters, a thriving Laravel ecosystem, robust hosting support, and its enduring role in powering a majority of the web.

LaravelPHPbackend development
0 likes · 10 min read
Why PHP Is Making a Comeback in 2024: Performance, Features, and Ecosystem
Top Architect
Top Architect
Nov 5, 2024 · Backend Development

Spring Boot Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AopUtils

This article introduces a comprehensive set of Spring Boot utility classes—including assertion helpers, object and string utilities, collection operations, file and resource handling, reflection tools, and AOP utilities—providing code examples and usage guidelines for Java backend development.

JavaReflectionSpring Boot
0 likes · 16 min read
Spring Boot Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ReflectionUtils, and AopUtils
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 5, 2024 · Backend Development

When to Place try‑catch Inside or Outside a for Loop in Java

This article explains the functional differences, performance impact, and practical considerations of placing a try‑catch block either outside or inside a Java for loop, illustrating each approach with code examples, execution results, and recommendations based on business requirements.

Javabackend developmentexception handling
0 likes · 6 min read
When to Place try‑catch Inside or Outside a for Loop in Java
php Courses
php Courses
Nov 4, 2024 · Backend Development

From PHP Frameworks to Go: Embracing Simplicity Over Perfection

The article reflects on how perfectionism can hinder progress and contrasts the framework‑heavy, ecosystem‑rich world of PHP with Go's minimalist, low‑level approach, arguing that a sufficiently good solution and simplicity often outweigh the pursuit of an unattainable ideal.

FrameworksGoPHP
0 likes · 7 min read
From PHP Frameworks to Go: Embracing Simplicity Over Perfection
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 4, 2024 · Backend Development

Date Formatting Techniques in Spring Boot Applications

This article explains various Spring Boot approaches for formatting dates in API responses, covering frontend JavaScript utilities, Java SimpleDateFormat and DateTimeFormatter, global Jackson settings, annotation‑based formatting, custom converters, ControllerAdvice initBinder, and timestamp output methods.

DateTimeFormatterJacksonJava
0 likes · 12 min read
Date Formatting Techniques in Spring Boot Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 4, 2024 · Backend Development

Mastering JAX‑RS Client API in Spring Boot 3: From Basics to Advanced Async Calls

This tutorial demonstrates how to use JAX‑RS Client API within a Spring Boot 3.2.5 application to define REST resources, compare it with Spring's RestTemplate and WebClient, and implement synchronous, asynchronous, and reactive remote calls with custom providers, filters, and advanced configurations.

JAX-RSREST ClientSpring Boot 3
0 likes · 12 min read
Mastering JAX‑RS Client API in Spring Boot 3: From Basics to Advanced Async Calls
Top Architect
Top Architect
Nov 3, 2024 · Backend Development

Improving Spring Boot Controllers: From Bad Practices to Clean Design with @Valid and Global Exception Handling

This article examines common pitfalls in Spring Boot controller implementations, demonstrates how to refactor messy controllers into clean, maintainable code using @Valid for input validation and a centralized exception handler, and highlights best‑practice guidelines for backend development.

Controller DesignJavaSpring Boot
0 likes · 11 min read
Improving Spring Boot Controllers: From Bad Practices to Clean Design with @Valid and Global Exception Handling
macrozheng
macrozheng
Nov 2, 2024 · Backend Development

Is Hutool Worth Using? A Deep Dive into Java’s Popular Utility Library

This article examines the popular Chinese Java utility library Hutool, discussing its features, recent updates, pros and cons, and provides practical code examples for integration, covering dependency setup, type conversion, email, ID generation, HTTP requests, caching, encryption, threading, and more.

Code ExamplesHutoolJava
0 likes · 18 min read
Is Hutool Worth Using? A Deep Dive into Java’s Popular Utility Library
php Courses
php Courses
Oct 31, 2024 · Backend Development

Function Object Programming in PHP: Concepts, Advantages, and Practical Examples

Function Object Programming (FOP) in PHP leverages the Closure class to treat functions as first‑class objects, offering code reuse, modularity, performance gains, and testability, with examples of creating, invoking, and applying closures in higher‑order functions and callbacks.

Function ObjectsPHPbackend development
0 likes · 4 min read
Function Object Programming in PHP: Concepts, Advantages, and Practical Examples
php Courses
php Courses
Oct 29, 2024 · Backend Development

Evaluating the Learning Cost of New PHP Function Features

This article examines how the introduction of new PHP function features, such as arrow functions and pattern matching, impacts a development team's learning cost, outlining required skill updates, integration challenges, and the trade‑offs between efficiency gains and the effort required to adopt these features.

Arrow FunctionsLearning CostPHP
0 likes · 5 min read
Evaluating the Learning Cost of New PHP Function Features
Tencent Cloud Developer
Tencent Cloud Developer
Oct 29, 2024 · Backend Development

Improving Backend Engineer Skills: Abstract Problem Solving and Code Abstractions

The article argues that a backend engineer’s growth hinges on mastering communication, clean coding, and architecture design by consistently abstracting problems—illustrated through Go’s ServerCodec and I/O interfaces, efficient algorithms like Trie‑based word search, and Rust’s ownership model—while recommending early Go/Rust study, reading well‑commented libraries, and hands‑on service building.

Code AbstractionGo LanguageLeetCode
0 likes · 22 min read
Improving Backend Engineer Skills: Abstract Problem Solving and Code Abstractions
php Courses
php Courses
Oct 28, 2024 · Backend Development

Introduction to Unit Testing with PHPUnit for PHP

This article explains the concept and importance of software testing, outlines various test types, and provides a step‑by‑step guide with code examples on installing PHPUnit, creating a Calculator class, writing unit tests, and running them to ensure reliable PHP applications.

PHPbackend developmentphpunit
0 likes · 7 min read
Introduction to Unit Testing with PHPUnit for PHP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 28, 2024 · Backend Development

Master Asynchronous Programming in Spring Boot 3 with @Async and CompletableFuture

This article demonstrates how to enable and use Spring Boot 3's @Async annotation together with Java's CompletableFuture to create custom thread pools, run multiple asynchronous REST calls concurrently, aggregate their results, and handle exceptions, providing a complete backend solution for high‑performance APIs.

AsyncCompletableFutureSpring Boot
0 likes · 8 min read
Master Asynchronous Programming in Spring Boot 3 with @Async and CompletableFuture
Architecture Digest
Architecture Digest
Oct 25, 2024 · Backend Development

Spring Boot Project Initialization, Version Management, and Common Development Tools Guide

This article walks through the challenges of setting up a Java development environment, demonstrates how to create a Spring Boot project, explains version compatibility between Spring Cloud, Spring Boot, and Kafka, showcases essential Maven configurations and code snippets for global exception handling, logging, CORS, Swagger, and recommends useful in‑memory tools such as embedded Redis, DB, Kafka, Hutool, MyBatis‑Plus, MapStruct, and Redisson.

JavaMavenSpring Boot
0 likes · 11 min read
Spring Boot Project Initialization, Version Management, and Common Development Tools Guide
php Courses
php Courses
Oct 25, 2024 · Backend Development

Top 10 Essential PHP Plugins for Developers

This article introduces ten essential PHP plugins—such as Composer, PHPUnit, and Xdebug—detailing their core features like dependency management, automated testing, performance debugging, code style enforcement, and HTTP handling, to help developers boost productivity and maintain high code quality across projects.

ComposerPHPbackend development
0 likes · 9 min read
Top 10 Essential PHP Plugins for Developers
php Courses
php Courses
Oct 25, 2024 · Backend Development

Function Object Programming (FOP) in PHP: Concepts, OOP Compatibility, and Practical Example

The article introduces PHP's Function Object Programming (FOP) paradigm, explains its full compatibility with object‑oriented programming, demonstrates a practical code example using closures and array_map, discusses cross‑platform support, and outlines the main advantages such as reusability, extensibility, and cleaner code.

OOPPHPbackend development
0 likes · 4 min read
Function Object Programming (FOP) in PHP: Concepts, OOP Compatibility, and Practical Example
Test Development Learning Exchange
Test Development Learning Exchange
Oct 24, 2024 · Databases

Comprehensive Testing of Business Data Migration in Enterprise Applications

This article details the comprehensive process of testing business data migration in enterprise applications, covering requirements analysis, environment preparation, test planning, data validation, performance testing, security checks, rollback strategies, and feedback mechanisms to ensure accuracy and integrity.

backend developmentdata migrationdatabase
0 likes · 8 min read
Comprehensive Testing of Business Data Migration in Enterprise Applications
macrozheng
macrozheng
Oct 24, 2024 · Backend Development

Master Java Thread Pools: Boost Performance and Avoid Resource Pitfalls

This article explains why creating a thread for each task is inefficient, introduces thread pools as a solution, compares execution times with code examples, details ThreadPoolExecutor's core interfaces, constructors, execution flow, rejection policies, state transitions, and provides practical usage patterns and best‑practice recommendations for Java backend development.

ExecutorServiceJavaThread Pool
0 likes · 28 min read
Master Java Thread Pools: Boost Performance and Avoid Resource Pitfalls
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 24, 2024 · Backend Development

Master Fine-Grained Permission Control in Spring Boot 3 with JWT and SpEL

This article demonstrates how to implement fine‑grained permission checks in Spring Boot 3 without using Spring Security, by creating custom HandlerInterceptors, JWT utilities, DAO and service layers, and integrating SpEL expressions for dynamic authorization, complete with code snippets and test results.

HandlerInterceptorJWTPermission
0 likes · 13 min read
Master Fine-Grained Permission Control in Spring Boot 3 with JWT and SpEL
21CTO
21CTO
Oct 22, 2024 · Backend Development

Node.js 23 LTS Upgrade & Rust 1.82 Release: New Features and Key Changes

The article announces the official release of Node.js 23 with its promotion to LTS status, highlights its new require() support for native ES modules, stable -run command, enhanced test runner, and the discontinuation of 32‑bit Windows support, while also covering Rust 1.82's launch and a comprehensive set of web accessibility guidelines.

Node.jsRustbackend development
0 likes · 6 min read
Node.js 23 LTS Upgrade & Rust 1.82 Release: New Features and Key Changes
Selected Java Interview Questions
Selected Java Interview Questions
Oct 22, 2024 · Backend Development

Common Java Stream API Programming and Operations

This article introduces Java 8's Stream API, explains how to create streams from collections and arrays, and demonstrates a wide range of intermediate and terminal operations with clear code examples to help developers write concise, efficient, and readable Java code.

CollectionsFunctional ProgrammingJava
0 likes · 9 min read
Common Java Stream API Programming and Operations
Lobster Programming
Lobster Programming
Oct 21, 2024 · Backend Development

Mastering Order State Management with Spring State Machine

This guide demonstrates how to use Spring State Machine to elegantly manage order status changes by defining states, events, configuring transitions, and implementing listeners, providing Maven dependencies and Java code examples for building extensible, event‑driven workflows in backend applications.

JavaSpring BootSpring State Machine
0 likes · 7 min read
Mastering Order State Management with Spring State Machine
phodal
phodal
Oct 20, 2024 · Backend Development

Why Streaming BFF Is the Missing Glue for AI‑Native Apps

The article proposes a Streaming Backend‑for‑Frontend (BFF) layer to unify heterogeneous AI agents, handle Server‑Sent Events streams, and resolve interface inconsistencies, offering a practical architecture for generative‑AI‑native systems across IDEs, DevOps, and team‑AI scenarios.

AI architectureAPI DesignServer-Sent Events
0 likes · 13 min read
Why Streaming BFF Is the Missing Glue for AI‑Native Apps
Programmer1970
Programmer1970
Oct 20, 2024 · Backend Development

Essential Questions Every Backend Engineer Should Ask

The article presents a comprehensive checklist of critical questions covering API design, system architecture, performance tuning, data consistency, reliability, automation, and advanced features that guide backend developers toward building scalable, secure, and high‑performance services.

API DesignMonitoringbackend development
0 likes · 8 min read
Essential Questions Every Backend Engineer Should Ask
Top Architect
Top Architect
Oct 20, 2024 · Backend Development

Comprehensive Maven Guide: Configuration, Dependency Management, Modules, Plugins, and Build Settings

This article provides a detailed tutorial on Maven, covering basic project configuration, repository setup, POM structure, dependency declaration and scopes, indirect dependencies, exclusions, variable properties, multi‑module management, unified dependency management, essential plugins such as jar, assembly and shade, as well as build settings like compiler version, resource exclusion, and main‑class definition.

Build ToolsJavaMaven
0 likes · 22 min read
Comprehensive Maven Guide: Configuration, Dependency Management, Modules, Plugins, and Build Settings
Java Tech Enthusiast
Java Tech Enthusiast
Oct 20, 2024 · Backend Development

Why C++ Candidates Struggle in Backend Development Jobs and How to Improve

C++ graduates often fail backend interviews at major internet firms because those companies favor Java or Go and expect experience with databases, caches, and message queues, so candidates should either acquire those backend skills, switch to the dominant languages, or target C++‑friendly domains such as embedded, AV, gaming, or client‑side networking.

C++GoJava
0 likes · 8 min read
Why C++ Candidates Struggle in Backend Development Jobs and How to Improve
ITPUB
ITPUB
Oct 19, 2024 · Backend Development

Why Some Teams Choose Redis Over Kafka for Message Queuing

The article examines the technical reasons a new tech director prefers using Redis Streams as a lightweight message queue instead of Kafka, comparing their features, operational costs, performance characteristics, and suitability for small‑to‑medium projects.

Kafkabackend development
0 likes · 7 min read
Why Some Teams Choose Redis Over Kafka for Message Queuing
php Courses
php Courses
Oct 17, 2024 · Backend Development

Common Mistakes to Avoid When Using Closures for Functional Programming in PHP

This article explains functional programming in PHP, highlights five typical closure mistakes such as incorrect declaration, reliance on globals, mutable variable modification, unpredictable side effects, and recursion misuse, and provides corrected code examples and best‑practice guidelines.

Functional ProgrammingPHPbackend development
0 likes · 5 min read
Common Mistakes to Avoid When Using Closures for Functional Programming in PHP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 17, 2024 · Backend Development

Mastering Spring Boot 3 @ComponentScan: Advanced Configurations & Examples

This article provides a comprehensive, step‑by‑step guide to using Spring Boot 3's @ComponentScan annotation, covering basic usage, package filtering, include/exclude filters, lazy initialization, custom name generators, scoped proxies, and custom scope resolvers, complete with runnable code samples and output screenshots.

ComponentScanSpring BootSpring Framework
0 likes · 12 min read
Mastering Spring Boot 3 @ComponentScan: Advanced Configurations & Examples
Architecture Digest
Architecture Digest
Oct 16, 2024 · Backend Development

Implementing Request and Response Encryption in Spring Boot with ControllerAdvice

This article walks through the design and implementation of symmetric request/response encryption for a Spring Boot API, covering requirement analysis, data models, custom ControllerAdvice for decryption and encryption, serialization challenges with FastJson and Jackson, and final configuration to keep encrypted payloads consistent across Android, iOS, and H5 clients.

API EncryptionControllerAdviceFastjson
0 likes · 12 min read
Implementing Request and Response Encryption in Spring Boot with ControllerAdvice
macrozheng
macrozheng
Oct 16, 2024 · Backend Development

Master Spring Boot Request Logging, Wrappers, and AOP Utilities in One Guide

This article explains how to use Spring Boot's built‑in request logging, request/response wrappers, OncePerRequestFilter, and AOP utility classes such as AopContext, AopUtils, and ReflectionUtils, providing configuration snippets and practical code examples for backend developers.

AOPFiltersRequest Logging
0 likes · 13 min read
Master Spring Boot Request Logging, Wrappers, and AOP Utilities in One Guide
php Courses
php Courses
Oct 16, 2024 · Backend Development

Using PHP's urlencode Function to Encode URLs

This article explains the importance of URL encoding for transmitting data safely on the internet, demonstrates how to use PHP's built‑in urlencode function with examples for both ASCII and non‑ASCII strings, and highlights considerations such as space handling and the alternative rawurlencode function.

Data TransmissionPHPURL encoding
0 likes · 4 min read
Using PHP's urlencode Function to Encode URLs
Baidu Tech Salon
Baidu Tech Salon
Oct 15, 2024 · Industry Insights

How Baidu Revamped Visual Search: From PHP to Golang and Graph Engine

This article details Baidu's visual search architecture evolution, covering the shift from a PHP/HHVM stack to Golang with the GDP framework, the adoption of the ExGraph graph engine, comprehensive system redesign, and stability infrastructure built to support rapid product iteration and AI model integration.

Graph enginearchitecturebackend development
0 likes · 14 min read
How Baidu Revamped Visual Search: From PHP to Golang and Graph Engine
IT Services Circle
IT Services Circle
Oct 15, 2024 · Backend Development

Why C++ Graduates Struggle to Land Backend Development Jobs in Internet Companies and How to Improve Their Prospects

The article analyzes why C++‑focused graduates receive few backend interview opportunities at major internet firms, highlights the mismatch between C++ skill sets and common backend components, and offers practical advice on switching languages or augmenting projects to better align with industry demands.

C++GoJava
0 likes · 10 min read
Why C++ Graduates Struggle to Land Backend Development Jobs in Internet Companies and How to Improve Their Prospects
php Courses
php Courses
Oct 15, 2024 · Backend Development

Using PHP strpos() to Find Character and Substring Positions

This article explains PHP's strpos() function, covering its syntax and demonstrating how to locate characters, substrings, and use an offset through clear code examples, enabling developers to efficiently perform string position searches.

PHPString handlingbackend development
0 likes · 5 min read
Using PHP strpos() to Find Character and Substring Positions
Java Architecture Stack
Java Architecture Stack
Oct 15, 2024 · Backend Development

How to Build Powerful Search, Log, and Recommendation Solutions with Elasticsearch

This guide walks through five real‑world Elasticsearch use cases—including full‑text product search with highlighting, centralized log collection and analysis, personalized video recommendation, price‑range aggregation for e‑commerce, and geo‑location restaurant search—detailing index design, query syntax, Docker setup, and front‑end integration.

ElasticsearchPrice Aggregationbackend development
0 likes · 35 min read
How to Build Powerful Search, Log, and Recommendation Solutions with Elasticsearch
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 15, 2024 · Backend Development

Mastering HTTP Methods in Spring Boot 3: A Complete Guide to RESTful APIs

This comprehensive tutorial explains how to design and implement RESTful APIs with Spring Boot 3.2.5, covering all major HTTP methods (GET, HEAD, POST, PUT, DELETE, PATCH), best‑practice endpoint design, response handling, status‑code usage, pagination, filtering, versioning, caching, and security considerations.

HTTP methodsRESTful APISpring Boot
0 likes · 17 min read
Mastering HTTP Methods in Spring Boot 3: A Complete Guide to RESTful APIs
Architect
Architect
Oct 14, 2024 · Backend Development

Designing a Unified API Response Structure with Status Codes, Annotations, and Interceptors in Spring Boot

This article explains how to create a consistent JSON API response format—including custom status codes, message fields, and a Result wrapper—by using a @ResponseResult annotation, an interceptor, and ResponseBodyAdvice in Spring Boot, while also offering tips for optimization and error handling.

API DesignInterceptorsResponse Wrapper
0 likes · 7 min read
Designing a Unified API Response Structure with Status Codes, Annotations, and Interceptors in Spring Boot
php Courses
php Courses
Oct 14, 2024 · Backend Development

Using PHP to Communicate with MIDI Devices via Serial Port

This article introduces the basics of the MIDI protocol and demonstrates how to use PHP’s serial communication extension to send MIDI messages to musical devices, providing a complete code example and explanations of each step for developers interested in integrating music hardware with PHP applications.

MIDIMusic TechnologyPHP
0 likes · 4 min read
Using PHP to Communicate with MIDI Devices via Serial Port
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 14, 2024 · Backend Development

Build a Custom Spring Boot 3 Application with Embedded Tomcat – Step‑by‑Step Guide

This article walks through creating a Spring Boot 3 application from scratch, demonstrating how to customize the ApplicationContext, embed a Tomcat server, define a custom SpringApplication class, configure web components, and test REST endpoints, providing complete code snippets and explanations for each step.

Embedded TomcatSpring Bootbackend development
0 likes · 9 min read
Build a Custom Spring Boot 3 Application with Embedded Tomcat – Step‑by‑Step Guide
php Courses
php Courses
Oct 12, 2024 · Backend Development

Using PHP is_dir() to Check Directories and Traverse Files

This article explains PHP's is_dir() function, demonstrates how it checks whether a path is a directory, provides simple and advanced code examples—including directory traversal with opendir() and readdir()—and offers practical usage tips for developers.

File SystemPHPbackend development
0 likes · 4 min read
Using PHP is_dir() to Check Directories and Traverse Files
Test Development Learning Exchange
Test Development Learning Exchange
Oct 11, 2024 · Backend Development

Comprehensive Python Scripts for Property Management System Functions

This article provides a collection of Python scripts that cover essential property management system features such as resident data handling, automated payment reminders, monthly report generation, emergency notifications, maintenance request processing, visitor logging, facility booking, vehicle entry/exit tracking, announcement publishing, and database backup.

Pythonbackend developmentdatabase
0 likes · 12 min read
Comprehensive Python Scripts for Property Management System Functions
php Courses
php Courses
Oct 11, 2024 · Backend Development

Using curl_close() to Properly Close cURL Sessions in PHP

The article explains the purpose, syntax, and usage of PHP's curl_close() function, provides a complete example of creating, configuring, executing, and then closing a cURL session, and highlights the resource, performance, and memory benefits of properly closing cURL handles.

PHPbackend developmentcurl_close
0 likes · 3 min read
Using curl_close() to Properly Close cURL Sessions in PHP
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2024 · Backend Development

Understanding VS Code's IPC Architecture and Channel Mechanism

This article explains VS Code's inter‑process communication (IPC) architecture, detailing how preload scripts expose methods, how the main process creates Server, Connection, and Channel classes, how the renderer creates a Client to connect, and how ProxyChannel converts services to typed channels, with full TypeScript code examples.

ElectronIPCInterprocess Communication
0 likes · 11 min read
Understanding VS Code's IPC Architecture and Channel Mechanism
Top Architect
Top Architect
Oct 10, 2024 · Backend Development

Avoiding Excessive Null Checks in Java: Using Assertions, Exceptions, and the Null Object Pattern

This article explains why overusing null‑check statements in Java leads to verbose code, distinguishes cases where null is a valid response versus an error, and offers practical techniques such as assertions, throwing exceptions, returning empty collections, and applying the Null Object pattern to write cleaner backend code.

JavaNull Object patternassertions
0 likes · 9 min read
Avoiding Excessive Null Checks in Java: Using Assertions, Exceptions, and the Null Object Pattern
Java Architect Essentials
Java Architect Essentials
Oct 9, 2024 · Backend Development

Investigating and Resolving a Massive Thread Leak in a Java Backend Application

This article details the discovery, analysis, and fix of a severe thread‑leak issue in a Java Spring MVC service caused by unsafe use of a shared CloseableHttpAsyncClient, showing how multithreaded testing reproduced the problem and how refactoring the client to a local variable eliminated the runaway thread growth.

HttpAsyncClientJavaThread Leak
0 likes · 12 min read
Investigating and Resolving a Massive Thread Leak in a Java Backend Application
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 9, 2024 · Backend Development

Mastering Forest: A Practical Guide to Declarative HTTP Calls in Spring Boot

This article introduces the Forest Java HTTP client, explains its architecture and dynamic‑proxy mechanism, and provides step‑by‑step Spring Boot examples—including dependency setup, configuration, declarative interfaces, request annotations, parameter handling, and programmatic usage—so developers can quickly adopt declarative HTTP calls in their backend services.

Declarative APIForestSpring Boot
0 likes · 10 min read
Mastering Forest: A Practical Guide to Declarative HTTP Calls in Spring Boot
php Courses
php Courses
Oct 8, 2024 · Backend Development

Developing a PHP WebSocket Server for Real‑Time Multi‑User Collaboration

This article explains how to build a PHP WebSocket server using the Ratchet library, provides step‑by‑step code examples for server setup and a simple real‑time chat client, and demonstrates how to enable multi‑user online collaboration with WebSocket technology.

PHPWebSocketbackend development
0 likes · 6 min read
Developing a PHP WebSocket Server for Real‑Time Multi‑User Collaboration
php Courses
php Courses
Oct 8, 2024 · Backend Development

Introduction to Laravel: Features, Installation, and Getting Started

Laravel, the popular open-source PHP framework introduced in 2011, offers elegant syntax, powerful Eloquent ORM, simplified routing, built-in authentication, a rich ecosystem and active community, and this guide explains its advantages and provides step-by-step instructions for installing and starting a new Laravel project.

Eloquent ORMPHPWeb Framework
0 likes · 5 min read
Introduction to Laravel: Features, Installation, and Getting Started
Su San Talks Tech
Su San Talks Tech
Oct 3, 2024 · Backend Development

Master Java’s Syntactic Sugar: 10 Features That Simplify Your Code

This article explains what syntactic sugar is, outlines its benefits such as readability, reduced boilerplate, and lower error rates, and then showcases ten concrete Java syntactic‑sugar features—including autoboxing, enhanced for‑loops, generics, varargs, try‑with‑resources, lambdas, method references, string concatenation, switch expressions, and type inference—complete with code examples.

AutoboxingCode SimplificationJava
0 likes · 7 min read
Master Java’s Syntactic Sugar: 10 Features That Simplify Your Code
Top Architect
Top Architect
Sep 30, 2024 · Backend Development

Optimizing a High‑Concurrency Java Backend Interface: Reducing Response Time from 30 s to 0.8 s

This article details a real-world performance optimization of a high‑concurrency Java backend interface, reducing response time from 30 seconds to under 0.8 seconds through SQL analysis, array aggregation, moving logic to PostgreSQL, and introducing Caffeine caching, with code examples and lessons learned.

JavaSQL optimizationbackend development
0 likes · 13 min read
Optimizing a High‑Concurrency Java Backend Interface: Reducing Response Time from 30 s to 0.8 s
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 27, 2024 · Backend Development

Master JVM Tuning: Practical Steps, Tools, and Real-World Code Example

This article explains why JVM tuning is essential for performance, outlines a step‑by‑step optimization workflow—including GC monitoring, heap dumps, parameter tuning, and tool usage—provides a concrete Java code example that triggers memory pressure, and shares effective JVM flags to prevent out‑of‑memory errors.

JVMJavabackend development
0 likes · 7 min read
Master JVM Tuning: Practical Steps, Tools, and Real-World Code Example
Architecture Digest
Architecture Digest
Sep 26, 2024 · Backend Development

Should try‑catch be placed inside or outside a for loop in Java?

The article explains the trade‑offs of placing a Java try‑catch block inside versus outside a for‑loop, illustrating both approaches with code examples, and advises choosing the placement based on whether you need unified error handling or per‑iteration resilience, while also noting a free book promotion.

Javabackend developmentexception handling
0 likes · 4 min read
Should try‑catch be placed inside or outside a for loop in Java?
macrozheng
macrozheng
Sep 26, 2024 · Backend Development

Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide

This article explains how to integrate Spring Boot with WebSocket to create a lightweight instant‑messaging system, covering dependency setup, configuration classes, core server code, front‑end integration, essential IM modules, common deployment challenges, and provides complete example code and demos.

Spring BootWebSocketbackend development
0 likes · 15 min read
Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide
JavaEdge
JavaEdge
Sep 25, 2024 · Backend Development

What’s New in JDK 23? A Quick Tour of 12 Game‑Changing Features

The article outlines the twelve preview features introduced in JDK 23, from primitive pattern matching to structured concurrency, and argues that mastering timeless programming principles from Effective Java can help developers adapt to such language evolutions.

Effective JavaJDK 23Java
0 likes · 10 min read
What’s New in JDK 23? A Quick Tour of 12 Game‑Changing Features
php Courses
php Courses
Sep 25, 2024 · Backend Development

PHP Development Ecosystem in 2024: Trends, Frameworks, Security, and Future Outlook

In 2024, PHP remains a dominant backend language, with the release of PHP 8.3, thriving frameworks like Laravel and Symfony, modern development practices, enhanced security measures, and growing integration with AI, IoT, and serverless architectures, ensuring its continued relevance in web development.

APIFrameworksModern Practices
0 likes · 13 min read
PHP Development Ecosystem in 2024: Trends, Frameworks, Security, and Future Outlook
IT Services Circle
IT Services Circle
Sep 24, 2024 · Backend Development

Ensuring Message Reliability in RocketMQ: Producer, Storage, and Consumer Guarantees

This article explains how RocketMQ guarantees message reliability across the production, storage, and consumption stages, covering synchronous, asynchronous, and transactional sending, disk persistence and replication strategies, consumption models (at-least-once, at-most-once, exactly-once), and handling consumer crashes without message loss.

Consumer CrashMessage QueueMessage reliability
0 likes · 6 min read
Ensuring Message Reliability in RocketMQ: Producer, Storage, and Consumer Guarantees
Bilibili Tech
Bilibili Tech
Sep 24, 2024 · Backend Development

Technical Implementation of Bilibili's Game Live Streaming Interactive Features: 'Play Together' and 'Help Me Play'

Bilibili’s game live‑stream platform implements interactive features ‘Play Together’ and ‘Help Me Play’ by using Redis ZSET queues, MySQL persistence, real‑time streamer recommendation, ticket‑based purchase flows, state‑machine order handling, and comprehensive monitoring to ensure reliable, scalable viewer‑streamer gameplay collaboration.

BilibiliMySQLRedis
0 likes · 12 min read
Technical Implementation of Bilibili's Game Live Streaming Interactive Features: 'Play Together' and 'Help Me Play'
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 23, 2024 · Backend Development

Mastering Spring Bean Lifecycle: 8 Essential Stages Explained

This article walks through the eight critical phases of a Spring bean's lifecycle—from instantiation and property population to initialization, post‑processor hooks, usage, and destruction—detailing how Spring creates, configures, enhances, and finally disposes of beans, with code snippets and diagrams for clarity.

Bean LifecycleDependency InjectionJava
0 likes · 5 min read
Mastering Spring Bean Lifecycle: 8 Essential Stages Explained
php Courses
php Courses
Sep 23, 2024 · Backend Development

Understanding PHP time() Function: Purpose, Usage, and Code Examples

This article explains the PHP time() function, describing how it returns the current Unix timestamp, how to use it without parameters, and provides multiple code examples for retrieving timestamps, comparing dates, and formatting the current date and time.

DatePHPbackend development
0 likes · 4 min read
Understanding PHP time() Function: Purpose, Usage, and Code Examples
php Courses
php Courses
Sep 23, 2024 · Backend Development

Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks

This article compares Laravel and Symfony, two leading PHP frameworks, by examining their core features, learning curves, performance, ecosystems, and community support to help developers choose the most suitable option for their projects.

PHPbackend developmentframework comparison
0 likes · 8 min read
Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 23, 2024 · Backend Development

How to Load Initial Data into Spring Boot 3.2.5: Runners, Beans, and SQL Scripts

This guide explains why pre‑loading initial data is essential for Spring Boot applications and demonstrates four practical methods—CommandLineRunner/ApplicationRunner, bean initialization with @PostConstruct, SQL script execution, and @Sql annotation for tests—complete with code snippets and configuration details.

CommandLineRunnerData InitializationSQL Scripts
0 likes · 8 min read
How to Load Initial Data into Spring Boot 3.2.5: Runners, Beans, and SQL Scripts
Su San Talks Tech
Su San Talks Tech
Sep 22, 2024 · Backend Development

Mastering Rate Limiting: From Fixed Windows to Redis Distributed Solutions

This article explains why rate limiting is essential for microservice stability, introduces basic concepts like thresholds and rejection strategies, and walks through multiple algorithms—including fixed‑window, sliding‑window, sliding‑log, leaky‑bucket, token‑bucket—and their Java implementations as well as Redis‑based distributed approaches, complete with code samples and performance considerations.

Javabackend developmentdistributed systems
0 likes · 25 min read
Mastering Rate Limiting: From Fixed Windows to Redis Distributed Solutions
Lobster Programming
Lobster Programming
Sep 21, 2024 · Backend Development

Mastering Spring Boot Transaction Hooks for Advanced Business Logic

This article explains how Spring Boot’s @Transactional annotation works, introduces programmatic transaction management, and demonstrates how to create custom transaction hook functions with TransactionSynchronizationManager and TransactionSynchronization to execute custom logic at each transaction phase, improving robustness and maintainability.

JavaSpring BootSpring Framework
0 likes · 4 min read
Mastering Spring Boot Transaction Hooks for Advanced Business Logic
Top Architect
Top Architect
Sep 20, 2024 · Backend Development

Understanding HTTP vs RPC in Spring Cloud: A Practical Guide

This article explains why Spring Cloud uses HTTP instead of RPC for remote calls, compares HTTP and RPC protocols, describes how to implement a simple HTTP server in Java, outlines the principles of RESTful architecture, and discusses the advantages, disadvantages, and future trends of both approaches.

HTTPRESTfulRPC
0 likes · 9 min read
Understanding HTTP vs RPC in Spring Cloud: A Practical Guide
Java Tech Enthusiast
Java Tech Enthusiast
Sep 20, 2024 · Backend Development

What Is RPC and Why It Is Not a Protocol

The article clarifies that RPC (Remote Procedure Call) is a mechanism—not a protocol—used to abstract network communication so remote methods can be invoked like local calls, illustrating its design with LPC, dynamic proxies, request handlers, and showing HTTP as one possible implementation.

IPCRPCRemote Procedure Call
0 likes · 6 min read
What Is RPC and Why It Is Not a Protocol
php Courses
php Courses
Sep 20, 2024 · Backend Development

Adjusting Image Hue with PHP Imagick

This article explains how to install the PHP Imagick extension and use its Imagick class to load an image, adjust its brightness, saturation, and hue via the modulateImage method, and then save or output the modified image, providing complete example code.

Hue AdjustmentPHPbackend development
0 likes · 4 min read
Adjusting Image Hue with PHP Imagick
Open Source Tech Hub
Open Source Tech Hub
Sep 20, 2024 · Backend Development

Unlocking High‑Performance PHP: From Sockets to Swoole’s Async IO

This article explains how PHP’s socket extension can be used for network programming, walks through traditional multi‑process/thread blocking models, introduces IO multiplexing with the Reactor pattern, and shows how the Swoole extension enables efficient asynchronous and coroutine‑based server development.

Async ProgrammingConcurrent IOPHP
0 likes · 20 min read
Unlocking High‑Performance PHP: From Sockets to Swoole’s Async IO
php Courses
php Courses
Sep 19, 2024 · Backend Development

Using PHP curl_multi_add_handle() to Manage Multiple cURL Handles

This article explains how the PHP curl library’s curl_multi_add_handle() function can combine multiple cURL handles into a single multi‑handle session, provides its syntax and parameters, and demonstrates its usage with a complete example that improves network request efficiency.

Network RequestsPHPbackend development
0 likes · 4 min read
Using PHP curl_multi_add_handle() to Manage Multiple cURL Handles
Top Architecture Tech Stack
Top Architecture Tech Stack
Sep 18, 2024 · Backend Development

Overview of Java's Null‑Restricted and Nullable Types Preview Feature

The article introduces Java's new preview feature that distinguishes non‑null, nullable, and unspecified types using syntax like Foo! and Foo?, explains its safety benefits, compatibility, automatic null‑pointer detection, strict initialization rules, and flexible nullness conversion, while also containing promotional material for IDE tools.

JavaNull SafetyType System
0 likes · 5 min read
Overview of Java's Null‑Restricted and Nullable Types Preview Feature
Top Architect
Top Architect
Sep 16, 2024 · Backend Development

Implementing Data Permission Interceptor in MyBatis‑Plus Using Custom Annotations

This article explains how to create a custom annotation and MyBatis‑Plus interceptor to enforce data‑permission filtering based on user roles, provides both basic and advanced implementations with complete Java code examples, and shows how to integrate the interceptor into the MyBatis‑Plus plugin configuration.

Data PermissionInterceptorJava
0 likes · 15 min read
Implementing Data Permission Interceptor in MyBatis‑Plus Using Custom Annotations
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 16, 2024 · Backend Development

Mastering Spring’s IOC Container: Concepts, Types, and Startup Steps

This article explains the Inversion of Control principle, defines what an IOC container is, compares Spring’s BeanFactory and ApplicationContext, and walks through the three-stage startup process—including loading configurations, registering bean definitions, and instantiating beans with automatic dependency injection.

Dependency InjectionIOCJava
0 likes · 5 min read
Mastering Spring’s IOC Container: Concepts, Types, and Startup Steps