Tagged articles
4050 articles
Page 11 of 41
Architecture Digest
Architecture Digest
Sep 4, 2024 · Backend Development

HTTP vs RPC in Spring Cloud: A Technical Comparison and Guidance

This article explains why Spring Cloud prefers HTTP over RPC for remote calls, detailing the underlying Tomcat-based web service, the differences between HTTP and RPC protocols, their advantages and disadvantages, and provides guidance on choosing the appropriate approach for microservice architectures.

HTTPRESTfulRPC
0 likes · 8 min read
HTTP vs RPC in Spring Cloud: A Technical Comparison and Guidance
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 4, 2024 · Backend Development

Master HTTP Request/Response Logging in Spring Boot with Logbook

This guide explains how to integrate the Logbook library into Spring Boot applications to capture detailed HTTP request and response logs, covering dependency setup, configuration options, output formats, Logback file logging, custom sinks, and RestTemplate interception for comprehensive monitoring and debugging.

HTTP loggingbackend-developmentlogbook
0 likes · 9 min read
Master HTTP Request/Response Logging in Spring Boot with Logbook
Top Architect
Top Architect
Sep 3, 2024 · Databases

Implementing Online User Counting with Redis Sorted Sets (ZSET)

This article explains how to track online users using Redis sorted sets by describing the core ZSET commands (zadd, zrangeByScore, zremrangeByScore, zrem), showing code examples for adding, querying, and cleaning up user sessions, and discussing fingerprint-based identification methods.

Online UsersZSetbackend-development
0 likes · 10 min read
Implementing Online User Counting with Redis Sorted Sets (ZSET)
php Courses
php Courses
Sep 3, 2024 · Backend Development

Using PHP's array_chunk() Function to Split Arrays

This article explains how the PHP array_chunk() function can split a large array into smaller chunks of a specified size, describes its parameters, and provides code examples showing both default behavior and key‑preserving splits.

array splittingarray_chunkbackend-development
0 likes · 4 min read
Using PHP's array_chunk() Function to Split Arrays
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 1, 2024 · Backend Development

Mastering Custom Type Converters for Spring Boot @ConfigurationProperties

Learn how to create and register custom type converters for Spring Boot @ConfigurationProperties, enabling seamless binding of complex objects from property files using @ConfigurationPropertiesBinding and BeanFactoryPostProcessor techniques, including code examples, configuration snippets, and two registration approaches for practical implementation.

ConfigurationPropertiesCustom Converterbackend-development
0 likes · 6 min read
Mastering Custom Type Converters for Spring Boot @ConfigurationProperties
21CTO
21CTO
Aug 31, 2024 · Backend Development

Top Java Frameworks to Accelerate Your 2024 Web Development

This article reviews the most popular Java frameworks for 2024, explaining their purpose, key features, and how they help developers build scalable, secure, and efficient web applications across various industries.

Web Developmentbackend-developmentframeworks
0 likes · 9 min read
Top Java Frameworks to Accelerate Your 2024 Web Development
21CTO
21CTO
Aug 30, 2024 · Backend Development

How to Stay Ahead as a Java Developer: Tips for JDK 21, Spring Boot 3.2, and Beyond

This article compiles practical advice for Java developers feeling out‑of‑practice, covering migration to JDK 21, Spring Boot 3.2 observability, new language features, community resources, and strategies to boost confidence and stay current with the evolving Java ecosystem.

JDK 21Observabilitybackend-development
0 likes · 9 min read
How to Stay Ahead as a Java Developer: Tips for JDK 21, Spring Boot 3.2, and Beyond
IT Services Circle
IT Services Circle
Aug 30, 2024 · Backend Development

Technical Interview Q&A: C++ vs Go, Thread Communication, Goroutine, TCP Handshake, SQL, and More

This article compiles a series of technical interview questions and answers covering C++ and Go language differences, thread communication methods on Linux and Windows, stack versus heap memory, orphan processes, read‑write locks, Go goroutine concurrency, TCP three‑way handshake, and a sample SQL query for gender‑based grouping.

C++GoOperating Systems
0 likes · 12 min read
Technical Interview Q&A: C++ vs Go, Thread Communication, Goroutine, TCP Handshake, SQL, and More
Top Architect
Top Architect
Aug 30, 2024 · Backend Development

Diagnosing High Memory Usage in Spring Boot Applications: JVM Parameters and Troubleshooting Steps

The article details how a production Spring Boot system consumed excessive memory due to default JVM heap settings, explains the underlying JVM defaults, demonstrates diagnostic commands, and provides practical recommendations for configuring JVM parameters and monitoring memory usage to prevent similar issues.

JVMMemory ManagementSpringBoot
0 likes · 8 min read
Diagnosing High Memory Usage in Spring Boot Applications: JVM Parameters and Troubleshooting Steps
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 30, 2024 · Backend Development

Master the 9 Essential SpringBoot Annotations for Backend Development

This article provides a concise yet comprehensive guide to the most common SpringBoot annotations—including @SpringBootApplication, @EnableAutoConfiguration, @ComponentScan, @Service, @Repository, @Component, @RestController, @Bean, @ResponseBody, and @Autowired—explaining their purpose, composition, and practical code examples for building robust Java backend applications.

SpringBootannotationsbackend-development
0 likes · 6 min read
Master the 9 Essential SpringBoot Annotations for Backend Development
Selected Java Interview Questions
Selected Java Interview Questions
Aug 30, 2024 · Databases

Redis Mastery: Deep Dive into Architecture, Data Structures, Persistence, Replication, and Sentinel

