Tagged articles

backend

5000 articles · Page 47 of 50
Laravel Tech Community
Laravel Tech Community
Feb 25, 2021 · Backend Development

Apache Lucene 8.8.1 Released – New Features and Fixes

Apache Lucene 8.8.1, a high‑performance Java full‑text search engine library, has been released, fixing bugs from 8.8.0 and including optimizations, while the previous 8.8.0 version introduced features such as LatLonPoint spatial queries, configurable Doc value compression, and FeatureField’s newLinearQuery scoring.

Apache LuceneFull-text SearchJava
0 likes · 2 min read
Apache Lucene 8.8.1 Released – New Features and Fixes
Continuous Delivery 2.0
Continuous Delivery 2.0
Feb 25, 2021 · Operations

Solving Automated Backend Testing Challenges: Lessons from Google’s 2016 Test Infrastructure Experiments

The article describes how Google’s test engineers tackled the instability and maintenance problems of automated backend tests in a large micro‑service system by exploring three increasingly complex solutions, ultimately adopting a split‑test approach that reduced test time, improved reliability, and streamlined developer workflows.

Googlebackendcontinuous integration
0 likes · 7 min read
Solving Automated Backend Testing Challenges: Lessons from Google’s 2016 Test Infrastructure Experiments
Ctrip Technology
Ctrip Technology
Feb 25, 2021 · Backend Development

Design and Implementation of a Cache Access Component and Update Platform for High‑QPS Scenarios

This article describes a backend architecture for a high‑traffic e‑commerce project, detailing a cache access component and a cache update platform that use asynchronous messaging, hotspot‑key handling, versioned cache entries, and Redis to achieve low latency, high QPS support and strong data consistency.

High QPSbackendcaching
0 likes · 18 min read
Design and Implementation of a Cache Access Component and Update Platform for High‑QPS Scenarios
360 Smart Cloud
360 Smart Cloud
Feb 25, 2021 · Backend Development

Understanding Distributed Locks: Concepts, System Classification, and Implementations with Redis and etcd/Zookeeper

This article explains the fundamentals of distributed locks, compares lock implementations based on asynchronous replication and Paxos protocols, and provides practical Redis and etcd/Zookeeper examples—including exclusive and shared lock mechanisms, code snippets, and usage considerations for reliability and safety.

Zookeeperbackendconcurrency
0 likes · 9 min read
Understanding Distributed Locks: Concepts, System Classification, and Implementations with Redis and etcd/Zookeeper
FunTester
FunTester
Feb 24, 2021 · Operations

How to Build a Real‑World API Load Test for a Knowledge‑Base Service

This article walks through the design, scenario planning, and Java implementation of a fixed‑thread load test that simulates teacher login, knowledge‑point queries, course recommendations, and collect/uncollect actions, then presents the resulting performance metrics.

API testingJavabackend
0 likes · 8 min read
How to Build a Real‑World API Load Test for a Knowledge‑Base Service
Laravel Tech Community
Laravel Tech Community
Feb 23, 2021 · Backend Development

PHP rand() Function – Generating Random Integers

The PHP rand() function returns a pseudo‑random integer within a given range, defaulting to 0 through getrandmax() when no parameters are supplied, and includes details on its parameters, return value, and usage examples.

FunctionPHPbackend
0 likes · 2 min read
PHP rand() Function – Generating Random Integers
Top Architect
Top Architect
Feb 23, 2021 · Backend Development

Top 10 Go Frameworks and Libraries for Building Microservices

This article introduces ten essential Go open‑source libraries—including Cobra, Viper, Echo, Fx, Swag, Logrus, Mockery, golang‑migrate, NSQ, and sqlx—explaining their purpose, key features, and providing concise code examples to help developers quickly build clean, modular, and maintainable backend services.

CLIFrameworksGo
0 likes · 14 min read
Top 10 Go Frameworks and Libraries for Building Microservices
php Courses
php Courses
Feb 22, 2021 · Backend Development

Customizing Laravel Pagination for Pseudo‑Static URLs

This guide explains how to override Laravel's built‑in pagination component to generate clean pseudo‑static URLs by creating a custom LengthAwarePaginator, rewriting its url method, and providing a staticPaginate scope for selective use.

