Tagged articles

backend

5000 articles · Page 45 of 50
Code Ape Tech Column
Code Ape Tech Column
May 14, 2021 · Backend Development

Optimizing ActiveMQ Message Queue Backlog: Removing Synchronization Locks and Tuning queuePrefetch

This article analyzes the causes of data backlog in an ActiveMQ message queue, demonstrates how synchronized locks and default prefetch settings limit throughput, and presents three optimization phases—including removing the lock, adjusting queuePrefetch, and redesigning queue handling—to achieve over 30‑fold performance improvement.

ActiveMQJavaMessage Queue
0 likes · 8 min read
Optimizing ActiveMQ Message Queue Backlog: Removing Synchronization Locks and Tuning queuePrefetch
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 13, 2021 · Backend Development

Spring Framework Core Components, IOC, AOP, Bean Lifecycle and Related Concepts

This article provides a comprehensive overview of the Spring framework, covering its core modules, version compatibility, core concepts such as IoC and AOP, proxy implementations, bean factories, lifecycle management, transaction handling, MVC architecture, Spring Boot, Spring Cloud, and common annotations for Java backend development.

AOPIoCJava
0 likes · 34 min read
Spring Framework Core Components, IOC, AOP, Bean Lifecycle and Related Concepts
Top Architect
Top Architect
May 12, 2021 · Backend Development

Comprehensive Guide to Microservice Architecture: Concepts, Evolution, Comparison with Monolithic, Design Patterns, and Practical Implementation

This article provides an in‑depth overview of microservice architecture, covering its definition, historical development, differences from monolithic and SOA approaches, core characteristics, practical implementation concerns such as API gateways, inter‑service communication, service discovery, fault tolerance, common design patterns, advantages, drawbacks, and a shift in thinking required for successful adoption.

architecturebackendservice discovery
0 likes · 19 min read
Comprehensive Guide to Microservice Architecture: Concepts, Evolution, Comparison with Monolithic, Design Patterns, and Practical Implementation
Top Architect
Top Architect
May 12, 2021 · Backend Development

Evolution of Front‑Back End Separation Architecture: From JSP/Servlet to Node.js Full‑Stack

This article traces the progression of web application architecture from tightly coupled JSP/Servlet MVC models through half‑separated Ajax‑driven approaches to fully separated front‑end/back‑end designs, highlighting how Node.js middle‑layer solutions improve adaptability, performance, and maintainability.

Web Developmentarchitecturebackend
0 likes · 12 min read
Evolution of Front‑Back End Separation Architecture: From JSP/Servlet to Node.js Full‑Stack
php Courses
php Courses
May 12, 2021 · Backend Development

Implementing Direct OSS Upload Signature in PHP

This tutorial explains how to create a lightweight PHP class for generating OSS direct‑upload signatures, describes the advantages of client‑side uploads without server bandwidth, provides the full source code, and highlights common pitfalls such as bucketHost configuration and policy newline handling.

OSSPHPSignature
0 likes · 3 min read
Implementing Direct OSS Upload Signature in PHP
dbaplus Community
dbaplus Community
May 11, 2021 · Backend Development

Essential Safety Checklist for Dangerous Linux Commands

A practical guide warns developers to breathe, verify servers, back up data, and follow strict habits when using risky commands like rm -rf, chmod, dd, and MySQL to prevent catastrophic data loss in production environments.

Data SafetyLinuxbackend
0 likes · 8 min read
Essential Safety Checklist for Dangerous Linux Commands
Laravel Tech Community
Laravel Tech Community
May 10, 2021 · Backend Development

Laravel Performance Optimization: Best Practices and Tuning Techniques

This article presents a comprehensive guide to improving Laravel application performance by covering configuration caching, route caching, class map optimization, autoload optimization, session storage with Memcached, professional cache drivers, database query tuning, dataset caching, JIT compilers, and front‑end asset bundling.

PHPbackendcaching
0 likes · 7 min read
Laravel Performance Optimization: Best Practices and Tuning Techniques
Manbang Technology Team
Manbang Technology Team
May 10, 2021 · Backend Development

Understanding Sentinel Flow Control Rules and FlowSlot Implementation

This article explains Sentinel's flow control rule definition, the attributes of the FlowRule class, and how the FlowSlot, FlowRuleChecker, and related components evaluate and enforce these rules, including code examples and a discussion of different flow control strategies and node types.

FlowControlJavaRateLimiting
0 likes · 16 min read
Understanding Sentinel Flow Control Rules and FlowSlot Implementation
Programmer DD
Programmer DD
May 10, 2021 · Backend Development