This article introduces the Redis in‑memory database, highlights the new "Redis Mastery" book that blends theory with practical examples, and explains core concepts such as SDS string structures, RDB/AOF persistence, master‑slave replication, and Sentinel high‑availability mechanisms.

Data StructuresIn-Memory DatabasePersistence
0 likes · 11 min read
Redis Mastery: Deep Dive into Architecture, Data Structures, Persistence, Replication, and Sentinel
Su San Talks Tech
Su San Talks Tech
Aug 30, 2024 · Backend Development

Prevent Data Loss in Java Thread Pools When Services Crash

This article explains Java thread pools, their advantages, internal mechanics, common pitfalls such as oversized queues, excessive threads, and data loss on crashes, and presents a persistence‑based solution using database‑stored tasks and scheduled retries to ensure no data is lost when services go down.

Data PersistenceOOM preventionbackend-development
0 likes · 8 min read
Prevent Data Loss in Java Thread Pools When Services Crash
Architecture Digest
Architecture Digest
Aug 29, 2024 · Backend Development

mybatis-mate – Enterprise‑level MyBatis Extension for Sharding, Auditing, Encryption, and Data Permissions

The article introduces mybatis-mate, an enterprise‑grade MyBatis module that supports sharding, multi‑datasource, data auditing, field encryption, sensitive‑data masking, automatic DDL maintenance, performance logging, and fine‑grained data‑scope control, providing code examples and configuration guidelines for Spring Boot projects.

Data Auditingbackend-developmentdata encryption
0 likes · 15 min read
mybatis-mate – Enterprise‑level MyBatis Extension for Sharding, Auditing, Encryption, and Data Permissions
Top Architect
Top Architect
Aug 29, 2024 · Backend Development

Implementing Single Sign-On (SSO) with CAS and Session Management in Java

This article explains traditional session mechanisms, challenges in clustered environments, and presents solutions such as session replication and centralized storage, then details the design and implementation of a CAS-based Single Sign-On system in Java, including code for user forms, controllers, filters, and configuration.

CASSSOSession Management
0 likes · 17 min read
Implementing Single Sign-On (SSO) with CAS and Session Management in Java
vivo Internet Technology
vivo Internet Technology
Aug 28, 2024 · Backend Development

Time Wheel Algorithm: Evolution, Implementation, and Applications

The article chronicles the time wheel algorithm from its 1997 origins, explains simple, round‑based, and hierarchical wheel designs, compares them to queue timers, details Dubbo’s HashedWheelTimer implementation, and shows how combining the wheel with a delay‑message queue can dramatically improve service scalability and efficiency.

Data StructuresDubbobackend-development
0 likes · 20 min read
Time Wheel Algorithm: Evolution, Implementation, and Applications
Architecture Digest
Architecture Digest
Aug 28, 2024 · Backend Development

Activiti Workflow Engine: Design, Deployment, and Implementation of a Multi‑Level Approval Process

This article explains how to use the Activiti workflow engine to design a multi‑level leave‑approval process, covering BPMN diagram creation, Spring Boot configuration, deployment, Java code for starting instances, task handling, database schema, API overview, and tips for extending the workflow without additional code.

ActivitiBPMNWorkflow Engine
0 likes · 24 min read
Activiti Workflow Engine: Design, Deployment, and Implementation of a Multi‑Level Approval Process
Top Architect
Top Architect
Aug 27, 2024 · Backend Development

Comprehensive Maven Guide: Basic Configuration, Dependency Management, Module Setup, and Plugin Usage

This article provides a detailed tutorial on Maven, covering repository configuration, basic project structure, dependency management, module inheritance, unified version control, and common build plugins such as jar, assembly, and shade, with practical XML examples and code snippets for Java backend projects.

ModulesPluginsbackend-development
0 likes · 26 min read
Comprehensive Maven Guide: Basic Configuration, Dependency Management, Module Setup, and Plugin Usage
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 27, 2024 · Backend Development

Deep Dive into Gin Framework: Compressed Radix Tree Routing and Request Processing

This article thoroughly examines the Gin Go web framework, focusing on its compressed radix tree routing mechanism, middleware handling, request lifecycle, and performance‑optimizing techniques, providing code examples and best‑practice recommendations for building high‑throughput backend services.

Compressed Radix TreeGinGo
0 likes · 13 min read
Deep Dive into Gin Framework: Compressed Radix Tree Routing and Request Processing
Top Architect
Top Architect
Aug 25, 2024 · Information Security

RBAC Permission Analysis and Spring Security Integration with JWT

This article explains the concepts of role‑based access control (RBAC), compares RBAC models, shows how to configure permissions and user groups, and provides step‑by‑step code examples for integrating Spring Security with JWT, JSON login, password encryption and database authentication in Java backend applications.

JWTRBACaccess control
0 likes · 20 min read
RBAC Permission Analysis and Spring Security Integration with JWT
Architecture Digest
Architecture Digest
Aug 25, 2024 · Backend Development

Lock4j Distributed Lock Component: Features, Configuration, and Usage Guide

Lock4j is a Java distributed lock library supporting Spring AOP, RedisTemplate, Redisson, and Zookeeper, offering simple usage, configurable properties, annotation-driven locking, custom executors, key generators, and failure strategies, with detailed setup, code examples, and advanced customization instructions.

backend-developmentdistributed-lockjava
0 likes · 6 min read
Lock4j Distributed Lock Component: Features, Configuration, and Usage Guide
Architecture Digest
Architecture Digest
Aug 23, 2024 · Backend Development

