Tagged articles

backend

5000 articles · Page 24 of 50
Programmer DD
Programmer DD
Jan 10, 2024 · Backend Development

Can Java Records Replace Lombok? A Practical Comparison

This article compares Java's native record feature with the Lombok library, showing how records can reduce boilerplate code, outlining scenarios where records can replace Lombok, and discussing the limitations of each approach for clean and maintainable backend development.

JavaJava 16Lombok
0 likes · 8 min read
Can Java Records Replace Lombok? A Practical Comparison
php Courses
php Courses
Jan 10, 2024 · Backend Development

Using PHP’s is_numeric() Function to Determine If a Variable Is Numeric

This article explains how the PHP is_numeric() function checks whether a variable is numeric, returns a boolean result, and demonstrates its usage with code examples for direct variable checks and form input validation, while also highlighting special edge cases to watch out for.

Code ExamplePHPbackend
0 likes · 4 min read
Using PHP’s is_numeric() Function to Determine If a Variable Is Numeric
php Courses
php Courses
Jan 10, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and Standard Input

This article explains PHP's fgetc() function for reading a single character from an opened file or standard input, demonstrates how to open files with fopen(), shows example code for character-by-character reading using a while loop, and provides a user input handling example with a switch statement.

backendfgetcfile-handling
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and Standard Input
Java Architect Essentials
Java Architect Essentials
Jan 9, 2024 · Backend Development

PowerJob: A Comprehensive Introduction and Practical Guide to the New Generation Java Distributed Task Scheduling Framework

This article introduces PowerJob, explains its key features such as lock‑free scheduling, multiple execution modes, and workflow support, and provides step‑by‑step instructions for installing via Docker or JAR, configuring databases, setting up server and client projects, and creating and managing scheduled tasks in Java.

JavaPowerJobSpringBoot
0 likes · 11 min read
PowerJob: A Comprehensive Introduction and Practical Guide to the New Generation Java Distributed Task Scheduling Framework
php Courses
php Courses
Jan 9, 2024 · Backend Development

Implementing Data Pagination in PHP with PDO: A Step‑by‑Step Guide

This article explains how to create a MySQL database and table, connect to it using PHP PDO, and implement server‑side pagination with configurable page size, total‑page calculation, and navigation links, providing complete code examples for each step.

Paginationbackendtutorial
0 likes · 5 min read
Implementing Data Pagination in PHP with PDO: A Step‑by‑Step Guide
IT Niuke
IT Niuke
Jan 8, 2024 · Backend Development

Implementing Idempotent APIs in SpringBoot

This article explains the concept of idempotency, why it matters for HTTP APIs, the impact on system design, RESTful method characteristics, and compares four practical implementation strategies—including database primary keys, optimistic locking, Redis token, and downstream sequence numbers—followed by a complete SpringBoot example with code and tests.

JavaRedisSpringBoot
0 likes · 26 min read
Implementing Idempotent APIs in SpringBoot
php Courses
php Courses
Jan 8, 2024 · Backend Development

Using PHP urlencode to Encode URLs and Non-ASCII Characters

This article explains how PHP's urlencode function encodes URLs containing special or non‑ASCII characters, provides example code for both English and Chinese strings, and discusses handling spaces with rawurlencode for more precise encoding.

backendencodingurl-encoding
0 likes · 4 min read
Using PHP urlencode to Encode URLs and Non-ASCII Characters
Su San Talks Tech
Su San Talks Tech
Jan 8, 2024 · Backend Development

How Xxl-Job Works: Inside the Lightweight Distributed Scheduler

This article explains the core concepts, architecture, and implementation details of Xxl-Job, a lightweight distributed task scheduling platform, covering the scheduler center, executor, job handling, demo setup, routing strategies, trigger mechanisms, and result callbacks.

JavaSpring BootXXL-Job
0 likes · 20 min read
How Xxl-Job Works: Inside the Lightweight Distributed Scheduler
php Courses
php Courses
Jan 5, 2024 · Backend Development

Understanding PHP count() and sizeof() Functions: Differences, Usage, and Tips

This article explains the PHP count() and sizeof() functions, clarifying that they are aliases with identical behavior, showing basic usage examples, discussing when to prefer one over the other, and offering performance notes, recursive counting, and object handling tips for developers.