PHPPaginationPseudo-Static
0 likes · 7 min read
Customizing Laravel Pagination for Pseudo‑Static URLs
Architect's Tech Stack
Architect's Tech Stack
Feb 22, 2021 · Backend Development

Understanding Java's StringJoiner Implementation and Usage

This article explains why the original StringBuilder is limited, demonstrates how to use StringJoiner for comma‑separated strings, and provides a detailed analysis of the JDK source code including member fields, constructors, element addition, toString, length, merge, and empty‑value handling.

JDKJavaStringBuilder
0 likes · 7 min read
Understanding Java's StringJoiner Implementation and Usage
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Backend Development

PHP pow() Function – Exponential Expression

The PHP pow() function returns the base raised to the exponent, optionally yielding an integer, and its usage is illustrated with examples showing integer, zero, negative, and floating‑point exponent cases, including version‑specific behavior for PHP 4.0.6 and later.

FunctionPHPPoW
0 likes · 2 min read
PHP pow() Function – Exponential Expression
Java Captain
Java Captain
Feb 21, 2021 · Backend Development

Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL

This tutorial walks through creating a Spring Boot project, configuring Maven dependencies, setting up MySQL with MyBatis, defining entity, mapper, service, and controller layers, and building simple Thymeleaf login and registration pages, culminating in a runnable dynamic authentication demo.

JavaMyBatisMySQL
0 likes · 16 min read
Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL
Laravel Tech Community
Laravel Tech Community
Feb 21, 2021 · Backend Development

PHP pi() Function – Returns Approximate Value of π

The PHP pi() function returns the approximate value of the mathematical constant π as a float, with precision set by the php.ini precision directive (default 14), and can also be accessed via the predefined M_PI constant, illustrated with a simple code example.

FunctionMathematicsPHP
0 likes · 1 min read
PHP pi() Function – Returns Approximate Value of π
php Courses
php Courses
Feb 20, 2021 · Backend Development

Common ThinkPHP Single‑Letter Methods Overview

This article lists the common single‑letter shortcut methods in ThinkPHP, such as A for quickly instantiating the Action library, B for executing actions, C for configuring parameters, and others, providing brief English descriptions for each shortcut.

PHPThinkPHPbackend
0 likes · 2 min read
Common ThinkPHP Single‑Letter Methods Overview
php Courses
php Courses
Feb 19, 2021 · Backend Development

Resolving CORS withCredentials Issues in ThinkPHP 5.1

This guide explains how to resolve CORS withCredentials errors in ThinkPHP 5.1 by configuring Axios on the frontend, setting appropriate Access‑Control headers on the backend, creating a CrossDomain middleware, and handling preflight OPTIONS requests for methods like DELETE and PUT.

CORSMiddlewarePHP
0 likes · 6 min read
Resolving CORS withCredentials Issues in ThinkPHP 5.1
php Courses
php Courses
Feb 19, 2021 · Backend Development

Installing and Using Custom Chinese Validation Messages in Laravel

This guide explains how to install the Laravel validation package, create a Chinese language file for validation messages, wrap the validator in a custom handler class, and demonstrate direct validation, custom messages, attribute names, and error printing with practical code examples.

PHPValidationbackend
0 likes · 6 min read
Installing and Using Custom Chinese Validation Messages in Laravel
Java Architect Essentials
Java Architect Essentials
Feb 18, 2021 · Information Security

How Behavior‑Based Captchas Boost Security and User Experience

This article introduces a behavior‑based captcha solution that replaces traditional text captchas with slide‑puzzle and click‑word challenges, explains its terminology, interaction flow, project directory layout, and provides online demo links for both web and mobile implementations.

Spring Bootbackendbehavior captcha
0 likes · 5 min read
How Behavior‑Based Captchas Boost Security and User Experience
Top Architect
Top Architect
Feb 18, 2021 · Backend Development

Top 5 GraphQL Tools: Prisma, Relay, Apollo, Hasura, and URQL

The article reviews five widely used GraphQL tools—Prisma, Relay, Apollo, Hasura, and URQL—explaining their core features, supported databases or frameworks, and providing direct links to their official websites for developers seeking to simplify GraphQL integration.