Using ArthasHotSwap for Fast Hot Updates in Java Backend Development

This article introduces the ArthasHotSwap plugin, explains why hot‑updating a few Java classes in a test environment can save minutes compared to full redeployment, and provides step‑by‑step instructions—including downloading, compiling, uploading bytecode to OSS, and applying the changes on the server—complete with code snippets and screenshots.

ArthasHotSwapDevOpsHotSwap
0 likes · 3 min read
Using ArthasHotSwap for Fast Hot Updates in Java Backend Development
php Courses
php Courses
Aug 23, 2024 · Backend Development

Top 10 Impactful PHP 2024 Features That Transform Development

This article introduces the ten most influential PHP 2024 updates—including readonly properties, enums, match expressions, constructor property promotion, named arguments, nullsafe operator, union types, string-key unpacking, JSON_THROW_ON_ERROR, and JIT compilation—explaining each feature with clear examples to boost coding efficiency.

2024New Featuresbackend-development
0 likes · 4 min read
Top 10 Impactful PHP 2024 Features That Transform Development
Test Development Learning Exchange
Test Development Learning Exchange
Aug 23, 2024 · Fundamentals

Common Python String Operations: Concatenation, Splitting, Searching, Replacement, and More

This article demonstrates ten essential Python string manipulation techniques—including concatenation, splitting, searching, replacement, case conversion, slicing, formatting, whitespace trimming, list conversion, and URL encoding/decoding—each illustrated with clear code examples and expected output for practical API development.

PythonString Manipulationbackend-development
0 likes · 4 min read
Common Python String Operations: Concatenation, Splitting, Searching, Replacement, and More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 23, 2024 · Backend Development

Master Spring Boot: Complete Roadmap for Enterprise Java Development

This guide walks you through why Java remains vital, explains what Spring Boot is, outlines its core features, and provides a detailed learning roadmap covering Java fundamentals, Spring core concepts, web development, AOP, microservices, databases, security, DevOps tools, and deployment strategies for building robust enterprise applications.

DevOpsMicroservicesbackend-development
0 likes · 16 min read
Master Spring Boot: Complete Roadmap for Enterprise Java Development
php Courses
php Courses
Aug 22, 2024 · Backend Development

Using PHP's is_numeric() Function to Check Numeric Values

This article explains PHP's is_numeric() function, detailing its purpose, usage, return values, and special cases, and provides multiple code examples—including basic numeric checks, form input validation, and edge-case behaviors—to help beginner developers correctly determine whether variables are numeric.

backend-developmentform-validationis_numeric
0 likes · 4 min read
Using PHP's is_numeric() Function to Check Numeric Values
Su San Talks Tech
Su San Talks Tech
Aug 22, 2024 · Backend Development

Why AviatorScript Is the Lightweight JVM Rule Engine You Need

This article introduces AviatorScript, a high‑performance, lightweight JVM‑based scripting language, covering its origins, key features, quick‑start setup, core syntax for numbers, strings, booleans, control flow, functions, and real‑world use cases such as client version control, marketing rules, and order risk management.

AviatorScriptJVMScripting Language
0 likes · 19 min read
Why AviatorScript Is the Lightweight JVM Rule Engine You Need
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 21, 2024 · Backend Development

Design and Implementation of a Real-Time Customer Service IM System

This article analyzes the challenges of real-time, reliability, and message ordering in a customer service instant messaging system and presents solutions such as WebSocket adoption, ACK-based reliability, heartbeat mechanisms, and a structured message protocol to ensure efficient and stable communication.

ACK mechanismHeartbeatIM System
0 likes · 11 min read
Design and Implementation of a Real-Time Customer Service IM System
Java Tech Enthusiast
Java Tech Enthusiast
Aug 21, 2024 · Backend Development

Common Configuration and Code Issues in a New Java Backend Project

On his first day the new Java backend developer discovered duplicated internal and external configuration files causing NullPointerExceptions, hard‑coded role strings, mixed System.out and logger calls, missing manager review leading to DB mismatches, arbitrary production database edits, and Maven pom‑type dependency errors, prompting a shift to unified application.yml settings, JVM‑specified config locations, consistent logging, and stricter coding standards.

backend-developmentconfigurationjava
0 likes · 5 min read
Common Configuration and Code Issues in a New Java Backend Project
php Courses
php Courses
Aug 21, 2024 · Backend Development

Using PHP str_word_count() Function: Syntax, Parameters, and Examples

This article explains PHP's str_word_count() function, detailing its syntax, parameters, optional character list, and provides multiple code examples demonstrating how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.

String processingbackend-developmentstr_word_count
0 likes · 4 min read
Using PHP str_word_count() Function: Syntax, Parameters, and Examples
php Courses
php Courses
Aug 21, 2024 · Backend Development

Using PHP is_file() to Check File Existence and Type

This article explains the PHP is_file() function, its syntax, parameters, return values, and provides clear code examples showing how to determine whether a given path points to an existing regular file and how to differentiate it from directories or special files.

Filesystembackend-developmentfile-existence
0 likes · 4 min read
Using PHP is_file() to Check File Existence and Type
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 21, 2024 · Backend Development

Using Lombok @RequiredArgsConstructor to Reduce @Autowired Boilerplate in Spring Services

This article explains how Lombok's @RequiredArgsConstructor can replace repetitive @Autowired field injections in Spring services by generating a constructor for final fields, demonstrates the underlying annotation‑processing mechanism, and provides practical code examples for applying this technique in backend Java projects.