Mastering Java Dynamic Tracing: Instrumentation, BTrace, and ASM Explained

This article explores how Java's method area stores object behavior, how the java.lang.instrument.Instrumentation API enables runtime class redefinition, and how tools like ASM, BTrace, and Arthas empower developers to inject bytecode, trace methods, and debug production systems without source changes.

BTraceBytecodeInstrumentation
0 likes · 16 min read
Mastering Java Dynamic Tracing: Instrumentation, BTrace, and ASM Explained
Code Ape Tech Column
Code Ape Tech Column
May 10, 2021 · Backend Development

Mastering CORS in Spring: 5 Ways to Enable Cross‑Origin Requests

This article explains why browsers enforce the same‑origin policy, defines cross‑origin requests, outlines the restrictions of non‑same‑origin interactions, and presents five practical methods—including a global CorsFilter, WebMvcConfigurer, @CrossOrigin annotation, manual header setting, and a custom filter—to implement CORS in Java Spring backends.

CORSCross-OriginJava
0 likes · 8 min read
Mastering CORS in Spring: 5 Ways to Enable Cross‑Origin Requests
Java Backend Technology
Java Backend Technology
May 9, 2021 · Backend Development

Why kill -9 Can Crash Your Spring Boot Service and How to Shut It Down Gracefully

This article explains the dangers of using the kill -9 command on Java services, illustrates how it can cause data loss, and presents several graceful shutdown techniques for Spring Boot—including SIGTERM, Actuator endpoints, custom Tomcat shutdown hooks, and @PreDestroy backups—complete with code examples and screenshots.

JavaKill CommandSpring Boot
0 likes · 19 min read
Why kill -9 Can Crash Your Spring Boot Service and How to Shut It Down Gracefully
Selected Java Interview Questions
Selected Java Interview Questions
May 8, 2021 · Databases

Cache Consistency Strategies for MySQL Using Redis

This article examines why caching is needed for MySQL, discusses consistency challenges, and compares four Redis‑based solutions—including expiration, synchronous updates, Kafka‑mediated async updates, and binlog replication—offering guidance on selecting the appropriate approach based on latency and reliability requirements.

Cache ConsistencyDatabase CachingMySQL
0 likes · 9 min read
Cache Consistency Strategies for MySQL Using Redis
Top Architect
Top Architect
May 8, 2021 · Backend Development

Distributed Locks: Why They Are Needed, Required Conditions, and Three Implementation Approaches (Database, Redis, Zookeeper)

This article explains the necessity of distributed locks in multi‑node applications, outlines the essential properties a distributed lock must satisfy, and compares three common implementation methods—database‑based exclusive locks, Redis‑based locks, and Zookeeper‑based locks—highlighting their advantages, drawbacks, and usage patterns.

Redis LockZookeeper lockbackend
0 likes · 15 min read
Distributed Locks: Why They Are Needed, Required Conditions, and Three Implementation Approaches (Database, Redis, Zookeeper)
php Courses
php Courses
May 8, 2021 · Backend Development

Efficient CSV Export in PHP for Large Datasets

This article explains how to efficiently export large datasets to CSV files using PHP, describing the CSV format, why a simple streaming approach outperforms PHPExcel, performance expectations for 200,000 rows, and provides a complete PHP function that handles encoding, buffering, and memory‑friendly output.

CSVData ExportPHP
0 likes · 3 min read
Efficient CSV Export in PHP for Large Datasets
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 8, 2021 · Backend Development

Graceful Shutdown of RocketMQ Consumer in Spring Applications

The article recounts a production incident caused by an ungraceful RocketMQ consumer shutdown, analyzes the root cause involving Spring's bean destruction order and ShutdownHook behavior, and presents two solutions—using the official Spring‑Boot starter with SmartLifecycle or handling ContextClosedEvent—to achieve orderly termination.

RocketMQShutdownHookSmartLifecycle
0 likes · 5 min read
Graceful Shutdown of RocketMQ Consumer in Spring Applications
ITFLY8 Architecture Home
ITFLY8 Architecture Home
May 7, 2021 · Backend Development

How Ximalaya Scaled Its Gateway to 200 Billion Requests: Backend Architecture Lessons

This article details Ximalaya's evolution from a Tomcat‑based gateway to a Netty‑driven, fully asynchronous architecture, covering design challenges, performance bottlenecks, traffic management features, monitoring, and future HTTP/2 plans that enabled handling over 200 billion daily calls with high QPS.