ApolloGraphQLPrisma
0 likes · 6 min read
Top 5 GraphQL Tools: Prisma, Relay, Apollo, Hasura, and URQL
php Courses
php Courses
Feb 18, 2021 · Backend Development

Laravel Routing Basics and Advanced Usage

This article explains Laravel's routing system, covering the default route file, basic GET routes, common HTTP methods, parameter constraints, multiple parameters, and how to bind routes to controller actions with practical code examples.

PHPRoutingWeb Development
0 likes · 5 min read
Laravel Routing Basics and Advanced Usage
Programmer DD
Programmer DD
Feb 18, 2021 · Backend Development

Unlock Java Productivity: How Hutool Simplifies Common Tasks

This article introduces the Hutool Java utility library, outlines its extensive modules such as SecureUtil, HtmlUtil, and CronUtil, demonstrates practical code examples, and shares real‑world integration experiences that showcase how it can streamline development and reduce boilerplate code.

CronUtilHtmlUtilHutool
0 likes · 7 min read
Unlock Java Productivity: How Hutool Simplifies Common Tasks
Laravel Tech Community
Laravel Tech Community
Feb 17, 2021 · Backend Development

mt_rand() – Generating Better Random Numbers in PHP

The article explains PHP's mt_rand() function, which provides a faster and more reliable random number generator than the older rand(), details its optional min and max parameters, return range, and includes sample code demonstrating usage and typical output.

PHPbackendmt_rand
0 likes · 2 min read
mt_rand() – Generating Better Random Numbers in PHP
Byte Quality Assurance Team
Byte Quality Assurance Team
Feb 17, 2021 · Backend Development

Introducing Tesla: ByteDance’s Server‑Side Automated Testing Platform and Its Interface Testing Modes

This article introduces Tesla, ByteDance’s internal server‑side automated testing platform, explains the fundamentals of API testing, describes Tesla’s page‑interface and code‑hosting modes, and outlines advanced testing practices such as pipeline integration and layered test‑code architecture.

API testingTeslabackend
0 likes · 11 min read
Introducing Tesla: ByteDance’s Server‑Side Automated Testing Platform and Its Interface Testing Modes
Top Architect
Top Architect
Feb 17, 2021 · Backend Development

Understanding and Optimizing MyBatis PageHelper Pagination Performance

This article analyzes the performance bottlenecks of PageHelper's pagination in MyBatis, demonstrates how large offsets degrade MySQL query speed, and presents a more efficient sub‑query join solution along with suggestions for refactoring the interceptor to improve backend pagination efficiency.

JavaMyBatisPagination
0 likes · 9 min read
Understanding and Optimizing MyBatis PageHelper Pagination Performance
FunTester
FunTester
Feb 16, 2021 · Backend Development

Visualizing FunTester: A Detailed Architecture Diagram and Insights

During the Chinese New Year break the author used draw.io (now diagrams.net) to create a comprehensive architecture diagram of the FunTester testing framework, outlining its functional and performance layers, supported protocols, utility modules, and multithreaded execution model.

FunTesterarchitecturebackend
0 likes · 6 min read
Visualizing FunTester: A Detailed Architecture Diagram and Insights
dbaplus Community
dbaplus Community
Feb 16, 2021 · Backend Development

How We Rescued a Live‑Streaming Service from 404 Crashes: Real‑World Performance Optimization Strategies

This article walks through the root causes of a live‑streaming outage caused by traffic spikes, explains core performance metrics such as response time and concurrency, and details a systematic set of optimizations—including timeout tuning, caching, fallback, retry policies, parallel processing, and API redesign—that restored system stability and improved latency.

OptimizationPerformancebackend
0 likes · 16 min read
How We Rescued a Live‑Streaming Service from 404 Crashes: Real‑World Performance Optimization Strategies
21CTO
21CTO
Feb 13, 2021 · Backend Development

CodeIgniter Now Fully Supports PHP 8 – What the New Releases Bring