AutowireDependencyInjectionLombok
0 likes · 8 min read
Using Lombok @RequiredArgsConstructor to Reduce @Autowired Boilerplate in Spring Services
Java Architect Essentials
Java Architect Essentials
Aug 19, 2024 · Backend Development

Boost MyBatis Development with MyBatis‑SQL‑Viewer: Features, Installation & Usage

This article introduces the MyBatis‑SQL‑Viewer plugin, detailing its capabilities such as converting MyBatis XML to real SQL, mock data generation, SQL compliance and index checks, execution, performance testing, and how to install and use it within IntelliJ IDEA for efficient backend development.

IDE pluginPerformance TestingSQL Mock
0 likes · 13 min read
Boost MyBatis Development with MyBatis‑SQL‑Viewer: Features, Installation & Usage
Architect
Architect
Aug 19, 2024 · Backend Development

Applying the Chain of Responsibility Pattern for Product Validation and Workflow Management

This article explains the Chain of Responsibility design pattern, demonstrates its use in multi‑step product validation and expense‑approval workflows with concrete Java examples, shows how to configure and assemble handlers dynamically, and discusses the pattern's advantages and drawbacks.

Chain of Responsibilitybackend-developmentdesign pattern
0 likes · 19 min read
Applying the Chain of Responsibility Pattern for Product Validation and Workflow Management
Open Source Tech Hub
Open Source Tech Hub
Aug 19, 2024 · Backend Development

Master Composer: Dependency Management, Autoloading, and Global Configuration for PHP

Composer is a PHP dependency manager that automates library installation, version locking, autoloading, and integrates with tools like PHPUnit; the guide explains its core features, installation steps, use of domestic mirrors, global and project‑specific configuration, package requiring commands, and the importance of the composer.lock file.

ComposerPHPbackend-development
0 likes · 12 min read
Master Composer: Dependency Management, Autoloading, and Global Configuration for PHP
Architecture Digest
Architecture Digest
Aug 19, 2024 · Backend Development

Java 8 Functional Interfaces: Simplifying Conditional Logic with Function, Supplier, Consumer, and Runnable

This article explains how Java 8 functional interfaces such as Function, Supplier, Consumer, and Runnable can replace repetitive if‑else statements, providing code examples for exception handling, branch processing, and present‑or‑else logic to improve readability and maintainability in backend development.

Exception HandlingFunctionalInterfaceLambda
0 likes · 6 min read
Java 8 Functional Interfaces: Simplifying Conditional Logic with Function, Supplier, Consumer, and Runnable
WeiLi Technology Team
WeiLi Technology Team
Aug 19, 2024 · Backend Development

How to Upgrade Spring Boot for MongoDB Transaction Support

This guide explains why upgrading from Spring Boot 1.5 to 2.1 is essential for MongoDB transaction management, outlines version requirements, highlights key feature changes, and provides step‑by‑step instructions with code examples to enable reliable transactional operations in a Spring‑based backend.

MongoDBVersion Upgradebackend-development
0 likes · 11 min read
How to Upgrade Spring Boot for MongoDB Transaction Support
JD Retail Technology
JD Retail Technology
Aug 19, 2024 · Interview Experience

From Campus to Backend Engineer: 3 Years of Growth at JD

This article shares a recent graduate's three‑year journey at JD, offering practical advice for newcomers, detailing a large‑scale system redesign for a merchant conference, outlining promotion‑season preparation, and describing the development of an AI assistant while emphasizing continuous learning and professional mindset.

AI AssistantDomain-Driven DesignLarge‑Scale Deployment
0 likes · 12 min read
From Campus to Backend Engineer: 3 Years of Growth at JD
Architect's Guide
Architect's Guide
Aug 18, 2024 · Backend Development

Why HikariCP Is So Fast: An In‑Depth Look at Its Design and Implementation

This article explains the core concepts of connection‑pool technology, details the architectural choices behind HikariCP such as dual HikariPool instances, FastList, custom ConcurrentBag, ThreadLocal caching, and byte‑code generation, and walks through the key source code that makes the pool exceptionally fast.

Connection PoolHikariCPJDBC
0 likes · 15 min read
Why HikariCP Is So Fast: An In‑Depth Look at Its Design and Implementation
21CTO
21CTO
Aug 17, 2024 · Cloud Native

Why Go Is Becoming the Go‑To Language for Cloud‑Native Development

The article traces Go's 15‑year journey from its 2009 debut, highlighting its rapid rise in popularity, strong community, advantages over C/C++ and Java, and its pivotal role in cloud‑native, microservice, and AI/ML applications today.

Cloud NativeDevOpsbackend-development
0 likes · 7 min read
Why Go Is Becoming the Go‑To Language for Cloud‑Native Development
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 16, 2024 · Backend Development

Understanding IOC vs Dependency Injection in Spring: Key Differences Explained

This article clarifies how Inversion of Control (IoC) serves as a design pattern that hands control to an external container, while Dependency Injection (DI) is a concrete IoC implementation that automatically supplies required objects, detailing their definitions, purposes, implementations, and typical usage scenarios.

Inversion of Controlbackend-developmentdependency-injection
0 likes · 4 min read
Understanding IOC vs Dependency Injection in Spring: Key Differences Explained
Java Architecture Diary
Java Architecture Diary
Aug 16, 2024 · Information Security

Fix Critical Spring Framework CVE-2024-38808 & CVE-2024-38809