ArraysPHPPerformance
0 likes · 4 min read
Understanding PHP count() and sizeof() Functions: Differences, Usage, and Tips
Java Backend Technology
Java Backend Technology
Jan 5, 2024 · Backend Development

How to Prevent Lost Payments and Duplicate Orders in Backend Systems

This article explains the typical order‑to‑payment flow, identifies why payments can be lost or duplicated, and provides concrete backend strategies—such as intermediate payment states, timeout queries, idempotent notifications, and Redis‑based duplicate‑submission checks—to ensure reliable order processing.

backendduplicate-submissionorder loss
0 likes · 5 min read
How to Prevent Lost Payments and Duplicate Orders in Backend Systems
Architecture Development Notes
Architecture Development Notes
Jan 4, 2024 · Information Security

How to Implement Seamless, Secure Token Refresh for Modern Apps

This article explains the concept, workflow, and step‑by‑step implementation of a seamless token refresh mechanism, providing code examples and security best practices to keep user sessions alive without interruption while maintaining strong protection against token theft and replay attacks.

AuthenticationSecuritybackend
0 likes · 7 min read
How to Implement Seamless, Secure Token Refresh for Modern Apps
php Courses
php Courses
Jan 4, 2024 · Backend Development

Using PHP mkdir() to Create Directories Dynamically

This tutorial explains PHP's mkdir() function, detailing its parameters and demonstrating simple, permission-setting, recursive, and dynamic directory creation through clear code examples, enabling developers to efficiently manage server-side folders in web applications.

backenddirectoryfile-system
0 likes · 4 min read
Using PHP mkdir() to Create Directories Dynamically
High Availability Architecture
High Availability Architecture
Jan 4, 2024 · Backend Development

Refactoring and Optimizing Tencent News Backend Service: Reducing Technical Debt, Improving Efficiency, and Enhancing Stability

This article details the challenges of Tencent News' legacy backend page service, including high code debt, low development efficiency, and poor stability, and describes the systematic refactoring, configuration-driven redesign, performance optimization, and tooling (xhprof, Xdebug, expr) employed to improve maintainability, scalability, and reliability.

PHPbackendconfiguration management
0 likes · 14 min read
Refactoring and Optimizing Tencent News Backend Service: Reducing Technical Debt, Improving Efficiency, and Enhancing Stability
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2024 · Backend Development

Creating an Enterprise-Grade OSS Object Storage Spring Boot Starter

This article provides a step‑by‑step guide to building a Spring Boot starter that abstracts Amazon S3‑compatible object storage services such as Alibaba Cloud OSS, Tencent COS, Qiniu OSS, and MinIO, covering dependency setup, configuration properties, template interfaces, implementation, auto‑configuration, packaging, and testing.

Amazon S3JavaOSS
0 likes · 15 min read
Creating an Enterprise-Grade OSS Object Storage Spring Boot Starter
php Courses
php Courses
Jan 3, 2024 · Backend Development

How to Strengthen Website Password Security Using PHP

This article explains how to enhance website password security in PHP by using hash functions, adding salts, employing password_hash and password_verify, enforcing strong password policies, scheduling regular password changes, and implementing measures against brute‑force attacks.

HashingPHPbackend
0 likes · 5 min read
How to Strengthen Website Password Security Using PHP
php Courses
php Courses
Jan 3, 2024 · Backend Development

PHP array_udiff() Function: Syntax, Parameters, Usage, and Example

array_udiff() is a PHP function that compares values of two or more arrays using a user-defined callback, returning the differences; this article explains its syntax, parameters, performance considerations, practical scenarios, and provides a complete code example demonstrating how to identify elements present in one array but not another.

array comparisonarray_udiffbackend
0 likes · 3 min read
PHP array_udiff() Function: Syntax, Parameters, Usage, and Example
php Courses
php Courses
Jan 3, 2024 · Backend Development

Using PHP's array_sum() Function to Sum Array Elements

This article explains PHP's built-in array_sum() function, demonstrating how to calculate the sum of numeric arrays and associative arrays, shows performance benefits, and provides examples combining it with array_map() for more complex calculations.

array sumarray-manipulationbackend
0 likes · 4 min read
Using PHP's array_sum() Function to Sum Array Elements
Open Source Tech Hub
Open Source Tech Hub
Jan 3, 2024 · Backend Development