Asynchronousbackendgateway
0 likes · 16 min read
How Ximalaya Scaled Its Gateway to 200 Billion Requests: Backend Architecture Lessons
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 7, 2021 · Databases

Resolving MySQL wait_timeout Issues with Druid Connection Pool Configuration

This article analyzes the root causes of MySQL 'wait_timeout' related exceptions in a backend system using MHA read/write separation, explains how oversized connection pool timeout settings and MySQL wait_timeout lead to idle connections being closed, and provides practical Druid configuration adjustments and alternative solutions to eliminate the errors.

DruidJDBCMySQL
0 likes · 7 min read
Resolving MySQL wait_timeout Issues with Druid Connection Pool Configuration
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 7, 2021 · Backend Development

12 Essential Java Thread‑Pool Interview Questions and Answers

This article systematically explains why thread pools are needed, how to create them, the types of pools Executors can build, key parameters, underlying principles, rejection policies, blocking queues, core‑thread settings, pool states, thread reuse, the difference between submit() and execute(), and practical usage tips for Java developers.

JavaThreadPoolbackend
0 likes · 13 min read
12 Essential Java Thread‑Pool Interview Questions and Answers
macrozheng
macrozheng
May 7, 2021 · Backend Development

Customizing Spring Boot Error Handling for Non‑Controller Exceptions

This guide explains why Spring Boot’s default @ControllerAdvice cannot catch servlet‑level errors, introduces the ErrorPageFilter mechanism, and shows how to replace the BasicErrorController with a custom ExceptionController that rethrows errors for unified handling across the application.

Custom ErrorControllerErrorPageFilterSpring Boot
0 likes · 7 min read
Customizing Spring Boot Error Handling for Non‑Controller Exceptions
Big Data Technology Architecture
Big Data Technology Architecture
May 6, 2021 · Databases

Elasticsearch Pagination: From+size, search_after, and Scroll – Differences, Advantages, and Use Cases

This article explains Elasticsearch’s three pagination methods—From + size, search_after, and Scroll—detailing their definitions, code examples, advantages, disadvantages, and suitable scenarios, while also discussing max_result_window limits, PIT views, and best practices for handling large result sets.

ElasticsearchPaginationbackend
0 likes · 13 min read
Elasticsearch Pagination: From+size, search_after, and Scroll – Differences, Advantages, and Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
May 6, 2021 · Backend Development

An Overview of Popular Python Web Frameworks

This article introduces the importance of web development frameworks and provides an overview of several popular Python frameworks—including CherryPy, Tornado, BIK, Flask, and Cuicweb—detailing their key features, advantages, and typical use cases for building efficient backend applications.

CherryPyFlaskWeb Frameworks
0 likes · 6 min read
An Overview of Popular Python Web Frameworks
Top Architect
Top Architect
May 6, 2021 · Backend Development

Unified Multi-Account Login Architecture and Design

This article explains the concept, technical solutions, workflow diagrams, and database schema for implementing unified multi‑account login using username/password, mobile verification, and third‑party OAuth2 integrations, providing practical design guidance without detailed source code.

Multi-AccountOAuth2backend
0 likes · 11 min read
Unified Multi-Account Login Architecture and Design
Programmer DD
Programmer DD
May 6, 2021 · Backend Development

Building a Fast Search with Redis: From Complex SQL to Set Operations

This article walks through the challenges of implementing a complex e‑commerce search interface, compares a naïve SQL solution with optimized multi‑query and Redis‑based approaches, and demonstrates how to use Redis sets, sorted sets, and transactions to achieve efficient querying, pagination, and data updates.

PaginationSet Operationsbackend
0 likes · 9 min read
Building a Fast Search with Redis: From Complex SQL to Set Operations
Code Ape Tech Column
Code Ape Tech Column
May 6, 2021 · Backend Development

Why PageHelper Pagination Breaks with List Operations and How to Fix It

This article explains why PageHelper pagination yields incorrect totals when list operations are performed before or after pagination, analyzes the underlying cause that startPage only affects subsequent SQL, and provides a step‑by‑step solution that processes the list after pagination and returns a correctly populated PageInfo object.

JavaMyBatisPagination
0 likes · 6 min read
Why PageHelper Pagination Breaks with List Operations and How to Fix It
Efficient Ops
Efficient Ops
May 5, 2021 · Backend Development

Designing a Scalable Backend Stack for Startups: Languages, Tools, and Best Practices