Spring Framework versions up to 5.3.38 and certain Spring Boot releases contain two severe DoS vulnerabilities (CVE-2024-38808 and CVE-2024-38809); this guide explains their impact, affected products, and provides detailed mitigation steps, including version upgrades and configuration changes to secure your applications.

CVE-2024-38808CVE-2024-38809DoS
0 likes · 6 min read
Fix Critical Spring Framework CVE-2024-38808 & CVE-2024-38809
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 15, 2024 · Backend Development

Understanding Java ConcurrentHashMap: Principles, Implementation, and Usage

This article provides a comprehensive overview of Java's ConcurrentHashMap, explaining its purpose, underlying lock‑segmentation and CAS mechanisms in JDK 7 and JDK 8, demonstrating usage with sample code, and outlining scenarios where it delivers high‑performance thread‑safe map operations.

ConcurrentHashMapData Structuresbackend-development
0 likes · 6 min read
Understanding Java ConcurrentHashMap: Principles, Implementation, and Usage
Test Development Learning Exchange
Test Development Learning Exchange
Aug 15, 2024 · Backend Development

APScheduler Advanced Features and Configuration Examples

This article provides comprehensive examples of APScheduler's advanced features including database storage, multi-threading/multi-processing, event listeners, dynamic task management, external event triggers, priority settings, logging, advanced triggers, and timezone support.

APSchedulerCron TriggersDatabase Storage
0 likes · 6 min read
APScheduler Advanced Features and Configuration Examples
php Courses
php Courses
Aug 15, 2024 · Backend Development

Using PHP str_split() to Split Strings into Characters

This article explains the PHP str_split() function, its syntax, parameters, return value, and provides multiple code examples showing how to split a string into characters or fixed‑length chunks and even generate numeric codes for use cases like verification codes.

Code Examplebackend-developmentstr_split
0 likes · 4 min read
Using PHP str_split() to Split Strings into Characters
21CTO
21CTO
Aug 14, 2024 · Backend Development

Rails 7.2 Unveiled: YJIT Default, DevContainers & Performance Boosts

Rails 7.2 introduces YJIT as the default JIT compiler, requires Ruby 3.3 for default use, adds automatic devcontainer generation with Redis, database, and headless Chrome support, reduces default Puma threads, and includes Brakeman security analysis, delivering notable performance and developer experience improvements.

DevContainersRuby on RailsYJIT
0 likes · 5 min read
Rails 7.2 Unveiled: YJIT Default, DevContainers & Performance Boosts
21CTO
21CTO
Aug 14, 2024 · Backend Development

Explore a PHP‑Based “Operating System”: Installation Guide and Demo

A Japanese PHP developer released an open‑source project that simulates an operating system using PHP, currently only outputs "Hello World!" in an emulator, and the article provides step‑by‑step installation instructions for macOS and Composer usage.

Operating SystemPHPbackend-development
0 likes · 2 min read
Explore a PHP‑Based “Operating System”: Installation Guide and Demo
Selected Java Interview Questions
Selected Java Interview Questions
Aug 14, 2024 · Backend Development

Introducing LiteFlow: A Lightweight Java Rule Engine for Complex Workflow Orchestration

This article explains how the LiteFlow rule engine enables Java developers to define, configure, and execute complex serial and parallel business workflows using XML/JSON/YAML rule files, various node components, data contexts, and runtime parameters, with hot‑deployment and integration examples for Spring Boot projects.

LiteFlowbackend-developmentjava
0 likes · 9 min read
Introducing LiteFlow: A Lightweight Java Rule Engine for Complex Workflow Orchestration
php Courses
php Courses
Aug 14, 2024 · Backend Development

Key New Features of PHP 8: JIT Compiler, Named Parameters, Anonymous Classes, and Loose Type Checks

PHP 8 introduces major enhancements such as a Just‑In‑Time compiler, named parameters, improved anonymous classes, and loose type checking, along with numerous other improvements like new error handling, string and array functions, and enhanced return type declarations, all aimed at boosting development efficiency and code quality.

Anonymous ClassesJITbackend-development
0 likes · 4 min read
Key New Features of PHP 8: JIT Compiler, Named Parameters, Anonymous Classes, and Loose Type Checks
php Courses
php Courses
Aug 14, 2024 · Backend Development

Using PHP is_dir() to Check and Traverse Directories

This article explains PHP's is_dir() function, shows how it determines whether a path is a directory, provides basic and advanced code examples for checking and traversing directories, and highlights important usage considerations for reliable file system operations.

backend-developmentdirectory traversalis_dir
0 likes · 5 min read
Using PHP is_dir() to Check and Traverse Directories
macrozheng
macrozheng
Aug 14, 2024 · Backend Development

How to Refactor Bloated Spring Controllers into Clean, Maintainable Code

This article demonstrates how to transform overly complex Spring Boot controllers—filled with try‑catch blocks, validation logic, and business code—into elegant, concise implementations by applying @Valid, separating concerns, and using global exception handling, illustrated with side‑by‑side code comparisons and practical tips for cleaner backend development.

Controller RefactoringException Handlingbackend-development
0 likes · 10 min read
How to Refactor Bloated Spring Controllers into Clean, Maintainable Code
macrozheng
macrozheng
Aug 14, 2024 · Backend Development

When to Put try‑catch Inside or Outside a for Loop? Practical Insights

This article explains the different effects of placing a try‑catch block inside versus outside a for loop in Java, covering usage scenarios, performance impact, memory consumption, and practical recommendations for choosing the appropriate approach during development.