How to Package Webman into a Standalone Linux Binary (x86_64)

This guide explains how to install Webman, configure the project, build a self‑contained binary for x86_64 Linux using PHP's phar mechanism, run and monitor the binary, and outlines important compatibility notes and alternative manual packaging methods.

PHPPharbackend
0 likes · 8 min read
How to Package Webman into a Standalone Linux Binary (x86_64)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 3, 2024 · Backend Development

Simplify Spring JDBC with the New Fluent JdbcClient API – A Hands‑On Guide

This article demonstrates how Spring 6.1’s new fluent JdbcClient API simplifies JDBC operations—showing environment setup, table creation, data‑source configuration, various placeholder and named‑parameter queries, custom result mapping, and CUD actions—while comparing it to the traditional JdbcTemplate approach.

JDBCbackendfluent-api
0 likes · 11 min read
Simplify Spring JDBC with the New Fluent JdbcClient API – A Hands‑On Guide
JD Retail Technology
JD Retail Technology
Jan 2, 2024 · Backend Development

Optimizing Spring Application Startup Time and Performance: Analysis, Tools, and Practical Steps

This article examines the causes of slow startup in large Spring applications, presents visual analysis techniques and a toolbox—including Arthas, JVM Sandbox, Async Profiler, and Spring Startup Analyzer—and provides concrete installation, configuration, and optimization procedures that can reduce startup time by 70‑80% while improving development efficiency and resource utilization.

Jar SlimmingJavaPerformance
0 likes · 14 min read
Optimizing Spring Application Startup Time and Performance: Analysis, Tools, and Practical Steps
Java Architect Essentials
Java Architect Essentials
Jan 1, 2024 · Backend Development

Outdated Java Technologies You Can Skip Learning: JSP, Struts, Hibernate, Servlet, and More

The article outlines which Java technologies—such as JSP, Struts, Hibernate, Servlet, Applet, Swing, JDBC, and XML—are now largely obsolete or unnecessary to learn for modern backend development, offering criteria for judging relevance and recommending focus on current frameworks like Spring MVC and MyBatis.

JavaMyBatisObsolete Technologies
0 likes · 7 min read
Outdated Java Technologies You Can Skip Learning: JSP, Struts, Hibernate, Servlet, and More
Architect
Architect
Jan 1, 2024 · Backend Development

Optimizing Apache HttpClient for High-Concurrency Scenarios

This article details a step‑by‑step optimization of Apache HttpClient—including connection pooling, keep‑alive, singleton client usage, timeout tuning, and response handling—to reduce average request latency from 250 ms to about 80 ms in a high‑throughput Java service.

ConnectionPoolingHttpClientJava
0 likes · 12 min read
Optimizing Apache HttpClient for High-Concurrency Scenarios
IT Services Circle
IT Services Circle
Jan 1, 2024 · Backend Development

ByteDance Java Backend Internship Interview Questions and Answers

This article compiles a comprehensive set of ByteDance daily internship interview questions covering Java backend fundamentals, networking protocols, operating system concepts, Linux process management, Redis data structures and persistence, MySQL indexing and query optimization, as well as essential algorithms, providing detailed explanations and code examples for each topic.

InterviewJavaMySQL
0 likes · 37 min read
ByteDance Java Backend Internship Interview Questions and Answers
Code Ape Tech Column
Code Ape Tech Column
Dec 31, 2023 · Backend Development

How to Set JVM Parameters for a Platform Handling 1 Million Daily Logins on an 8 GB Server

This article explains how to estimate capacity, choose appropriate garbage collectors, and configure JVM memory settings—including heap size, young generation, thread stack, and GC options—for a service that processes one million login requests per day on a node with 8 GB of RAM, providing step‑by‑step guidance and example command lines.

GC TuningJVMJava
0 likes · 25 min read
How to Set JVM Parameters for a Platform Handling 1 Million Daily Logins on an 8 GB Server
Nullbody Notes
Nullbody Notes
Dec 30, 2023 · Backend Development

Building a Simple In-Memory Redis Clone with Go

This article walks through the third part of an eleven‑article series that implements a functional Redis‑compatible in‑memory database in Go, detailing how the PING, AUTH, SELECT, SET and GET commands are parsed, routed and executed with concrete code examples.