The lightweight PHP MVC framework CodeIgniter has quickly rolled out two updates, v4.0.5 and v4.1.0, delivering full PHP 8 compatibility, preparing for future NoSQL support, and streamlining analysis, testing, and CI/CD adoption for developers.

CodeIgniterMVCPHP 8
0 likes · 2 min read
CodeIgniter Now Fully Supports PHP 8 – What the New Releases Bring
Top Architect
Top Architect
Feb 13, 2021 · Backend Development

Integrating Dataway with Spring Boot for Zero‑Code API Configuration

This tutorial explains how to embed Dataway—a UI‑driven API configuration tool based on Hasor—into a Spring Boot application, covering dependency inclusion, Dataway property setup, datasource configuration, Hasor module wiring, enabling annotations, launching the service, and creating and publishing APIs without writing any Java code.

API ConfigurationDatawayHasor
0 likes · 15 min read
Integrating Dataway with Spring Boot for Zero‑Code API Configuration
Java Captain
Java Captain
Feb 13, 2021 · Backend Development

How Spring Solves Circular Dependencies and the Underlying Essence

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

Circular DependencyDesign PatternsJava
0 likes · 9 min read
How Spring Solves Circular Dependencies and the Underlying Essence
Liangxu Linux
Liangxu Linux
Feb 12, 2021 · Backend Development

Why Is Nginx So Fast? A Deep Dive into Its Process and Event Model

This article explains Nginx's high performance by examining its multi‑process architecture, asynchronous event‑driven design, modular components, and I/O multiplexing mechanisms such as epoll, while also comparing it with Apache and detailing connection limits and request handling flow.

Process Modelbackendepoll
0 likes · 11 min read
Why Is Nginx So Fast? A Deep Dive into Its Process and Event Model
php Courses
php Courses
Feb 9, 2021 · Backend Development

Creating a Custom ThinkPHP Command Line Script (hello)

This tutorial explains how to create a custom ThinkPHP command line script by adding a hello.php class in the application/command directory, configuring its name, description, and help, registering it in application/command.php, and executing it with the 'php think hello' command to output 'hello world'.

Command LinePHPThinkPHP
0 likes · 2 min read
Creating a Custom ThinkPHP Command Line Script (hello)
php Courses
php Courses
Feb 8, 2021 · Backend Development

Laravel Like Comment: Installation and Usage Guide

This article introduces the Laravel‑like‑comment package, outlines its features, and provides step‑by‑step instructions—including Composer installation, service provider registration, asset publishing, database migration, CSS/JS inclusion, user model configuration, and Blade directives for adding likes and comments—to integrate a full‑featured AJAX comment system into a Laravel application.

AJAXBladeInstallation
0 likes · 5 min read
Laravel Like Comment: Installation and Usage Guide
Practical DevOps Architecture
Practical DevOps Architecture
Feb 8, 2021 · Backend Development

Comparison of Common Message Queues: ActiveMQ, RocketMQ, and Kafka

This article compares ActiveMQ, RocketMQ, and Kafka across multiple dimensions such as messaging models, API completeness, language support, throughput, latency, availability, message loss risk, documentation, community activity, and commercial backing, helping readers choose the most suitable queue for their backend needs.

ActiveMQComparisonKafka
0 likes · 4 min read
Comparison of Common Message Queues: ActiveMQ, RocketMQ, and Kafka
dbaplus Community
dbaplus Community
Feb 8, 2021 · Backend Development

Avoid Stale Data: Pitfalls and Best Practices for Cache Aside, Read‑Through, Write‑Through, and Write‑Behind

This article explains why cache‑database inconsistencies occur in large systems, details the cache‑aside, read‑through, write‑through and write‑behind strategies, highlights three common pitfalls with concrete examples, and offers practical recommendations such as proper update ordering and cache expiration to ensure data freshness.

CacheCache AsideData Consistency
0 likes · 9 min read
Avoid Stale Data: Pitfalls and Best Practices for Cache Aside, Read‑Through, Write‑Through, and Write‑Behind
Top Architect
Top Architect
Feb 7, 2021 · Backend Development

Introducing Netflix’s Open‑Source Domain Graph Service (DGS) Framework for Spring Boot