Exception Handlingbackend-developmentfor loop
0 likes · 6 min read
When to Put try‑catch Inside or Outside a for Loop? Practical Insights
Liangxu Linux
Liangxu Linux
Aug 13, 2024 · Backend Development

Master Go Socket and HTTP Programming: Dial, ICMP, and Custom Requests

Learn how to use Go's net package for low‑level socket programming—including TCP, UDP, and ICMP connections with the Dial function—and build HTTP clients with net/http, covering basic requests, POST forms, custom headers, and practical code examples.

GoHTTPbackend-development
0 likes · 12 min read
Master Go Socket and HTTP Programming: Dial, ICMP, and Custom Requests
21CTO
21CTO
Aug 13, 2024 · Databases

How PostgreSQL Can Replace Kafka, Redis, MongoDB and More in Your Stack

This article explores how PostgreSQL’s advanced features—UNLOGGED tables, JSONB, SKIP LOCKED, TimescaleDB, pg_cron, PostGIS, full‑text search, JSON generation, pgaudit, and GraphQL adapters—can replace specialized tools like Kafka, Redis, MongoDB, and others, simplifying the tech stack while boosting performance and maintainability.

Full‑Text SearchGraphQLbackend-development
0 likes · 23 min read
How PostgreSQL Can Replace Kafka, Redis, MongoDB and More in Your Stack
Tencent Cloud Developer
Tencent Cloud Developer
Aug 13, 2024 · Backend Development

Comprehensive Guide to Backend Development: System Design, Architecture, Networking, Fault Handling, Monitoring, Service Governance, Testing, and Deployment

This comprehensive guide to backend development explains essential system and architecture design principles, networking strategies, fault and exception handling, monitoring and alerting, service governance, testing methodologies, and deployment practices, offering best‑practice advice and highlighting common pitfalls for building reliable, scalable internet services.

DeploymentNetworkingarchitecture
0 likes · 28 min read
Comprehensive Guide to Backend Development: System Design, Architecture, Networking, Fault Handling, Monitoring, Service Governance, Testing, and Deployment
Architect
Architect
Aug 12, 2024 · Backend Development

How to Run Two SpringBoot Instances on the Same Port Seamlessly

When updating a SpringBoot application the old process must be stopped because the new one cannot bind to the same port, but by leveraging Tomcat's embedded container, ServletWebServerFactory, and dynamic port handling you can keep both processes alive and achieve zero‑downtime deployments.

Port SharingSpringBootTomcat
0 likes · 9 min read
How to Run Two SpringBoot Instances on the Same Port Seamlessly
Open Source Tech Hub
Open Source Tech Hub
Aug 12, 2024 · Backend Development

Compiling ThinkPHP8 with BPC: From Migration to Running OurBlog

This article explains how BPC, a PHP native compiler, can translate ThinkPHP8 code into C, outlines the required dependencies, details the migration of the OurBlog sample project, describes necessary code adjustments, and provides step‑by‑step instructions to compile and run the resulting binary.

BPCCompilationPHP
0 likes · 6 min read
Compiling ThinkPHP8 with BPC: From Migration to Running OurBlog
Top Architect
Top Architect
Aug 12, 2024 · Backend Development

Why Field Injection Is Discouraged in Spring and Preferred Alternatives

The article explains that Spring no longer recommends @Autowired field injection, describes constructor‑based, setter‑based, and field‑based dependency injection types, illustrates each with code examples, and outlines the drawbacks of field injection such as immutability issues, SRP violations, and tight coupling to the container.

Constructor InjectionField InjectionSetter Injection
0 likes · 11 min read
Why Field Injection Is Discouraged in Spring and Preferred Alternatives
Selected Java Interview Questions
Selected Java Interview Questions
Aug 12, 2024 · Backend Development

Troubleshooting High Java Memory Usage in Spring Boot Microservices

This article documents a production incident where multiple Spring Boot services each consumed around 12 GB of memory, explains how to diagnose the issue using jps and jmap, details default JVM heap size calculations, and provides recommendations for configuring JVM parameters to prevent excessive memory usage.

JVMMemory Managementbackend-development
0 likes · 7 min read
Troubleshooting High Java Memory Usage in Spring Boot Microservices
FunTester
FunTester
Aug 12, 2024 · Backend Development

Building a High‑Performance LRU Cache in Go from Scratch

This article explains the importance of caching, compares common replacement policies, and walks through a complete Go implementation of a thread‑safe local LRU cache, including interface design, data structures, linked‑list management, and concurrency handling.

Data StructuresGobackend-development
0 likes · 11 min read
Building a High‑Performance LRU Cache in Go from Scratch
Eric Tech Circle
Eric Tech Circle
Aug 11, 2024 · Backend Development

Reshaping a Microservice with DDD: A Practical Layered Architecture Guide

This article shares the author's experience of redesigning a microservice using Domain‑Driven Design, detailing a standardized layered architecture, directory structure, model conversions, common pitfalls, and practical recommendations to improve code clarity and testing efficiency.

DDDDomain-Driven DesignMicroservices
0 likes · 13 min read
Reshaping a Microservice with DDD: A Practical Layered Architecture Guide
DeWu Technology
DeWu Technology
Aug 9, 2024 · Backend Development

Design and Implementation of a Lightweight Gray Release Platform

The article presents a lightweight gray‑release platform for e‑commerce, detailing its four‑module architecture, unified data‑type and predicate rule model, matcher implementations, stable bucket‑based traffic allocation, developer SDK and configuration APIs, as well as whitelist handling and non‑functional considerations for rapid, fine‑grained deployments.