Data StructuresGoIn-Memory Database
0 likes · 12 min read
Building a Simple In-Memory Redis Clone with Go
ITPUB
ITPUB
Dec 28, 2023 · Backend Development

How We Refactored a 670k‑Line, 46‑Module Ticket System to Slash Deployment Time

This article details the background, pain points, and step‑by‑step technical solution behind refactoring a massive 670,000‑line, 46‑module ticketing application at Alibaba, highlighting architecture redesign, code simplification, performance gains, and a pragmatic rollout plan.

JavaPerformanceRefactoring
0 likes · 26 min read
How We Refactored a 670k‑Line, 46‑Module Ticket System to Slash Deployment Time
Architecture Digest
Architecture Digest
Dec 28, 2023 · Backend Development

Step-by-Step Alipay Payment Integration in Java with Spring Boot

This guide walks through configuring the Alipay sandbox, adding Maven dependencies, setting up application.yml, implementing Java configuration classes, creating controller endpoints for payment, handling asynchronous callbacks, processing refunds, and using RabbitMQ delayed queues to auto‑cancel unpaid orders, all with complete code examples.

AlipayJavaPayment Integration
0 likes · 12 min read
Step-by-Step Alipay Payment Integration in Java with Spring Boot
php Courses
php Courses
Dec 28, 2023 · Backend Development

Using PHP mb_strlen() to Measure Multibyte String Length

This article explains how the PHP mb_strlen() function from the mbstring extension can accurately calculate the length of multibyte strings such as Chinese or Japanese, shows its syntax, optional encoding parameter, and provides practical code examples for length checking and validation.

CodingPHPbackend
0 likes · 5 min read
Using PHP mb_strlen() to Measure Multibyte String Length
php Courses
php Courses
Dec 28, 2023 · Backend Development

Using PHP explode() to Split Strings

This article explains PHP's explode() function, detailing its syntax, parameters, and usage through three examples that demonstrate splitting strings by spaces, commas, and limiting the number of resulting segments, while also mentioning related functions like implode and str_split.

backendexplodestring-manipulation
0 likes · 3 min read
Using PHP explode() to Split Strings
JD Cloud Developers
JD Cloud Developers
Dec 27, 2023 · Backend Development

7 Hidden Pitfalls of Spring BeanUtils.copyProperties You Must Avoid

This article explains seven subtle issues when using Spring's BeanUtils.copyProperties—such as type mismatches, null overwrites, wrong imports, inner‑class copying failures, shallow copy side effects, and performance drawbacks—providing code examples and recommendations to avoid them.

BeanUtilsCopyPropertiesJava
0 likes · 10 min read
7 Hidden Pitfalls of Spring BeanUtils.copyProperties You Must Avoid
php Courses
php Courses
Dec 27, 2023 · Backend Development

Using PHP’s fsockopen() Function to Open Network Connections

This article explains the PHP fsockopen() function, detailing its syntax, parameters, return values, and provides a complete example that demonstrates opening a TCP connection, sending an HTTP request, handling errors, and reading the response, including notes on SSL connections.

PHPSocketbackend
0 likes · 4 min read
Using PHP’s fsockopen() Function to Open Network Connections
Python Programming Learning Circle
Python Programming Learning Circle
Dec 26, 2023 · Backend Development

Step-by-Step Guide to Setting Up a Mirai QQ Bot with Python

This tutorial walks you through the complete process of configuring the Mirai ecosystem, installing mirai-console-loader, handling login verification with Selenium, setting up mirai-api-http, configuring OpenJDK, and finally writing and running a Python bot using graia-application-mirai, providing detailed screenshots and code snippets.

PythonQQ Botbackend
0 likes · 9 min read
Step-by-Step Guide to Setting Up a Mirai QQ Bot with Python
php Courses
php Courses
Dec 26, 2023 · Backend Development

Using PHP's urlencode Function for URL Encoding

URL encoding is essential for transmitting data safely on the internet, and this article explains PHP's built‑in urlencode function, demonstrates encoding of both ASCII and non‑ASCII strings with example code, and discusses handling spaces and the alternative rawurlencode function.

PHPURL encodingbackend
0 likes · 4 min read
Using PHP's urlencode Function for URL Encoding
php Courses
php Courses
Dec 26, 2023 · Backend Development