The article presents Netflix’s open‑source Domain Graph Service (DGS) framework, detailing its purpose, core features, schema‑first development approach, practical usage examples, integration with the GraphQL ecosystem, support for federation, modular architecture, distributed tracing, and how developers can get started with the project.

DGSGraphQLJava
0 likes · 10 min read
Introducing Netflix’s Open‑Source Domain Graph Service (DGS) Framework for Spring Boot
php Courses
php Courses
Feb 7, 2021 · Backend Development

Configuring IP Access Restrictions for Modules in ThinkPHP

This guide explains how to configure module IP access restrictions in ThinkPHP by adding 'allow_module_ip' and 'deny_module_list' entries to config.php, shows the recommended placement, and demonstrates the necessary modifications to the framework's App.php file to enforce the rules.

IP restrictionPHPThinkPHP
0 likes · 3 min read
Configuring IP Access Restrictions for Modules in ThinkPHP
FunTester
FunTester
Feb 7, 2021 · Backend Development

Using ThreadLocal for Collect/Uncollect Performance Testing in Java

This article demonstrates how to apply Java's ThreadLocal together with an AtomicInteger to generate unique minisource_id values for a collect‑and‑uncollect workflow, and shows the complete code modifications and performance‑test script used to measure request latency.

JavaThreadLocalbackend
0 likes · 6 min read
Using ThreadLocal for Collect/Uncollect Performance Testing in Java
Laravel Tech Community
Laravel Tech Community
Feb 6, 2021 · Backend Development

PHP min() Function: Finding the Minimum Value

This article explains how PHP's min() function determines the smallest value, detailing its behavior with single array arguments versus multiple scalar arguments, describing parameters and return values, and providing clear code examples for common use cases.

Arraybackendmin function
0 likes · 2 min read
PHP min() Function: Finding the Minimum Value
Laravel Tech Community
Laravel Tech Community
Feb 5, 2021 · Backend Development

Using PHP’s max() Function to Find the Largest Value

This article explains how PHP’s max() function works with both scalar values and arrays, describes its parameters and return value, and provides multiple code examples demonstrating how to retrieve the greatest element in various scenarios.

ArrayComparisonPHP
0 likes · 3 min read
Using PHP’s max() Function to Find the Largest Value
php Courses
php Courses
Feb 5, 2021 · Backend Development

Implementing Role-Based Access Control (RBAC) with the Auth Class in ThinkPHP

This guide explains how to set up an Auth class in ThinkPHP, create the necessary database tables for groups and rules, design admin and permission tables, configure user‑group relationships, handle login sessions, and integrate the Auth class into a common controller to enforce RBAC checks.

PHPRBACThinkPHP
0 likes · 4 min read
Implementing Role-Based Access Control (RBAC) with the Auth Class in ThinkPHP
Xianyu Technology
Xianyu Technology
Feb 5, 2021 · Backend Development

Improving Xianyu Messaging Reliability: Architecture, Issues, and Solutions

The article details how Xianyu’s 2020 messaging failures—lost messages, wrong avatars, and order status errors—were traced to duplicate IDs, push‑logic mismatches, and client bugs, and solved by introducing global UUIDs, ACK‑based retries, hierarchical conversation models, hybrid storage caching, and real‑time monitoring, boosting delivery reliability above 99.9%.

Reliabilitybackenddistributed-systems
0 likes · 12 min read
Improving Xianyu Messaging Reliability: Architecture, Issues, and Solutions
Laravel Tech Community
Laravel Tech Community
Feb 4, 2021 · Backend Development

PHP log() Function: Natural Logarithm with Optional Base

The PHP log() function computes the natural logarithm of a number or, when a base is supplied, the logarithm with that base, and the article explains its signature, parameters, return value, and provides example code with expected output.

MathematicsPHPbackend
0 likes · 2 min read
PHP log() Function: Natural Logarithm with Optional Base
php Courses
php Courses
Feb 4, 2021 · Information Security

Analyzing and Decoding CAPTCHA Images Using PHP

This article explains how to extract RGB values from a CAPTCHA image with PHP, convert the pixel data into binary patterns, map those patterns to digits using a predefined dictionary, and achieve 100% recognition accuracy, illustrating a practical backend security technique.