Configuration Managementbackend-developmentfeature toggle
0 likes · 19 min read
Design and Implementation of a Lightweight Gray Release Platform
Top Architect
Top Architect
Aug 9, 2024 · Databases

Design and Implementation of Database Sharding for Loan and Repayment Tables Using ShardingSphere and Spring Boot

After a year of business coding, the author details the design, implementation, and migration strategy for splitting loan and repayment tables into 50 sharded tables using ShardingSphere with Spring Boot, covering schema design, data synchronization, dynamic switches, and practical pitfalls.

Data Migrationbackend-developmentdatabase partitioning
0 likes · 20 min read
Design and Implementation of Database Sharding for Loan and Repayment Tables Using ShardingSphere and Spring Boot
macrozheng
macrozheng
Aug 8, 2024 · Backend Development

Master Modern Microservices with the Mall‑Swarm 2024 Video Course

This article introduces the Mall‑Swarm open‑source microservice e‑commerce system, outlines its 2024 video tutorial covering Spring Cloud, Kubernetes deployment, and the full tech stack, and explains how learners can access demos, study materials, and join the learning community.

KubernetesMicroservicesSpring Cloud
0 likes · 9 min read
Master Modern Microservices with the Mall‑Swarm 2024 Video Course
Top Architect
Top Architect
Aug 7, 2024 · Backend Development

Setting Up a Free Nginx Web Server and Exposing It via Intranet Tunneling

This guide walks you through installing Nginx, configuring the server, creating a simple HTML page, launching the service, and using a free intranet tunneling tool to make your site accessible from the public internet, all without spending any money on hosting or domain names.

Server Setupbackend-developmentintranet tunneling
0 likes · 8 min read
Setting Up a Free Nginx Web Server and Exposing It via Intranet Tunneling
21CTO
21CTO
Aug 6, 2024 · Backend Development

Build a Full-Featured Node.js Web Server with Express: Step‑by‑Step Guide

This tutorial walks you through installing Node.js and npm, initializing a project, adding Express, creating routes, handling static files, processing POST requests with body‑parser, implementing simple in‑memory storage, adding error handling, and rendering HTML with EJS, all illustrated with complete code examples.

ExpressJavaScriptNode.js
0 likes · 16 min read
Build a Full-Featured Node.js Web Server with Express: Step‑by‑Step Guide
Open Source Tech Hub
Open Source Tech Hub
Aug 5, 2024 · Backend Development

Secure Your PHP Code with Zephir: Build a Custom Encryption Extension

Learn how to protect PHP source code by creating a custom Zephir‑based encryption extension, covering repository setup, directory structure, licensing logic, abstract and live modules, compilation steps, php.ini configuration, and testing with example authorization codes.

AuthorizationCode EncryptionExtension
0 likes · 9 min read
Secure Your PHP Code with Zephir: Build a Custom Encryption Extension
Top Architect
Top Architect
Aug 5, 2024 · Backend Development

Reverting Mistaken Commits Locally and Remotely with Git and IDEA

This article explains step‑by‑step how to compare, delete, reset, and force‑push unwanted Git commits using both simple manual comparison and the more elegant reset options in IntelliJ IDEA, while also noting the limitations of complex changes and including promotional offers for related services.

IntelliJ IDEAbackend-development
0 likes · 8 min read
Reverting Mistaken Commits Locally and Remotely with Git and IDEA
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 5, 2024 · Backend Development

How to Build a Python Appointment‑Based Elevator Control System

This article walks through building a Python-based appointment elevator control system, covering platform setup, independent elevator design with detailed class implementations, a task‑oriented group‑control algorithm, and provides complete source code and diagrams for simulation and scheduling.

Elevator SimulationPythonSystem Design
0 likes · 10 min read
How to Build a Python Appointment‑Based Elevator Control System
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 4, 2024 · Backend Development

Enable Spring Dependency Injection for New Objects with @Configurable

This guide explains how to use Spring's @Configurable annotation and the AnnotationBeanConfigurerAspect to inject dependencies into objects created with new, covering environment setup, Maven configuration, AspectJ weaving, and advanced options like autowiring, constructor injection, and dependency checks.

Configurableaspectjbackend-development
0 likes · 8 min read
Enable Spring Dependency Injection for New Objects with @Configurable
Top Architect
Top Architect
Aug 3, 2024 · Backend Development

Optimizing a High‑Concurrency Transaction Statistics Interface from 30 seconds to Sub‑Second Performance

This article presents a real‑world case study of a high‑concurrency data‑processing interface whose response time was reduced from 30 seconds to under one second by diagnosing SQL bottlenecks, refactoring MyBatis code, applying PostgreSQL array aggregation, and introducing a Caffeine cache, while also discussing the limits of relational databases and promoting related AI services.

CaffeineSQL optimizationbackend-development
0 likes · 13 min read
Optimizing a High‑Concurrency Transaction Statistics Interface from 30 seconds to Sub‑Second Performance
21CTO
21CTO
Aug 2, 2024 · Backend Development

Why Developers Are Ditching Oracle Java and How to Switch to OpenJDK

A market study reveals that rising Oracle Java subscription costs are driving many users to migrate to OpenJDK, and this guide explains the reasons behind the shift and provides step‑by‑step instructions for removing Oracle JDK and installing OpenJDK.

OpenJDKOracle JDKbackend-development
0 likes · 6 min read
Why Developers Are Ditching Oracle Java and How to Switch to OpenJDK
JD Tech
JD Tech
Aug 1, 2024 · Backend Development