Using strtoupper() in PHP to Convert Strings to Uppercase

This article explains how to use PHP's strtoupper() function to convert strings to uppercase, covering its syntax, parameters, return values, and multiple code examples demonstrating handling of simple text, multi-word sentences, and strings containing numbers or special characters.

PHPString Manipulationbackend
0 likes · 4 min read
Using strtoupper() in PHP to Convert Strings to Uppercase
Java Architect Essentials
Java Architect Essentials
Dec 25, 2023 · Backend Development

Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks

This article explains how to diagnose and dramatically reduce SpringBoot service startup latency by examining SpringApplicationRunListener phases, Bean scanning overhead, BeanPostProcessor timing, and cache auto‑configuration, then applying JavaConfig and starter‑based solutions to cut startup from minutes to seconds.

BeanScanningCacheJava
0 likes · 17 min read
Optimizing SpringBoot Startup Time: Analyzing Bean Scanning and Initialization Bottlenecks
DaTaobao Tech
DaTaobao Tech
Dec 25, 2023 · Frontend Development

Technical Design and Evolution of Taobao Home Page BFace (Night Taobao)

Taobao’s Night Taobao (BFace) redesign transforms the homepage into a 24‑hour entertainment hub, offering night‑time live streams, short videos and games, using modular front‑end components, cross‑container state sharing, and extensible data pipelines that enabled rapid iteration, tripled user engagement and powered the Double 11 gala.

BFaceOperationTaobao
0 likes · 13 min read
Technical Design and Evolution of Taobao Home Page BFace (Night Taobao)
php Courses
php Courses
Dec 25, 2023 · Backend Development

Using PHP’s array_pop Function to Remove the Last Element from an Array

This article explains the PHP array_pop function, detailing its syntax, behavior of removing and returning the last element of an array, provides a complete code example with output, and demonstrates how to use it effectively for array manipulation.

Code ExamplePHParray manipulation
0 likes · 4 min read
Using PHP’s array_pop Function to Remove the Last Element from an Array
php Courses
php Courses
Dec 25, 2023 · Backend Development

How to Randomly Shuffle Array Elements Using PHP's shuffle Function

This article explains how to use PHP's built-in shuffle() function to randomly reorder array elements, covering its syntax, return value, example code for indexed and associative arrays, handling of multidimensional arrays, and important considerations such as in‑place modification and preserving original data.

ArrayPHPShuffle
0 likes · 3 min read
How to Randomly Shuffle Array Elements Using PHP's shuffle Function
MaGe Linux Operations
MaGe Linux Operations
Dec 24, 2023 · Backend Development

Mastering Cache Strategies: Warmup, Avalanche, Penetration, and Breakdown Solutions

This article explains key cache management techniques—including warmup, avalanche prevention, penetration mitigation, and breakdown handling—detailing definitions, root causes, and practical solutions such as manual refresh, staggered expirations, high‑availability Redis clusters, default‑value caching, Bloom filters, and mutex locking to protect backend systems.

Cache AvalancheCache Penetrationbackend
0 likes · 6 min read
Mastering Cache Strategies: Warmup, Avalanche, Penetration, and Breakdown Solutions
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 23, 2023 · Backend Development

Evolution of Technical Interview Questions: From Basic Java to Complex System Design

The article compares interview questions from ten years ago, which focused on basic Java concepts, with today's interviews that probe deep system design, distributed architecture, performance troubleshooting, and data consistency, highlighting the increasing difficulty and breadth of knowledge required for modern developers.

InterviewJavaSystem Design
0 likes · 2 min read
Evolution of Technical Interview Questions: From Basic Java to Complex System Design
DataFunSummit
DataFunSummit
Dec 23, 2023 · Big Data

Common Optimization Points in Building a User Portrait Platform

The presentation by Zhang Xinglong, head of the user understanding center's portrait platform backend, outlines the platform's overall architecture, core module optimizations, advanced crowd creation techniques, bitmap usage, and industry trends, helping the audience understand platform importance, performance improvements, and future directions.

Optimizationbackenddistributed systems
0 likes · 3 min read
Common Optimization Points in Building a User Portrait Platform
Selected Java Interview Questions
Selected Java Interview Questions
Dec 23, 2023 · Backend Development