This guide walks through the four‑layer backend architecture—language, components, processes, and systems—and offers practical recommendations for selecting project management, DNS, load balancing, CDN, RPC frameworks, databases, messaging, CI/CD, logging, monitoring, configuration, and deployment tools tailored to early‑stage companies.

architecturebackendcloud
0 likes · 32 min read
Designing a Scalable Backend Stack for Startups: Languages, Tools, and Best Practices
JavaEdge
JavaEdge
May 5, 2021 · Backend Development

Mastering Java ReadWriteLock: Build Efficient Caches and Avoid Concurrency Pitfalls

This article explains how Java's ReadWriteLock works, compares it with mutex locks, shows caching strategies for high‑concurrency scenarios, illustrates thread‑contention problems, and discusses lock upgrade and downgrade nuances to help developers write safe, performant backend code.

JavaReadWriteLockbackend
0 likes · 6 min read
Mastering Java ReadWriteLock: Build Efficient Caches and Avoid Concurrency Pitfalls
ITPUB
ITPUB
May 5, 2021 · Frontend Development

From Static Pages to SSR: A 30‑Year Web Technology Journey

Spanning three decades, this article traces the evolution of web development from Tim Berners‑Lee’s 1991 static page through the rise of HTML, CSS, JavaScript, PHP, AJAX, SPA frameworks, server‑side rendering, Node.js, and emerging trends like React Server Components, illustrating how each breakthrough addressed the limitations of its predecessors.

JavaScriptSPASSR
0 likes · 18 min read
From Static Pages to SSR: A 30‑Year Web Technology Journey
Liangxu Linux
Liangxu Linux
May 5, 2021 · Operations

Mastering Linux Load Average: How to Read and Interpret top Output

This article explains what the Linux Load Average metric means, how the three numbers are calculated, and walks through each line of the top command output—including CPU, memory, swap, and process details—to help you diagnose server load issues effectively.

LinuxLoad AveragePerformance
0 likes · 7 min read
Mastering Linux Load Average: How to Read and Interpret top Output
Selected Java Interview Questions
Selected Java Interview Questions
May 4, 2021 · Backend Development

Building a Reusable Backend Base Project with Swagger, CodeGenerator, Pagination, Exception Handling, and Multi‑Environment Configuration

This article explains how to create a reusable backend foundation for new Spring Boot projects by assembling common utilities such as Swagger API documentation, MyBatis‑Plus code generation, unified response objects, pagination helpers, custom exception handling, multi‑environment Maven and Spring profiles, logback configuration, and a Jenkins pipeline.

JavaMavenPagination
0 likes · 15 min read
Building a Reusable Backend Base Project with Swagger, CodeGenerator, Pagination, Exception Handling, and Multi‑Environment Configuration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2021 · Backend Development

Does Spring Boot’s connectionTimeout Limit Request Time? The Real Answer

This article investigates how Spring Boot’s connectionTimeout parameter behaves by conducting three experiments—controller‑side delay, HttpURLConnection requests, and raw socket connections—revealing that the timeout only applies after a client establishes a connection and remains idle, not to the overall request processing time.

Spring BootTomcatbackend
0 likes · 5 min read
Does Spring Boot’s connectionTimeout Limit Request Time? The Real Answer
Architecture Digest
Architecture Digest
May 1, 2021 · Backend Development

Backend Technology Stack Selection for Startup Companies

This article outlines a comprehensive backend technology stack for startup companies, detailing language choices, essential components, processes, system tools, and best‑practice recommendations across areas such as project management, DNS, load balancing, databases, messaging, CI/CD, monitoring, and deployment.

DevOpsarchitecturebackend
0 likes · 30 min read
Backend Technology Stack Selection for Startup Companies
Youzan Coder
Youzan Coder
Apr 30, 2021 · Backend Development

Uncovering Hidden Flaws in a Distributed Lock Implementation: A Structured Code Review

This article examines the business context and collection workflow of a BOS‑integrated service, dissects the distributed lock logic and its execution sequence, and conducts a thorough structured code review that reveals logical, exception, non‑functional, and testability issues while offering concrete improvement recommendations.

JavaMonitoringbackend
0 likes · 8 min read
Uncovering Hidden Flaws in a Distributed Lock Implementation: A Structured Code Review
360 Smart Cloud
360 Smart Cloud
Apr 30, 2021 · Backend Development

Understanding Rate Limiting: Concepts, Architectures, Algorithms, and a Redis‑Lua Token Bucket Implementation