OCRPHPbackend
0 likes · 4 min read
Analyzing and Decoding CAPTCHA Images Using PHP
Laravel Tech Community
Laravel Tech Community
Feb 3, 2021 · Backend Development

PHP Composer ID Validator: Features, Installation, Usage, and Information Retrieval

This article introduces the PHP Composer package "jxlwqq/id-validator", detailing its capabilities to validate Chinese resident ID numbers, upgrade 15‑digit IDs to 18‑digit, generate synthetic IDs, retrieve detailed personal information, and explains installation, usage examples, and the structure of the returned data.

PHPValidationbackend
0 likes · 3 min read
PHP Composer ID Validator: Features, Installation, Usage, and Information Retrieval
Top Architect
Top Architect
Feb 3, 2021 · Backend Development

Standardizing HTTP API Error Responses with RFC 7807 Problem Details

The article explains how the IETF's RFC 7807 standardizes HTTP API error responses by defining a common problem‑details format, describing its fields, JSON/XML examples, benefits for clients and servers, and practical steps for adopting it across various programming ecosystems.

APIProblem DetailsRFC7807
0 likes · 12 min read
Standardizing HTTP API Error Responses with RFC 7807 Problem Details
Laravel Tech Community
Laravel Tech Community
Feb 2, 2021 · Backend Development

PHP log10() Function – Base‑10 Logarithm

The PHP log10() function returns the base‑10 logarithm of a floating‑point argument, detailing its signature, parameter description, return value, and providing example code with expected output for various inputs.

FunctionMathematicsPHP
0 likes · 1 min read
PHP log10() Function – Base‑10 Logarithm
MaGe Linux Operations
MaGe Linux Operations
Feb 2, 2021 · Backend Development

Top 100 Django Packages of 2020: Download Stats & Trends

The article reviews the 2020 most‑downloaded Django packages, breaking them into categories such as REST, utilities, ORM extensions, testing, caching, settings, background jobs, authentication, front‑end tools, security, email, monitoring, admin, search and others, providing download counts, recent updates and observations on trends for developers.

DjangoPackage StatisticsPython
0 likes · 13 min read
Top 100 Django Packages of 2020: Download Stats & Trends
Top Architect
Top Architect
Feb 2, 2021 · Backend Development

Understanding Kafka Zero‑Copy and Parallel FileTransferTo Performance

This article explains Kafka's underlying storage architecture, details the zero‑copy transferTo technique in Java, compares traditional four‑copy I/O with zero‑copy, and presents parallel FileTransferTo performance tests on a multi‑core Linux system environment.

FileTransferToJavaPerformance
0 likes · 11 min read
Understanding Kafka Zero‑Copy and Parallel FileTransferTo Performance
Laravel Tech Community
Laravel Tech Community
Feb 1, 2021 · Backend Development

PHP lcg_value() Function – Combined Linear Congruential Generator

The article explains PHP’s lcg_value() function, which generates a pseudo‑random float between 0 and 1 by combining two linear congruential generators with periods 2^31‑85 and 2^31‑249, describes its return value, provides a PHP code example, and shows a sample output.

backendlcg_valuelinear congruential generator
0 likes · 1 min read
PHP lcg_value() Function – Combined Linear Congruential Generator
IT Xianyu
IT Xianyu
Feb 1, 2021 · Backend Development

Sharing HTTP Session Across a Cluster with Redis in Spring Boot

This article demonstrates how to reproduce the session loss problem in a load‑balanced Spring Boot application, explains its cause, and provides a step‑by‑step solution using Redis for shared session storage, including code, Nginx configuration, and deployment instructions.

ClusterJavaSpring Boot
0 likes · 5 min read
Sharing HTTP Session Across a Cluster with Redis in Spring Boot
Programmer DD
Programmer DD
Feb 1, 2021 · Backend Development

What to Ask in a Java Interview? Essential Reverse Interview Questions

This guide compiles a comprehensive list of reverse‑interview questions for Java candidates, covering responsibilities, technical practices, team dynamics, company policies, compensation, remote work, and more, helping interviewees evaluate potential employers and demonstrate proactive curiosity.