Common Pitfalls When Using Spring BeanUtils.copyProperties

This article outlines common pitfalls of using Spring's BeanUtils.copyProperties for object property copying in Java backend development, including type mismatches, null overwrites, incorrect imports, inner class issues, shallow copy behavior, and performance drawbacks, and advises caution when employing this utility.

BeanUtilsCopyPropertiesJava
0 likes · 8 min read
Common Pitfalls When Using Spring BeanUtils.copyProperties
php Courses
php Courses
Dec 23, 2023 · Backend Development

How to Use PHP zip_read() to Read ZIP File Entries

The article explains PHP's zip_read() function, its syntax, how to open a ZIP file, iterate through entries, retrieve entry names and sizes, and notes its limitations, providing a complete code example for reading ZIP file entries.

backendfile-handlingzip
0 likes · 3 min read
How to Use PHP zip_read() to Read ZIP File Entries
php Courses
php Courses
Dec 23, 2023 · Backend Development

How to Package and Deploy PHP Applications Using Composer

This guide explains the step-by-step process of preparing, managing dependencies with Composer, creating directory structures, and using PHP code to package a project into a zip archive for deployment, including installation commands and deployment tips for web servers.

Packagingbackenddeployment
0 likes · 5 min read
How to Package and Deploy PHP Applications Using Composer
Java Architect Essentials
Java Architect Essentials
Dec 22, 2023 · Backend Development

A Comprehensive Overview of MyBatis Architecture and Core Components

This article provides a detailed, global‑level review of MyBatis, covering its main features such as SQL mapping, dynamic SQL, parameter and result mapping, transaction management, connection‑pool integration, second‑level cache, as well as the three‑layer architecture, configuration parsing, proxy creation, and SQL execution process.

JavaMyBatisORM
0 likes · 9 min read
A Comprehensive Overview of MyBatis Architecture and Core Components
Architecture Digest
Architecture Digest
Dec 22, 2023 · Backend Development

Understanding @Transactional(readOnly = true) in Spring: Mechanics, Performance Benefits, and Usage Considerations

This article explains how Spring's @Transactional(readOnly = true) works internally, shows the performance and memory advantages it brings, compares service‑layer and repository‑layer usage with concrete connection‑pool tests, and provides guidance on when to apply it in JPA‑based backend applications.

JPAPerformanceTransactional
0 likes · 9 min read
Understanding @Transactional(readOnly = true) in Spring: Mechanics, Performance Benefits, and Usage Considerations
php Courses
php Courses
Dec 22, 2023 · Backend Development

Implementing Elastic Common Schema in PHP with PECS: A Comprehensive Guide

This article explains why consistent logging structures are essential for growing teams, introduces the Elastic Common Schema (ECS) and the PECS PHP library that fully supports ECS, and provides practical code examples for creating ECS‑compatible logs and integrating PECS with Monolog.

ECSElastic Common SchemaLogging
0 likes · 7 min read
Implementing Elastic Common Schema in PHP with PECS: A Comprehensive Guide
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 22, 2023 · Fundamentals

From Code to Culture: The Three Pillars Every Backend Engineer Should Master

The article shares a seasoned backend developer’s reflections on three essential practices—doing, thinking, and talking—highlighting how imitation, continuous questioning, balanced design, collaborative implementation, and effective communication form a lasting framework for personal and professional growth in software engineering.

backendcareer developmentpersonal growth
0 likes · 21 min read
From Code to Culture: The Three Pillars Every Backend Engineer Should Master
php Courses
php Courses
Dec 21, 2023 · Backend Development

Implementing a PHP DataCache Class for Efficient Web Application Performance

This article explains how to improve PHP application performance by creating a reusable DataCache class that stores API results, demonstrates usage with a weather‑API example, shows code for reading, saving, and expiring cached data, and discusses production considerations such as concurrency, large data handling, security, and cleanup.

DataCachePerformancebackend
0 likes · 8 min read
Implementing a PHP DataCache Class for Efficient Web Application Performance
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 21, 2023 · Backend Development

Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips

This article explains why rate limiting is essential for high‑traffic systems, defines common rate‑limiting algorithms (fixed window, sliding window, leaky bucket, token bucket), provides complete Java code examples for each, and demonstrates practical usage with Guava's RateLimiter in real‑world applications.