This article explains what rate limiting is, why it is needed, the typical actions taken when limits are reached, compares single‑node and distributed architectures, reviews four classic limiting algorithms, and provides a practical Redis‑Lua token‑bucket implementation with code examples.

Algorithmbackendrate limiting
0 likes · 14 min read
Understanding Rate Limiting: Concepts, Architectures, Algorithms, and a Redis‑Lua Token Bucket Implementation
Open Source Linux
Open Source Linux
Apr 30, 2021 · Backend Development

How to Cut Nginx HTTPS Latency by 30% with TLS Tweaks

This article explains why optimizing Nginx HTTPS latency matters for instant search, describes how TLS handshakes add round‑trip delays, and provides step‑by‑step Nginx TLS configuration changes—such as enabling HTTP/2, adjusting ciphers, enabling OCSP stapling, tuning buffer sizes and session cache—that together reduced request latency by about 30% in a real‑world search service.

HTTPSOptimizationPerformance
0 likes · 13 min read
How to Cut Nginx HTTPS Latency by 30% with TLS Tweaks
Wukong Talks Architecture
Wukong Talks Architecture
Apr 29, 2021 · Backend Development

Distributed Lock Implementations with Redis: From Local Locks to Bronze, Silver, Gold, Platinum, and Diamond Solutions

This article explains why local in‑memory locks fail in distributed environments, introduces the concept of distributed locks, and walks through five progressive Redis‑based lock implementations—bronze, silver, gold, platinum, and diamond—detailing their principles, code examples, advantages, and shortcomings.

JavaRedisSpring
0 likes · 16 min read
Distributed Lock Implementations with Redis: From Local Locks to Bronze, Silver, Gold, Platinum, and Diamond Solutions
21CTO
21CTO
Apr 28, 2021 · Frontend Development

Why Laravel + Vue.js Is the Power Combo for Modern Web Apps

This article explains how the Laravel PHP framework and the Vue.js progressive JavaScript library complement each other, highlighting their popularity, ease of integration, event‑driven architecture, virtual DOM performance, and faster learning curve, making them an ideal stack for new web projects.

JavaScriptVue.jsWeb Development
0 likes · 5 min read
Why Laravel + Vue.js Is the Power Combo for Modern Web Apps
Alibaba Cloud Native
Alibaba Cloud Native
Apr 28, 2021 · Backend Development

How Seata‑Golang Enables Distributed Transactions in Go Microservices

This article introduces Seata, a high‑performance open‑source distributed transaction solution, explains the Seata‑Golang 1.0.0 release and its demo at a Go meetup, details the core AT‑mode architecture, describes the MySQL driver that integrates Seata‑Golang, and outlines future plans for broader database support.

Distributed TransactionsGoMySQL driver
0 likes · 7 min read
How Seata‑Golang Enables Distributed Transactions in Go Microservices
Programmer DD
Programmer DD
Apr 28, 2021 · Backend Development

How to Gracefully Shut Down a Spring Boot Application: 5 Proven Methods

Learn five practical ways to gracefully shut down a Spring Boot application—including using Actuator’s shutdown endpoint, closing the application context, PID file handling, SpringApplication.exit, and a custom shutdown controller—so unfinished tasks finish, logs flush, and services stop safely without resorting to kill‑9.

ActuatorJavaPreDestroy
0 likes · 9 min read
How to Gracefully Shut Down a Spring Boot Application: 5 Proven Methods
Selected Java Interview Questions
Selected Java Interview Questions
Apr 27, 2021 · Backend Development

Understanding the Spring Bean Instantiation Process

This article explains how the Spring IoC container prepares and creates Bean instances, detailing the two main phases—container startup and Bean instantiation—along with the roles of BeanDefinition, BeanFactoryPostProcessor, BeanWrapper, Aware interfaces, BeanPostProcessor, and custom initialization and destruction logic.

BeanIoCJava
0 likes · 16 min read
Understanding the Spring Bean Instantiation Process
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 27, 2021 · Backend Development

Essential Java Concurrency Interview Topics – 12 Core Questions and Answers

This article presents twelve fundamental Java concurrency interview questions, covering thread creation methods, their pros and cons, thread states, lifecycle, start vs run, termination, thread safety, differences between threads and processes, communication, yield vs sleep, and provides concise answers to help candidates demonstrate solid multithreading knowledge.

Javabackendconcurrency
0 likes · 11 min read
Essential Java Concurrency Interview Topics – 12 Core Questions and Answers
php Courses
php Courses
Apr 25, 2021 · Backend Development

Using PHP extract() to Convert Array Elements into Variables