Overview of RPC and How to Build a Custom RPC Framework Using Netty

This article explains the fundamentals and key characteristics of Remote Procedure Call (RPC), outlines common use cases and popular frameworks, and then walks through the design and implementation of a simple custom RPC system—including a bespoke binary protocol, client‑side proxy generation, serialization, Netty‑based encoding/decoding, server‑side request handling, and result delivery—using Java and Netty.

Distributed SystemsNettyRPC
0 likes · 21 min read
Overview of RPC and How to Build a Custom RPC Framework Using Netty
FunTester
FunTester
Aug 1, 2024 · Backend Development

Mastering Advanced fx Features: Invoke, Supply, Populate, and More

This article dives deep into Uber's fx dependency‑injection framework for Go, explaining advanced constructs such as fx.Invoke, fx.Supply, fx.Populate, fx.Annotated, fx.In, fx.Out, fx.Module, fx.WithLogger and fx.As, and provides complete code examples that illustrate how to manage lifecycles, inject static values, differentiate multiple implementations, and customize logging in production‑grade applications.

GoUber fxbackend-development
0 likes · 13 min read
Mastering Advanced fx Features: Invoke, Supply, Populate, and More
Sohu Tech Products
Sohu Tech Products
Jul 31, 2024 · Databases

Elasticsearch ILM Migration Performance Optimization Strategies

To prevent IO saturation during Elasticsearch ILM hot‑to‑cold migrations, the article recommends batching migrations, fine‑tuning max_bytes_per_sec, upgrading cold‑node storage and adding hot nodes, and automating monitoring with scripts that pause or resume ILM based on real‑time utilization thresholds.

ElasticsearchILMbackend-development
0 likes · 7 min read
Elasticsearch ILM Migration Performance Optimization Strategies
php Courses
php Courses
Jul 31, 2024 · Backend Development

Understanding PHP 7.3 array_key_first(): Syntax, Usage, and Examples

PHP 7.3 introduced the array_key_first() function, which returns the first key of an array or null if empty; this article explains its syntax, demonstrates usage with examples, compares it to older approaches, and outlines scenarios such as retrieving the first key and checking for empty arrays.

Arraysarray_key_firstbackend-development
0 likes · 4 min read
Understanding PHP 7.3 array_key_first(): Syntax, Usage, and Examples
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 29, 2024 · Fundamentals

Understanding Java Stream: How Lazy Pipelines Transform Collections

This article explains the core principles of Java Stream, covering its three main characteristics, pipeline construction, intermediate and terminal operations with code examples, and how lazy execution and sink generation produce results only when a terminal operation is invoked.

Java 8Lazy EvaluationStream API
0 likes · 10 min read
Understanding Java Stream: How Lazy Pipelines Transform Collections
FunTester
FunTester
Jul 29, 2024 · Backend Development

Mastering Dependency Injection in Go with Uber’s Fx Framework

This article explains the core concepts of dependency injection, introduces Uber’s Fx framework for Go, and provides step‑by‑step code examples that demonstrate how to register providers, manage application lifecycles, and use hooks for start‑up and shutdown logic.

Gobackend-developmentdependency-injection
0 likes · 12 min read
Mastering Dependency Injection in Go with Uber’s Fx Framework
Code Mala Tang
Code Mala Tang
Jul 27, 2024 · Backend Development

Master Egg‑Sequelize: From Setup to Advanced Tips for Egg.js Projects

This guide walks you through installing, configuring, and using Egg‑Sequelize in Egg.js, explains core ORM features, demonstrates model definition and CRUD operations, and covers advanced topics such as complex queries, transactions, validation, migrations, associations, and common pitfalls to avoid.

Node.jsORMSequelize
0 likes · 13 min read
Master Egg‑Sequelize: From Setup to Advanced Tips for Egg.js Projects
Open Source Tech Hub
Open Source Tech Hub
Jul 27, 2024 · Backend Development

Master Elasticsearch with PHP: From Basics to Real‑World Search Implementation

This guide explains why e‑commerce platforms need a high‑performance search engine, introduces Elasticsearch fundamentals, compares it with traditional engines, and provides step‑by‑step PHP code for installing, configuring, indexing, and querying data, complete with practical examples and best‑practice tips.

ElasticsearchFull‑Text SearchPHP
0 likes · 9 min read
Master Elasticsearch with PHP: From Basics to Real‑World Search Implementation
Architecture Development Notes
Architecture Development Notes
Jul 26, 2024 · Backend Development

Master Go Configuration with Viper: Setup, Usage, and Advanced Tips

This article provides a comprehensive guide to Viper, a powerful Go configuration library, covering its core advantages, step‑by‑step basic usage—including installation, defaults, file handling, environment variables, command‑line flags, remote providers—and advanced techniques such as sub‑tree reading, custom decoding, and managing multiple Viper instances.

Configuration ManagementGoViper
0 likes · 10 min read
Master Go Configuration with Viper: Setup, Usage, and Advanced Tips
Bilibili Tech
Bilibili Tech
Jul 26, 2024 · Backend Development

Design and Architecture of a Self‑Developed Video Transcoding Core

The team built a custom video‑transcoding core atop FFmpeg libraries, replacing the command‑line tool with modular controllers, pipelines, and parallel tasks that dynamically adapt resolution, frame‑rate, and SEI handling for both low‑latency live streams and high‑throughput VOD, improving scalability and maintainability.

Video Transcodingadaptive bitratebackend-development
0 likes · 11 min read
Design and Architecture of a Self‑Developed Video Transcoding Core