AlgorithmGuavaJava
0 likes · 19 min read
Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips
IT Services Circle
IT Services Circle
Dec 20, 2023 · Backend Development

RabbitMQ: Longevity, Limitations, and Continued Popularity

RabbitMQ, a mature message‑queue system first released in 2007 and built with Erlang, remains widely used due to its continuous updates, simple deployment, flexible AMQP routing, and extensive client support, even though it has older architecture, limited performance, and a smaller community compared with newer alternatives.

AMQPDockerbackend
0 likes · 8 min read
RabbitMQ: Longevity, Limitations, and Continued Popularity
php Courses
php Courses
Dec 20, 2023 · Backend Development

File Caching and Memory Management in PHP Development

This article explains how to implement file caching and effective memory management in PHP, providing step‑by‑step instructions and code examples for creating cache directories, generating cache filenames, checking and clearing caches, and releasing variables and objects to prevent memory leaks.

Memory ManagementPerformancebackend
0 likes · 5 min read
File Caching and Memory Management in PHP Development
政采云技术
政采云技术
Dec 20, 2023 · Backend Development

MyBatis Cache Issues

This article explains MyBatis's first‑level and second‑level cache mechanisms, illustrates common consistency problems caused by default cache settings in both distributed and single‑session scenarios, and provides practical recommendations such as adjusting localCacheScope or deep‑copying results to avoid cache pitfalls.

CacheJavaMyBatis
0 likes · 12 min read
MyBatis Cache Issues
Code Ape Tech Column
Code Ape Tech Column
Dec 20, 2023 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation

This article provides a detailed walkthrough of Nacos' configuration center long‑polling mechanism, explaining how the client initializes ConfigService, schedules periodic checks, processes configuration changes, and how the server receives listener requests, manages long‑polling tasks, and triggers change events, all illustrated with code snippets and diagrams.

ConfigurationJavaNacos
0 likes · 12 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation
Code Ape Tech Column
Code Ape Tech Column
Dec 19, 2023 · Information Security

Implementation of Single Sign-On (SSO) with Service A and Service B Using Ticket and Token Mechanisms

This article explains the concept, advantages, and three implementation methods of Single Sign-On (SSO), then provides two complete practical examples—including architecture diagrams, step‑by‑step flows, and full Java code for ticket‑based and encrypted data‑based SSO—followed by supplementary RSA key generation notes and a brief promotional note.

AuthenticationJavaRSA
0 likes · 18 min read
Implementation of Single Sign-On (SSO) with Service A and Service B Using Ticket and Token Mechanisms
Python Programming Learning Circle
Python Programming Learning Circle
Dec 18, 2023 · Backend Development

phpy – A PHP Extension for Seamless Integration with the Python Ecosystem

The article introduces phpy, an open‑source Swoole project that embeds the Python ecosystem into PHP, explains its features, provides detailed compilation and installation steps, demonstrates usage through code examples—including AI libraries, GUI creation, named arguments, and callbacks—and shares real‑world sample applications.

ExtensionInstallationIntegration
0 likes · 9 min read
phpy – A PHP Extension for Seamless Integration with the Python Ecosystem
php Courses
php Courses
Dec 18, 2023 · Backend Development

Using PHP's fwrite() Function to Write Data to Files

This article explains PHP's fwrite() function, its syntax and parameters, and provides clear code examples for writing strings and serialized arrays to files, while highlighting important considerations such as file opening modes and data types.

backendfile-handlingfwrite
0 likes · 4 min read
Using PHP's fwrite() Function to Write Data to Files
php Courses
php Courses
Dec 18, 2023 · Backend Development

Using PHP rmdir() to Delete Empty Directories

This article explains the PHP rmdir() function, its syntax, parameters, return values, important usage notes, and provides a complete code example that checks for a directory's existence before safely removing an empty folder.

PHPbackenddirectory deletion
0 likes · 3 min read
Using PHP rmdir() to Delete Empty Directories
php Courses
php Courses
Dec 18, 2023 · Backend Development

PHP Routing Strategies: Basic and Regex-Based Approaches

This article explains two PHP routing strategies—an original path‑based method that maps URL segments to controller and action names, and a more flexible regular‑expression based method that uses pattern matching for complex URL structures—providing code examples and guidance on when to use each.