This article explains the PHP extract() function, its syntax, parameters, return value, and provides two practical code examples showing how to turn associative array entries into individual variables with optional prefix handling.

ExtractPHPbackend
0 likes · 4 min read
Using PHP extract() to Convert Array Elements into Variables
php Courses
php Courses
Apr 25, 2021 · Backend Development

Using PHP list() to Assign Array Values to Variables

This article explains how PHP's list() function can assign values from an indexed array to multiple variables, compares it with extract(), and provides four code examples illustrating full assignment, skipping elements, selecting a single element, and the limitation with strings.

PHPbackendlist
0 likes · 3 min read
Using PHP list() to Assign Array Values to Variables
Java Architecture Diary
Java Architecture Diary
Apr 25, 2021 · Backend Development

What’s New in Spring Boot 2.5? Key Features and Changes Explained

Spring Boot 2.5 introduces secure info endpoints, graceful shutdown via GET, shutdown logging, a new Quartz actuator endpoint, layered WAR support, Buildpack image building, environment variable prefixes, enhanced metrics, HTTP/2 over TCP (h2c), and several datasource improvements, all aimed at smoother microservice development.

ActuatorDockerJava
0 likes · 7 min read
What’s New in Spring Boot 2.5? Key Features and Changes Explained
DevOps
DevOps
Apr 25, 2021 · Backend Development

Open Banking API Versioning: Challenges, Principles, and Common Strategies

The article examines the complexities of open banking API versioning, outlines two core principles—platform independence and service compatibility—and compares four practical versioning patterns, offering guidance on selecting flexible strategies to manage business and technical changes in API ecosystems.

API governanceRESTapi-versioning
0 likes · 15 min read
Open Banking API Versioning: Challenges, Principles, and Common Strategies
Laravel Tech Community
Laravel Tech Community
Apr 23, 2021 · Backend Development

Common Laravel and PHP Interview Questions and Answers

This article compiles frequently asked Laravel and PHP interview questions, providing concise explanations of core concepts such as the framework's architecture, routing, middleware, Eloquent ORM, service container, authentication, authorization, testing tools, and deployment practices, useful for both beginners and experienced candidates.

EloquentInterviewPHP
0 likes · 23 min read
Common Laravel and PHP Interview Questions and Answers
php Courses
php Courses
Apr 23, 2021 · Backend Development

Converting Decimal Numbers to Binary in PHP with decbin()

This article explains how to use PHP's built‑in decbin() function to convert decimal integers into their binary string representation, covering the function syntax, parameter details, return limits, and providing a clear code example with expected output.

ConversionPHPbackend
0 likes · 1 min read
Converting Decimal Numbers to Binary in PHP with decbin()
php Courses
php Courses
Apr 23, 2021 · Backend Development

How to Install and Configure YASD for PHP Debugging with PhpStorm

This guide walks through installing the YASD debugging extension, adding the necessary php.ini settings, configuring PhpStorm's debug port and server path mapping, and running a PHP project (e.g., Hyperf) with breakpoints to enable remote debugging via a browser.

PHPbackendyasd
0 likes · 2 min read
How to Install and Configure YASD for PHP Debugging with PhpStorm
php Courses
php Courses
Apr 22, 2021 · Backend Development

Comparing Three PHP Methods to Multiply an Integer by 1000: String Concatenation, Direct Multiplication, and 1024‑Minus‑24 Approximation

This article examines three ways to enlarge a positive integer by a factor of one thousand in PHP—concatenating "000", multiplying by 1000, and using the expression X*1024‑X*24—benchmarks each method with ten million iterations, analyses the performance results, and discusses why the binary‑based formula may be slower than direct multiplication.

PHPPerformancebackend
0 likes · 6 min read
Comparing Three PHP Methods to Multiply an Integer by 1000: String Concatenation, Direct Multiplication, and 1024‑Minus‑24 Approximation
php Courses
php Courses
Apr 22, 2021 · Backend Development

How to Use PHP's array_keys() Function to Retrieve Array Keys

This article explains PHP's array_keys() function, detailing its syntax, parameters, return values, and demonstrating three practical examples that show how to retrieve array keys with optional search values and strict comparison.

PHParray_keysbackend
0 likes · 3 min read
How to Use PHP's array_keys() Function to Retrieve Array Keys
IT Xianyu
IT Xianyu
Apr 21, 2021 · Backend Development

Java Parking System with User and Admin Management

This article presents a complete Java implementation of a parking system, detailing user and admin login, random parking slot allocation, time‑based fee calculation, and management functions, accompanied by full source code for entities, services, and client interaction.