InterviewJavabackend
0 likes · 16 min read
What to Ask in a Java Interview? Essential Reverse Interview Questions
Laravel Tech Community
Laravel Tech Community
Jan 30, 2021 · Backend Development

PHP is_infinite() Function – Determine if a Value Is Infinite

The article explains PHP’s is_infinite() function, describing its purpose of detecting infinite floating‑point values, detailing its single parameter, return values, and providing example code that demonstrates true and false outcomes, with the expected output shown.

FunctionPHPbackend
0 likes · 2 min read
PHP is_infinite() Function – Determine if a Value Is Infinite
Java Captain
Java Captain
Jan 30, 2021 · Backend Development

Graceful Shutdown of Spring Boot Applications: Risks of kill -9 and Proper Termination Techniques

This article explains why using the forceful kill -9 command to stop Linux processes can cause data loss and inconsistent states, especially in distributed systems, and demonstrates several graceful shutdown methods for Spring Boot—including SIGTERM, ConfigurableApplicationContext.close(), Actuator shutdown endpoints, custom Tomcat connector handling, and @PreDestroy data‑backup hooks—complete with code examples and execution logs.

JavaLinuxSpring Boot
0 likes · 22 min read
Graceful Shutdown of Spring Boot Applications: Risks of kill -9 and Proper Termination Techniques
php Courses
php Courses
Jan 29, 2021 · Backend Development

Deep Dive into ThinkPHP Cache Mechanism: Setting, Retrieval, and Source Code Analysis

This article provides a comprehensive analysis of ThinkPHP’s cache system, detailing the execution flow for setting and retrieving cache, exploring the underlying source code, illustrating static method behavior, initialization, file handling, compression techniques, and practical examples with code snippets.

CachePHPThinkPHP
0 likes · 11 min read
Deep Dive into ThinkPHP Cache Mechanism: Setting, Retrieval, and Source Code Analysis
php Courses
php Courses
Jan 29, 2021 · Backend Development

Handling Cookies and File Uploads in Laravel

This article explains how Laravel encrypts and signs cookies to prevent tampering, shows multiple ways to set and retrieve cookie values, and provides detailed instructions and code examples for uploading, validating, and storing files using the framework's request and response utilities.

PHPbackendcookies
0 likes · 5 min read
Handling Cookies and File Uploads in Laravel
Laravel Tech Community
Laravel Tech Community
Jan 28, 2021 · Backend Development

PHP intdiv() – Integer Division Function

The article explains PHP's intdiv() function, describing its syntax, parameters, return value, and providing multiple code examples that illustrate integer division results, edge‑case behavior with large integers, division by zero, and the resulting errors.

backenderror-handlingintdiv
0 likes · 2 min read
PHP intdiv() – Integer Division Function
Sohu Tech Products
Sohu Tech Products
Jan 28, 2021 · Operations

Performance Troubleshooting: JVM Safepoint, Biased Locking, Netty Worker Blocking, and Log Framework Issues

This article details a systematic investigation of various backend performance problems—including CMS GC delays, biased‑lock revocation, Netty worker thread blocking, and log‑framework overhead—provides root‑cause analysis, JVM tuning parameters, and practical recommendations to mitigate latency spikes in production services.

JVMNettySafepoint
0 likes · 16 min read
Performance Troubleshooting: JVM Safepoint, Biased Locking, Netty Worker Blocking, and Log Framework Issues
FunTester
FunTester
Jan 28, 2021 · Operations

Turn Browser Curl Calls into Fast Java Performance Tests

This article explains how to capture browser curl requests, parse them into Java HttpRequestBase objects, and run high‑concurrency performance tests using a custom FunTester framework, complete with code examples, metrics, and repository links.

Javaautomationbackend
0 likes · 8 min read
Turn Browser Curl Calls into Fast Java Performance Tests
Laravel Tech Community
Laravel Tech Community
Jan 27, 2021 · Backend Development

PHP hypot() Function – Calculate the Length of the Hypotenuse

The article explains PHP’s hypot() function, which computes the hypotenuse length of a right‑angled triangle given side lengths x and y (or the distance from the origin), details its parameters and return value, and provides sample code with expected output.