Routingbackendregex
0 likes · 5 min read
PHP Routing Strategies: Basic and Regex-Based Approaches
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 18, 2023 · Backend Development

How to Dynamically Adjust Log Levels in Spring Boot 2.7

This guide explains how to use Spring Boot configuration files and runtime APIs to change log levels on the fly, covering basic log level concepts, a practical controller example, dynamic endpoint implementation, disabling logs, and Spring Cloud integration for flexible logging management.

backenddynamic-configurationspring-boot
0 likes · 7 min read
How to Dynamically Adjust Log Levels in Spring Boot 2.7
php Courses
php Courses
Dec 16, 2023 · Backend Development

Using PHP fwrite() to Write Data to Files

This article explains the PHP fwrite() function, its syntax, parameters, and provides clear examples for writing strings and serialized arrays to files, highlighting proper file opening modes and error handling.

File HandlingPHPbackend
0 likes · 4 min read
Using PHP fwrite() to Write Data to Files
php Courses
php Courses
Dec 16, 2023 · Backend Development

Using PHP tempnam() to Generate Unique Temporary File Names

This article explains how the PHP tempnam() function creates unique temporary file names, describes its syntax, parameters, return values, and provides two practical code examples demonstrating usage with optional directory and prefix settings.

File Handlingbackendtempnam
0 likes · 4 min read
Using PHP tempnam() to Generate Unique Temporary File Names
21CTO
21CTO
Dec 15, 2023 · Backend Development

9 Essential Microservices Best Practices to Build Scalable, Secure Systems

This article outlines nine practical microservices best practices—from applying the Single Responsibility Principle and forming cross‑functional teams to using proper DevSecOps tools, asynchronous communication, independent data stores, and robust monitoring—to help developers design scalable, maintainable, and secure backend architectures.

DevOpsSoftware Architecturebackend
0 likes · 12 min read
9 Essential Microservices Best Practices to Build Scalable, Secure Systems
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2023 · Backend Development

phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks

The article introduces the second version of phpy, a PHP extension that embeds a Python interpreter, explains its dual‑VM runtime architecture, shows how to use it under PHP‑FPM, presents detailed performance benchmarks, covers exception handling, IDE auto‑completion, compilation options, dynamic‑library troubleshooting, and provides numerous code examples for testing and scientific computing.

ExtensionIntegrationPerformance
0 likes · 12 min read
phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks
php Courses
php Courses
Dec 15, 2023 · Backend Development

Understanding and Using the PHP fseek() Function

The article explains the purpose and syntax of PHP's fseek() function, details its parameters—including file, offset, and whence options such as SEEK_SET, SEEK_CUR, and SEEK_END—provides a complete example demonstrating file opening, pointer positioning, reading, writing, and closing operations.

File HandlingPHPbackend
0 likes · 4 min read
Understanding and Using the PHP fseek() Function
php Courses
php Courses
Dec 15, 2023 · Backend Development

Using PHP htmlspecialchars() to Escape Special Characters

This article explains the PHP htmlspecialchars() function, its syntax and parameters, demonstrates how to escape special characters, quotes, and specify encoding or disable double‑encoding, and shows how it helps prevent XSS attacks in web applications.

PHPXSSbackend
0 likes · 4 min read
Using PHP htmlspecialchars() to Escape Special Characters
php Courses
php Courses
Dec 15, 2023 · Databases

Creating a MySQL Database on Linux Using PHP (mysqli)

This tutorial explains how to create a MySQL database on a Linux system using PHP's mysqli extension, covering prerequisite installations, establishing a connection to the MySQL server, and executing SQL statements to create the database, with complete code examples and instructions for customizing credentials.

DatabaseMySQLibackend
0 likes · 4 min read
Creating a MySQL Database on Linux Using PHP (mysqli)
macrozheng
macrozheng
Dec 15, 2023 · Backend Development

How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java

This article explains the core concepts, architecture, and implementation details of the lightweight distributed scheduling platform Xxl-Job, including its scheduler center, executor, job handlers, registration, task triggering, routing strategies, execution flow, and result callbacks, with a step‑by‑step demo and code examples.

JavaSpringBootXXL-Job
0 likes · 21 min read
How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java