CLIJavabackend
0 likes · 14 min read
Java Parking System with User and Admin Management
JavaScript
JavaScript
Apr 21, 2021 · Backend Development

What’s New in Node.js 16.0.0? Key Updates and Features

Node.js 16.0.0, built on the V8 engine, introduces a stabilized Timers Promises API, Apple Silicon pre‑built binaries, V8 9.0 upgrades, global btoa/atob functions, and npm 7.10.0, marking a significant step forward for JavaScript runtime performance and compatibility.

Apple SiliconV8backend
0 likes · 1 min read
What’s New in Node.js 16.0.0? Key Updates and Features
Tencent Cloud Middleware
Tencent Cloud Middleware
Apr 21, 2021 · Backend Development

How Pulsar Stores Messages and How BookKeeper’s GC Keeps Them Clean

This article explains Apache Pulsar’s message storage architecture in BookKeeper, details the ledger and entry lifecycle, describes the multi‑layer caching read path, and outlines BookKeeper’s garbage‑collection process along with practical operational tips for avoiding disk‑heavy scenarios.

Apache PulsarBookKeeperGarbage Collection
0 likes · 12 min read
How Pulsar Stores Messages and How BookKeeper’s GC Keeps Them Clean
Top Architect
Top Architect
Apr 21, 2021 · Backend Development

Microservice Architecture Evolution: From Monolith to Service Mesh

This article chronicles the evolution of an online supermarket from a simple monolithic website to a fully split microservice architecture, discussing the motivations, challenges, design patterns, monitoring, fault tolerance, testing, service discovery, and the eventual adoption of service mesh.

architecturebackendfault tolerance
0 likes · 23 min read
Microservice Architecture Evolution: From Monolith to Service Mesh
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 21, 2021 · Backend Development

Why Message Queues Matter: Benefits, Pitfalls, and Choosing the Right MQ

This article explains how message queues help handle traffic spikes, achieve asynchronous processing, decouple services, and control flow, while covering push vs. pull models, common drawbacks, idempotency, reliability, ordering, high‑availability strategies, and a detailed comparison of ActiveMQ, RabbitMQ, RocketMQ, and Kafka to guide selection and design.

MQbackendmessage-queue
0 likes · 38 min read
Why Message Queues Matter: Benefits, Pitfalls, and Choosing the Right MQ
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 20, 2021 · Backend Development

Enabling CORS in SpringBoot Applications

This article explains what CORS is, shows the typical browser error caused by missing CORS headers, and provides step‑by‑step SpringBoot configuration and filter code to enable cross‑origin requests and control filter execution order for reliable backend support.

CORSCross-OriginJava
0 likes · 5 min read
Enabling CORS in SpringBoot Applications
php Courses
php Courses
Apr 20, 2021 · Backend Development

Understanding PHP parse_str() Function and Its Usage

This article explains PHP's parse_str() function, detailing its syntax, parameters, and return behavior, and provides two practical examples—one with the optional result array and another using the deprecated single‑parameter form—illustrating how to convert query strings into variables.

backendparse_strstring parsing
0 likes · 3 min read
Understanding PHP parse_str() Function and Its Usage
Liangxu Linux
Liangxu Linux
Apr 19, 2021 · Backend Development

Debug Linux Core Dumps with dmesg, addr2line, gdb, and strace

This guide explains how to enable core dumps on Linux, examine the generated core file, and pinpoint the exact source line of a crash using dmesg, addr2line, gdb, and strace, with concrete command examples and code snippets.

Debuggingaddr2linebackend
0 likes · 8 min read
Debug Linux Core Dumps with dmesg, addr2line, gdb, and strace
php Courses
php Courses
Apr 19, 2021 · Backend Development

Reading Files in PHP: fread vs file_get_contents

This article explains how to read files in PHP using the two functions fread and file_get_contents, compares their syntax, parameters, return values, and shows practical code examples illustrating their differences and when to use each method.

File HandlingPHPbackend
0 likes · 3 min read
Reading Files in PHP: fread vs file_get_contents
Wukong Talks Architecture
Wukong Talks Architecture
Apr 17, 2021 · Backend Development

Practical Techniques for Ensuring API Idempotency

This article explains the concept of API idempotency, presents common scenarios that cause duplicate data, and details eight practical solutions—including pre‑select before insert, pessimistic and optimistic locking, unique indexes, anti‑duplicate tables, state‑machine checks, distributed locks, and token‑based approaches—along with their implementation steps and caveats.