Functionbackendexample
0 likes · 2 min read
PHP hypot() Function – Calculate the Length of the Hypotenuse
JavaScript
JavaScript
Jan 27, 2021 · Backend Development

Which API Response Format Is Best: Include Empty B or Omit It?

The discussion compares two API response designs—always returning an empty array for field B versus omitting B when it has no data—and evaluates which approach provides clearer contracts and easier handling for front‑end developers.

API designbackendfrontend
0 likes · 1 min read
Which API Response Format Is Best: Include Empty B or Omit It?
Laravel Tech Community
Laravel Tech Community
Jan 26, 2021 · Backend Development

hexdec() – Convert Hexadecimal Strings to Decimal in PHP

hexdec() is a PHP built‑in function that converts a hexadecimal string to its decimal value, ignoring any non‑hex characters, and returns the corresponding integer; the article explains its syntax, parameters, return value, and provides example code demonstrating conversions such as "See" and "a0".

ConversionPHPbackend
0 likes · 2 min read
hexdec() – Convert Hexadecimal Strings to Decimal in PHP
php Courses
php Courses
Jan 26, 2021 · Backend Development

Understanding the ThinkPHP Db Class: Workflow and Core Methods

This article provides a detailed walkthrough of the ThinkPHP Db class, explaining its relationship with other core classes, the database configuration, and the step‑by‑step execution flow of queries, including magic methods, connection handling, and result retrieval.

DBDatabaseORM
0 likes · 8 min read
Understanding the ThinkPHP Db Class: Workflow and Core Methods
php Courses
php Courses
Jan 26, 2021 · Backend Development

Reading and Writing CSV Files in PHP

This article provides PHP code examples for reading data from a CSV file and writing data to a new CSV file, including handling of locale settings, skipping headers, constructing headers, and appending rows using built‑in functions such as fgetcsv, fopen, and fwrite.

CSVData ProcessingFile I/O
0 likes · 2 min read
Reading and Writing CSV Files in PHP
php Courses
php Courses
Jan 25, 2021 · Backend Development

Deep Dive into ThinkPHP Model Implementation and Save Method Execution

This article provides a comprehensive, step‑by‑step analysis of ThinkPHP's Model class, illustrating how the framework organizes model files, utilizes traits and ArrayAccess, and executes the save method—including data validation, insert/update logic, and the underlying execute routine that interacts with the database via PDO.

DatabaseModelORM
0 likes · 9 min read
Deep Dive into ThinkPHP Model Implementation and Save Method Execution
Top Architect
Top Architect
Jan 25, 2021 · Backend Development

GraphQL Overview: Concepts, Advantages over REST, and Architectural Patterns

This article explains the limitations of traditional REST APIs, introduces GraphQL as a flexible alternative, details its core concepts such as schema, types, queries, mutations and subscriptions, and outlines various deployment architectures and implementation considerations for backend development.

APIGraphQLREST
0 likes · 14 min read
GraphQL Overview: Concepts, Advantages over REST, and Architectural Patterns
Code Ape Tech Column
Code Ape Tech Column
Jan 25, 2021 · Backend Development

Ensuring Zero Message Loss in RabbitMQ: Persistence, Confirm, and Idempotent Strategies

This article examines how to guarantee reliable message delivery in RabbitMQ by using durable queues, the confirm callback mechanism, pre‑persisting messages with Redis or a database, scheduled compensation tasks, and idempotent processing techniques such as optimistic locking and unique‑ID fingerprinting.

Confirm CallbackMessage QueuePersistence
0 likes · 11 min read
Ensuring Zero Message Loss in RabbitMQ: Persistence, Confirm, and Idempotent Strategies
Architect
Architect
Jan 24, 2021 · Backend Development

Understanding GraphQL: Advantages over REST and Architectural Design

This article explains the evolution and limitations of REST APIs, introduces GraphQL as a more flexible, declarative alternative, details its core concepts such as schema and type system, compares execution models, and outlines various backend integration architectures for adopting GraphQL.

APIGraphQLREST
0 likes · 14 min read
Understanding GraphQL: Advantages over REST and Architectural Design