APIDatabasebackend
0 likes · 13 min read
Practical Techniques for Ensuring API Idempotency
Python Programming Learning Circle
Python Programming Learning Circle
Apr 16, 2021 · Backend Development

Optimizing a Slow Settings Page: Profiling, Threading, and MySQL Improvements in a Python Flask Backend

This article details how a Python Flask backend with a 36‑second settings page was diagnosed using Chrome Network and flame‑graph profiling, then optimized by redesigning UI interactions, eliminating per‑gid threading, and batching MySQL queries, ultimately reducing response time to 1.47 seconds.

FlaskMySQLOptimization
0 likes · 8 min read
Optimizing a Slow Settings Page: Profiling, Threading, and MySQL Improvements in a Python Flask Backend
Top Architect
Top Architect
Apr 16, 2021 · Backend Development

When to Use Microservices: Modules, Monoliths, and Service Boundaries

The article examines the historical evolution of software modularity, explains why microservices are an extreme reaction to monoliths, discusses isolation challenges across layers, and offers practical criteria for deciding where service boundaries should be drawn in modern backend systems.

IsolationModular ArchitectureSystem Design
0 likes · 17 min read
When to Use Microservices: Modules, Monoliths, and Service Boundaries
Programmer DD
Programmer DD
Apr 16, 2021 · Backend Development

Demystifying Spring IoC and Dependency Injection: A Clear Guide for Beginners

This article explains the core concepts of Spring's Inversion of Control (IoC) and Dependency Injection (DI), illustrating how a container takes over object creation and wiring, why this reversal improves modularity and testability, and how the two ideas are essentially two views of the same design principle.

Design PatternsIoCJava
0 likes · 10 min read
Demystifying Spring IoC and Dependency Injection: A Clear Guide for Beginners
JD Tech
JD Tech
Apr 16, 2021 · Backend Development

Using java.util.Timer for Scheduled and Delayed Tasks in Java

This article explains how to use java.util.Timer for one‑time and periodic task scheduling, covering constructors, instance methods, daemon‑thread behavior, handling past dates, negative delays, multiple tasks, and proper shutdown, with complete code examples and execution results.

Javabackendconcurrency
0 likes · 24 min read
Using java.util.Timer for Scheduled and Delayed Tasks in Java
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 14, 2021 · Backend Development

Building a Redis‑Based Distributed Queue to Cut HBase IO Bottlenecks

The article explores what makes code 'good'—emphasizing usability, readability, and maintainability—then details the design and implementation of a lightweight Redis‑based distributed consumption queue that alleviates HBase I/O pressure, describing its architecture, modules, logging, and performance gains.

HBaseRedisbackend
0 likes · 10 min read
Building a Redis‑Based Distributed Queue to Cut HBase IO Bottlenecks
php Courses
php Courses
Apr 13, 2021 · Backend Development

PHP Interview Questions and Answers: Functions, Variables, Sessions, Redis, and More

This article compiles essential PHP interview questions and answers covering output functions, string handling, error reporting, session vs cookie, GET vs POST, code execution results, URL encoding, character set conversion, array operations, Redis benefits, command‑line usage, crontab syntax, request flow, magic methods, and basic variable types.

backendsessionvariables
0 likes · 10 min read
PHP Interview Questions and Answers: Functions, Variables, Sessions, Redis, and More
Code Ape Tech Column
Code Ape Tech Column
Apr 13, 2021 · Backend Development

Implementing Sensitive Data Encryption and Decryption in Spring Boot with MyBatis Interceptors and Custom Annotations

This article demonstrates how to automatically encrypt sensitive fields such as ID numbers and phone numbers before storing them in a database and decrypt them after retrieval by using Spring Boot, MyBatis plugins, and custom annotations, eliminating manual encryption logic in business code.

AnnotationEncryptionInterceptor
0 likes · 11 min read
Implementing Sensitive Data Encryption and Decryption in Spring Boot with MyBatis Interceptors and Custom Annotations
ITPUB
ITPUB
Apr 12, 2021 · Databases

Hidden Redis Pitfalls That Can Crash Your System – How to Spot and Avoid Them

This article reveals the most common Redis pitfalls—including unexpected key expiration, command‑induced blocking, data‑persistence hazards, and replication inconsistencies—explains why they happen, and provides concrete steps, code snippets and configuration tips to prevent performance degradation or data loss.

PerformanceReplicationbackend
0 likes · 31 min read
Hidden Redis Pitfalls That Can Crash Your System – How to Spot and Avoid Them