Tagged articles

backend development

4180 articles · Page 26 of 42
Tencent Cloud Developer
Tencent Cloud Developer
Apr 25, 2022 · Databases

Implementing a Simple SQLite‑like Database in Go

The article walks through building a minimal SQLite‑style database in Go, covering memory‑disk page storage, B‑tree indexing, simple SQL parsing for INSERT and SELECT, row serialization, a pager that flushes pages, and a basic REPL, while highlighting current single‑page limits and future extensions.

B+ TreeGoSQLite
0 likes · 12 min read
Implementing a Simple SQLite‑like Database in Go
FunTester
FunTester
Apr 25, 2022 · Backend Development

How to Build Accurate QPS and RT Samplers for Java Performance Tests

This article explains a refined approach for implementing QPS and response‑time samplers in a Java performance‑testing framework, covering static and dynamic load models, the use of LongAdder, thread‑count utilities, and detailed code examples for reliable metric collection.

JavaQPSRT Sampler
0 likes · 7 min read
How to Build Accurate QPS and RT Samplers for Java Performance Tests
Open Source Linux
Open Source Linux
Apr 25, 2022 · Backend Development

Master TCP/UDP, Sockets & Connection Pools in Node.js – From Basics to Advanced

This article walks developers through the fundamentals of the OSI model, TCP three‑way handshake and UDP characteristics, explains socket concepts, demonstrates Node.js server and client implementations with heartbeats and custom protocols, and details how to build and use a socket connection pool with the generic‑pool library.

Node.jsSocketTCP
0 likes · 39 min read
Master TCP/UDP, Sockets & Connection Pools in Node.js – From Basics to Advanced
Sanyou's Java Diary
Sanyou's Java Diary
Apr 23, 2022 · Backend Development

How OpenFeign Builds Dynamic Proxies in Spring Cloud – A Deep Dive

This article dissects the inner workings of OpenFeign within Spring Cloud, explaining how @EnableFeignClients triggers bean registration, how FeignClientsRegistrar and related configuration classes create BeanDefinitions, and how the FeignBuilder ultimately generates dynamic proxy instances for Feign clients.

FeignClientOpenFeignSpring Cloud
0 likes · 21 min read
How OpenFeign Builds Dynamic Proxies in Spring Cloud – A Deep Dive
Node Underground
Node Underground
Apr 22, 2022 · Backend Development

Why Web Frameworks May Not Be the Answer for Simple APIs

The author argues that for straightforward API or server‑side rendering tasks, using minimal or no web framework—illustrated with Deno Deploy examples—reduces overhead, mental load, and premature optimization, while still enabling scalable, maintainable services.

Deno DeployWeb Frameworksbackend development
0 likes · 8 min read
Why Web Frameworks May Not Be the Answer for Simple APIs
Cognitive Technology Team
Cognitive Technology Team
Apr 21, 2022 · Backend Development

Resolving Maven Compilation Hang After Upgrading Spring Cloud from Java 8 to Java 11 and Dealing with Lombok @Builder.Default Issues

The article explains why a Spring Cloud project upgraded from Java 8 to Java 11 gets stuck during Maven compilation, shows how to enable detailed compiler logs with Maven‑compiler‑plugin settings, presents the lengthy compilation output, and advises cautious use of Lombok’s @Builder.Default to avoid similar hangs.

CompilationJava 11Lombok
0 likes · 12 min read
Resolving Maven Compilation Hang After Upgrading Spring Cloud from Java 8 to Java 11 and Dealing with Lombok @Builder.Default Issues
Tencent Cloud Developer
Tencent Cloud Developer
Apr 21, 2022 · Backend Development

Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components

The guide reviews the essential requirements for Go local caching and compares seven open‑source caches—freecache, bigcache, fastcache, offheap, groupcache, ristretto, and go‑cache—while detailing the sharded, lock‑reduced designs of freecache, bigcache, fastcache, and offheap, and explains how off‑heap allocation or pointer‑free maps achieve near zero‑GC performance.

FastCacheFreeCachebackend development
0 likes · 10 min read
Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components
Shopee Tech Team
Shopee Tech Team
Apr 21, 2022 · Backend Development

Interview with Shopee Backend Engineer Draven on Technical Writing, Go Language Design, and Cloud‑Native Development

In this interview, Shopee backend engineer Draven discusses how his early blogging evolved into authoring a comprehensive Go language design book, compares book‑writing to blog series, shares his research‑driven learning methods for new technologies, outlines his current focus on OS, networking and C++, and invites readers to suggest technical books for a World Book Day giveaway.

Go LanguageTechnical Writingbackend development
0 likes · 10 min read
Interview with Shopee Backend Engineer Draven on Technical Writing, Go Language Design, and Cloud‑Native Development
Top Architect
Top Architect
Apr 21, 2022 · Backend Development

Understanding AOP: Joinpoint Design, Advice, and Weaving in Java

This article explains the background, concepts, and implementation details of Aspect‑Oriented Programming in Java, covering joinpoint interface design, advice abstraction, static and dynamic weaving, and how Spring AOP applies these principles with illustrative code and diagrams.

AOPAdviceJava
0 likes · 9 min read
Understanding AOP: Joinpoint Design, Advice, and Weaving in Java
Programmer DD
Programmer DD
Apr 20, 2022 · Backend Development

Quickly Spin Up a Simple Java 18 Web Server with jwebserver

This article introduces Java 18’s JEP 408 Simple Web Server, explains its purpose and limitations, walks through creating an HTML page, demonstrates launching the server via command line with various options, and shows how to access and verify the served content.

HTTPJEP 408Java
0 likes · 7 min read
Quickly Spin Up a Simple Java 18 Web Server with jwebserver
FunTester
FunTester
Apr 20, 2022 · Backend Development

Build a Simple Java gRPC Demo in 3 Easy Steps

This guide walks you through setting up a basic Java gRPC project by outlining required Maven dependencies, creating the .proto SDK, implementing a server with a custom service, building a client stub, and running a test to verify the end‑to‑end RPC call.

JavaMavenProtocol Buffers
0 likes · 9 min read
Build a Simple Java gRPC Demo in 3 Easy Steps
Top Architect
Top Architect
Apr 19, 2022 · Backend Development

Implementing a Simple Hot Search Feature with User Search History and Sensitive Word Filtering Using Java and Redis

This article demonstrates how to build a simple hot‑search functionality with user search history, hot‑keyword ranking, and profanity filtering in a Spring Boot application using Java, Redis ZSet operations, and a DFA‑based sensitive‑word filter, providing complete controller and service code examples.

JavaRedisSensitive Word Filter
0 likes · 17 min read
Implementing a Simple Hot Search Feature with User Search History and Sensitive Word Filtering Using Java and Redis
Top Architect
Top Architect
Apr 19, 2022 · Databases

Querying Multi‑Business‑Unit Product Sales with Row Comparison in MySQL

This article explains how to retrieve sales statistics for multiple business units and their associated products in MySQL by comparing rows, discusses alternative approaches such as loop queries, OR concatenation, and mixed filtering, and demonstrates why row‑by‑row comparison is the most suitable solution.

Dynamic SQLMySQLRow Comparison
0 likes · 8 min read
Querying Multi‑Business‑Unit Product Sales with Row Comparison in MySQL
Java Captain
Java Captain
Apr 17, 2022 · Backend Development

Kindergarten Management System – Overview, Tech Stack, Deployment Guide, and Backend Controller Code

The article presents a kindergarten management system featuring three user roles, outlines its Spring Boot and Thymeleaf technology stack, details required runtime and database environments, provides step‑by‑step deployment instructions, and includes complete backend controller source code for user, teacher, student, and school management functionalities.

JavaMySQLSpring Boot
0 likes · 19 min read
Kindergarten Management System – Overview, Tech Stack, Deployment Guide, and Backend Controller Code
21CTO
21CTO
Apr 16, 2022 · Backend Development

What’s New in .NET 7 Preview 3? Native AOT, Faster Startup, and GC Enhancements

Microsoft released .NET 7 Preview 3, introducing major updates such as full native AOT compilation, improved startup times, Write‑Xor‑Execute support, enhanced code generation, new X.500 certificate handling, and default‑enabled GC optimizations across most platforms.

GCNative AOTPreview
0 likes · 4 min read
What’s New in .NET 7 Preview 3? Native AOT, Faster Startup, and GC Enhancements
Programmer DD
Programmer DD
Apr 16, 2022 · Backend Development

Mastering Single-Node and Distributed Scheduled Tasks in Java

This article compares native JDK ScheduledExecutorService, Spring Task, Redis‑based approaches, and popular distributed scheduling frameworks such as Quartz, Elastic‑Job, LTS, and XXL‑Job, providing code examples, usage scenarios, advantages, and best‑practice recommendations for implementing reliable timed jobs in microservice environments.

JavaRedisSpring
0 likes · 10 min read
Mastering Single-Node and Distributed Scheduled Tasks in Java
Java High-Performance Architecture
Java High-Performance Architecture
Apr 15, 2022 · Backend Development

Mastering Global Exception Handling in Spring Boot

This guide explains why excessive try‑catch blocks hurt Spring Boot projects, introduces a unified response class, custom business exception, error enumeration, and a global @RestControllerAdvice handler, providing clean, reusable error handling with sample code and test usage.

JavaSpring Bootbackend development
0 likes · 7 min read
Mastering Global Exception Handling in Spring Boot
IT Architects Alliance
IT Architects Alliance
Apr 14, 2022 · Backend Development

Exploring SAPI++: A Multi‑Tenant SaaS Framework Powered by ThinkPHP 6.x

SAPI++ is an open‑source multi‑application, multi‑tenant SaaS framework built on ThinkPHP 6.x, offering out‑of‑the‑box installation, API authentication, menu integration, and support for various front‑end technologies; the article details its features, advantages, required environment, and directory layout for developers.

PHPSAPI++SaaS Framework
0 likes · 9 min read
Exploring SAPI++: A Multi‑Tenant SaaS Framework Powered by ThinkPHP 6.x
Selected Java Interview Questions
Selected Java Interview Questions
Apr 14, 2022 · Backend Development

Converting a List to a Tree Structure Using Java 8 Streams

This article demonstrates how to transform a flat list into a hierarchical tree structure in Java by defining a NodeVO class, implementing a recursive Stream‑based conversion method, and testing it with sample data, showcasing the elegance of the Stream API over traditional loops.

Stream APITree Structurebackend development
0 likes · 4 min read
Converting a List to a Tree Structure Using Java 8 Streams
Architect
Architect
Apr 14, 2022 · Backend Development

Understanding Idempotent Design: Concepts, Scenarios, and Eight Practical Implementation Strategies

This article explains the mathematical and computer‑science definition of idempotency, why it is essential for reliable distributed services, how to handle timeout scenarios, and presents eight concrete design patterns—including unique IDs, database constraints, token mechanisms, optimistic/pessimistic locks, and distributed locks—along with code examples and HTTP method analysis.

HTTPbackend developmentdatabase
0 likes · 18 min read
Understanding Idempotent Design: Concepts, Scenarios, and Eight Practical Implementation Strategies
macrozheng
macrozheng
Apr 12, 2022 · Backend Development

Mastering Spring Retry: How @Retryable Simplifies Robust Backend Calls

This article explains how Spring Boot's spring-retry module and the @Retryable annotation enable clean, annotation‑driven retry logic for common failure scenarios, covering configuration, code examples, recovery handling with @Recover, and important usage precautions.

@RetryableJavaSpring Boot
0 likes · 7 min read
Mastering Spring Retry: How @Retryable Simplifies Robust Backend Calls
Programmer DD
Programmer DD
Apr 11, 2022 · Backend Development

Unlock Dynamic Thread Pool Management with Hippo4J: Features, Modes, and Benefits

This article introduces Hippo4J, a Java dynamic thread‑pool solution inspired by Meituan's design, detailing its web‑based parameter tuning, monitoring, alerting capabilities, two deployment modes (lightweight with config‑center and standalone server), and the operational advantages it brings to developers and operators.

AlertingHippo4JJava
0 likes · 5 min read
Unlock Dynamic Thread Pool Management with Hippo4J: Features, Modes, and Benefits
Top Architect
Top Architect
Apr 10, 2022 · Backend Development

Spring Boot Best Practices: 16 Essential Tips for Building Robust Microservices

This article presents sixteen practical Spring Boot best‑practice recommendations—including custom BOM management, auto‑configuration, project initialization with Spring Initializr, clean controller design, service layering, database isolation, constructor injection, logging, testing, and configuration externalization—to help developers build maintainable, high‑quality microservices efficiently.

JavaSpring Bootbackend development
0 likes · 13 min read
Spring Boot Best Practices: 16 Essential Tips for Building Robust Microservices
Cognitive Technology Team
Cognitive Technology Team
Apr 9, 2022 · Backend Development

When Does ThreadPoolExecutor’s RejectedExecutionHandler Trigger and How to Use Its Implementations in Java

This article explains the conditions that cause ThreadPoolExecutor’s RejectedExecutionHandler to fire, reviews the built‑in policies such as DiscardOldestPolicy, AbortPolicy, CallerRunsPolicy and DiscardPolicy, provides their source code, and offers practical advice on selecting and avoiding pitfalls when handling rejected tasks in Java concurrency.

JavaRejectedExecutionHandlerThreadPoolExecutor
0 likes · 5 min read
When Does ThreadPoolExecutor’s RejectedExecutionHandler Trigger and How to Use Its Implementations in Java
Java High-Performance Architecture
Java High-Performance Architecture
Apr 9, 2022 · Backend Development

How to Achieve Near‑Zero Message Loss in RabbitMQ: Confirm, Persistence, and Manual Ack

This article explains the three stages where RabbitMQ messages can be lost and presents a comprehensive reliability strategy—including producer confirm mode, durable exchanges/queues, message persistence, database‑backed compensation, and manual consumer acknowledgments—to achieve virtually loss‑free message delivery.

Confirm ModeMessage reliabilityRabbitMQ
0 likes · 9 min read
How to Achieve Near‑Zero Message Loss in RabbitMQ: Confirm, Persistence, and Manual Ack
IT Services Circle
IT Services Circle
Apr 8, 2022 · Backend Development

Understanding Spring's Event Publishing and Listening Mechanism: Source Code Analysis and Practical Implementation

This article explains how Spring implements broadcast and listener functionality through ApplicationEventPublisher and ApplicationListener, analyzes the underlying bean post‑processor workflow, and provides complete source‑code examples for custom events, publishers, listeners, and a REST client to demonstrate end‑to‑end event handling.

Event PublishingJavaSpring
0 likes · 7 min read
Understanding Spring's Event Publishing and Listening Mechanism: Source Code Analysis and Practical Implementation
Java Interview Crash Guide
Java Interview Crash Guide
Apr 8, 2022 · Backend Development

7 Core Strategies for Java Performance Optimization: Theory Overview

This article provides a theoretical overview of seven major Java performance optimization techniques—including code reuse, computation parallelism, asynchronous processing, lazy loading, result set reduction, resource conflict handling, and JVM tuning—offering readers a comprehensive framework to understand and improve application efficiency.

JVMJavabackend development
0 likes · 11 min read
7 Core Strategies for Java Performance Optimization: Theory Overview
Senior Brother's Insights
Senior Brother's Insights
Apr 7, 2022 · Backend Development

7 Core Strategies to Supercharge Java Performance: Theory and Best Practices

This article presents a theoretical overview of seven major Java performance‑optimization directions—including reuse, parallel execution, async conversion, result‑set trimming, resource‑conflict handling, algorithm tuning, and JVM tuning—explaining their principles, typical techniques, and practical considerations for developers.

JVMJavabackend development
0 likes · 14 min read
7 Core Strategies to Supercharge Java Performance: Theory and Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Apr 7, 2022 · Backend Development

Single-Node and Distributed Scheduled Tasks in Java: JDK, Spring, Redis, and Middleware Solutions

This article explains how to implement single-node scheduled tasks using JDK's ScheduledExecutorService and Spring @Scheduled, compares Redis‑based approaches with ZSet and key‑space notifications, and reviews popular distributed scheduling frameworks such as Quartz, elastic‑job‑lite, LTS, and XXL‑Job for microservice environments.

Springbackend developmentscheduled tasks
0 likes · 9 min read
Single-Node and Distributed Scheduled Tasks in Java: JDK, Spring, Redis, and Middleware Solutions
Top Architect
Top Architect
Apr 6, 2022 · Backend Development

High‑Fidelity Baidu Wenku Clone Project Overview and Technical Stack

This article introduces a fully functional, open‑source Baidu Wenku‑style document library built with Go/Beego, Bootstrap, and MySQL, detailing its architecture, SVG‑based document rendering, point system, watermarking, and how to obtain the source code.

BeegoDocument ManagementGo
0 likes · 5 min read
High‑Fidelity Baidu Wenku Clone Project Overview and Technical Stack
Selected Java Interview Questions
Selected Java Interview Questions
Apr 4, 2022 · Backend Development

Using InheritableThreadLocal to Access Parent ThreadLocal Values in Child Threads (Java)

This article explains how to make a child thread inherit the values stored in a parent thread's ThreadLocal by using InheritableThreadLocal, demonstrates the behavior with a runnable Java example, and details the underlying ThreadLocalMap mechanism that enables the inheritance.

InheritableThreadLocalThreadLocalbackend development
0 likes · 3 min read
Using InheritableThreadLocal to Access Parent ThreadLocal Values in Child Threads (Java)
Java Backend Technology
Java Backend Technology
Apr 4, 2022 · Backend Development

Top 16 Spring Boot Best Practices for Robust Microservices

This article presents sixteen essential Spring Boot best practices—from managing dependencies with a custom BOM and leveraging auto‑configuration, to structuring packages, using constructor injection, handling concurrency, externalizing configuration, and comprehensive testing—helping developers build maintainable, high‑performance Java microservices.

JavaSpring Bootbackend development
0 likes · 13 min read
Top 16 Spring Boot Best Practices for Robust Microservices
Top Architect
Top Architect
Apr 2, 2022 · Backend Development

Applying Domain-Driven Design to Payment Systems: A Comprehensive Guide

This article explains how Airwallex uses Domain-Driven Design (DDD) to model a complex payment system, detailing strategic and tactical patterns, bounded contexts, domain events, and the translation of domain models into microservice architectures, while highlighting the benefits of clear communication and modular design.

DDDDomain-Driven Designbackend development
0 likes · 9 min read
Applying Domain-Driven Design to Payment Systems: A Comprehensive Guide
Su San Talks Tech
Su San Talks Tech
Apr 2, 2022 · Backend Development

Top 16 Spring Boot Best Practices for Robust Microservices

This article presents sixteen practical Spring Boot best‑practice recommendations—from managing dependencies with custom BOMs and leveraging auto‑configuration to structuring packages, handling concurrency, externalizing configuration, and adopting testing strategies—aimed at building clean, maintainable microservices.

JavaSpring Bootbackend development
0 likes · 13 min read
Top 16 Spring Boot Best Practices for Robust Microservices
IT Xianyu
IT Xianyu
Apr 1, 2022 · Backend Development

Why Use Spring? Understanding How It Solves Coupling Problems with Dependency Injection

This article compares traditional object creation with Spring’s dependency injection, demonstrating how injecting DAO beans via XML configuration decouples service and data layers, includes Java code examples, test results, and visual analogies of gear systems to illustrate reduced coupling.

Dependency InjectionIOCInversion of Control
0 likes · 5 min read
Why Use Spring? Understanding How It Solves Coupling Problems with Dependency Injection
DataFunSummit
DataFunSummit
Mar 30, 2022 · Backend Development

Implementing Distributed Scheduled Tasks with Quartz in Spring Boot

This tutorial explains how to build a highly available, horizontally scalable distributed scheduled‑task system using Quartz in a Spring Boot application, covering application scenarios, Maven dependencies, database initialization, configuration properties, job and scheduler code, and verification of failover behavior.

JavaQuartzSpring Boot
0 likes · 14 min read
Implementing Distributed Scheduled Tasks with Quartz in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Mar 29, 2022 · Backend Development

Spring Boot Best Practices: 16 Tips for Building Robust Microservices

This article shares sixteen practical Spring Boot best‑practice recommendations—ranging from custom BOM management and auto‑configuration to proper package layout, constructor injection, concurrency awareness, externalized configuration, logging, testing, and global exception handling—to help developers build clean, maintainable Java microservices.

Spring Bootbackend developmentbest practices
0 likes · 13 min read
Spring Boot Best Practices: 16 Tips for Building Robust Microservices
Top Architect
Top Architect
Mar 28, 2022 · Backend Development

Configuring Logback for Asynchronous Logging in Spring Boot and Performance Comparison

This article explains how to configure Logback in a Spring Boot application to separate logs by level, implement asynchronous logging with AsyncAppender, and compare performance using JMeter, demonstrating a tenfold throughput increase while providing detailed XML configuration examples and underlying implementation details.

JavaLogbackSpringBoot
0 likes · 9 min read
Configuring Logback for Asynchronous Logging in Spring Boot and Performance Comparison
Programmer DD
Programmer DD
Mar 26, 2022 · Backend Development

What’s New in Spring Boot 3.0.0 M2? Key Updates and Improvements

Spring Boot 3.0.0 M2, released on March 25, 2022, brings 50 bug fixes, documentation enhancements, and dependency updates, revisits the M1 changes such as Java 17 baseline and Jakarta EE migration, and adds features like restored EhCache 3 support, H2 Console, and improved @ConstructorBinding detection.

Jakarta EEM2 releaseSpring Boot
0 likes · 3 min read
What’s New in Spring Boot 3.0.0 M2? Key Updates and Improvements
Bitu Technology
Bitu Technology
Mar 25, 2022 · Backend Development

Recap of the March 19 Elixir Meetup – Topics, Audience Insights, and Resources

The March 19 Elixir Meetup brought together four seasoned Elixir practitioners and over 3,200 online attendees to discuss resilience with Elixir and Kubernetes, FaaS design using Arweave and LiveView, native compilation of Elixir, Zig‑based NIF development, and to share learning resources and community opportunities.

Community MeetupElixirKubernetes
0 likes · 6 min read
Recap of the March 19 Elixir Meetup – Topics, Audience Insights, and Resources
Java Interview Crash Guide
Java Interview Crash Guide
Mar 22, 2022 · Backend Development

Ensuring API Idempotency: Why It Matters and How to Implement It

This article explains the concept of API idempotency, why duplicate requests can cause critical issues such as double payments, and presents a comprehensive set of client‑side and server‑side strategies—including token mechanisms, PRG pattern, unique indexes, optimistic locking, distributed locks, and more—to guarantee safe, repeatable operations.

API idempotencyDuplicate RequestsOptimistic Lock
0 likes · 9 min read
Ensuring API Idempotency: Why It Matters and How to Implement It
Top Architect
Top Architect
Mar 21, 2022 · Backend Development

Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas

This article explains how Java objects store behavior in the method area, introduces the java.lang.instrument.Instrumentation API for redefining classes at runtime, and demonstrates practical dynamic tracing techniques using BTrace and Arthas, complete with code examples and architectural insights.

BTraceJavabackend development
0 likes · 16 min read
Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas
Top Architect
Top Architect
Mar 21, 2022 · Backend Development

How Spring Resolves Bean Circular Dependencies with a Three‑Level Cache

This article explains Spring's bean lifecycle, the three‑level cache mechanism (singletonObjects, earlySingletonObjects, singletonFactories) used to break circular dependencies, the role of Aware interfaces and BeanPostProcessor, and why a second‑level cache is essential when AOP proxies are involved.

AOPBean LifecycleSpring
0 likes · 9 min read
How Spring Resolves Bean Circular Dependencies with a Three‑Level Cache
Top Architect
Top Architect
Mar 19, 2022 · Backend Development

Handling Multiple Content Types (JSON, Form, Form-Data) in Spring MVC with Custom Annotations

This article explains how to make a Spring MVC endpoint simultaneously accept JSON, URL‑encoded form data, and multipart/form‑data by creating a custom @GamePHP annotation, implementing dedicated argument resolvers, and configuring the necessary beans to replace the default @RequestBody and @RequestParam handling.

Content-TypeCustom AnnotationJava
0 likes · 7 min read
Handling Multiple Content Types (JSON, Form, Form-Data) in Spring MVC with Custom Annotations
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 18, 2022 · Backend Development

Building a Distributed Multi‑Tenant Database with Django, Postgres, and Citus

This guide demonstrates how to build a distributed multi‑tenant database using Django with Postgres and Citus, covering installation, supported Django versions, model modifications via mixins or inheritance, middleware for tenant context, automatic composite foreign keys, and the library’s API with concrete code examples.

CitusDjangoPostgreSQL
0 likes · 8 min read
Building a Distributed Multi‑Tenant Database with Django, Postgres, and Citus
Java Backend Technology
Java Backend Technology
Mar 18, 2022 · Backend Development

Why @Configuration @Bean Overrides @Component in Spring Boot 2.0.3

An in‑depth analysis shows that in Spring Boot 2.0.3 a @Configuration class defining a @Bean can override a @Component‑annotated bean of the same type, how the Spring container registers and replaces the bean definitions, and the evolution of bean‑overriding controls in later Spring and Spring Boot releases.

Bean OverridingComponentDependency Injection
0 likes · 8 min read
Why @Configuration @Bean Overrides @Component in Spring Boot 2.0.3
macrozheng
macrozheng
Mar 17, 2022 · Backend Development

How to Upgrade Spring Boot to 2.6.x Without Circular Dependency and Swagger Issues

This article walks through upgrading a Spring Boot project to version 2.6.x, explains why circular bean dependencies and Swagger failures occur after the upgrade, and provides step‑by‑step configuration changes—including allowing circular references, using @Lazy, and adjusting MVC path‑matching—to resolve the problems.

Spring BootSwaggerbackend development
0 likes · 7 min read
How to Upgrade Spring Boot to 2.6.x Without Circular Dependency and Swagger Issues
IT Services Circle
IT Services Circle
Mar 16, 2022 · Backend Development

Introducing the Go Generic Utility Library samber/lo

This article introduces the open‑source Go generic utility library samber/lo, explains how to install Go 1.18 beta and the library, and demonstrates common operations such as type conversion, concurrent processing, containment checks, filtering, deduplication, grouping, chunking, and ternary-like expressions with concise code examples.

GenericsGobackend development
0 likes · 7 min read
Introducing the Go Generic Utility Library samber/lo
21CTO
21CTO
Mar 16, 2022 · Backend Development

What’s New in Go 1.18? Fuzz Testing, Generics, and 20% Performance Boost

Google’s Go 1.18 release introduces native fuzz testing, generics support, module workspaces, and up to 20% performance gains on ARM64 and Apple M1, enhancing security and productivity for developers while reinforcing Go’s pivotal role in cloud‑native projects like Kubernetes and Docker.

GenericsGoGo 1.18
0 likes · 5 min read
What’s New in Go 1.18? Fuzz Testing, Generics, and 20% Performance Boost
Programmer DD
Programmer DD
Mar 16, 2022 · Backend Development

How to Use a Custom Annotation for Anonymous Access in Spring Security

This article explains two Spring Security configuration approaches, introduces a custom @IgnoreAuth annotation, and shows how to automatically whitelist annotated endpoints by scanning RequestMappingHandlerMapping, complete with code examples and workflow details.

Anonymous AccessCustom AnnotationJava
0 likes · 10 min read
How to Use a Custom Annotation for Anonymous Access in Spring Security
macrozheng
macrozheng
Mar 16, 2022 · Backend Development

Build a Mini Spring IoC Container in 5 Minutes: Hands‑On Tutorial

This article walks through the fundamentals of Spring’s IoC container by manually implementing a lightweight version, covering concepts such as IOC, DI, bean definitions, resource loading, bean registration, and a simple BeanFactory with example code and a test demonstrating singleton caching.

BeanFactoryDependency InjectionIOC
0 likes · 10 min read
Build a Mini Spring IoC Container in 5 Minutes: Hands‑On Tutorial
Xianyu Technology
Xianyu Technology
Mar 15, 2022 · Backend Development

Design and Implementation of Extensible Hook Modules in the Luxury Platform

The Luxury strategy‑center platform solves extensibility by defining a unified hook interface using the Adapter pattern, schema‑driven forms, and flat key‑value outputs, allowing operators to configure third‑party integrations via visual mappings without code changes, cutting integration time to half a day and fostering reusable assets.

Adapter Patternbackend developmenthook module
0 likes · 9 min read
Design and Implementation of Extensible Hook Modules in the Luxury Platform
Programmer DD
Programmer DD
Mar 15, 2022 · Backend Development

Essential Java Books Every Backend Engineer Should Read

This guide highlights the most influential Java books—from core language fundamentals and JVM internals to concurrency and effective coding practices—explaining why each title is vital for building a solid backend development skill set.

JVMJavabackend development
0 likes · 8 min read
Essential Java Books Every Backend Engineer Should Read
Ziru Technology
Ziru Technology
Mar 15, 2022 · Backend Development

Unlocking Java Concurrency: How CountDownLatch Works Inside JDK 1.8

This article explores the inner workings of Java’s CountDownLatch from JDK 1.8, detailing its core concepts such as the counter, thread synchronization, shared mode, and AQS mechanisms, and demonstrates practical usage through step‑by‑step code analysis and examples.

AQSCountDownLatchJava
0 likes · 5 min read
Unlocking Java Concurrency: How CountDownLatch Works Inside JDK 1.8
Java Interview Crash Guide
Java Interview Crash Guide
Mar 14, 2022 · Backend Development

Master Spring Boot: Core Concepts, Configurations, and Best Practices

An extensive SpringBoot guide covering its definition, benefits, core configuration files and formats, main annotations, activation methods, container independence, run options, auto‑configuration mechanics, new 2.x features, pagination, security, ActiveMQ, YAML, Actuator, Swagger, exception handling, request mapping nuances, legacy compatibility, protection strategies, executable jar differences, and task scheduling.

ActuatorJavaSpringBoot
0 likes · 10 min read
Master Spring Boot: Core Concepts, Configurations, and Best Practices
Top Architect
Top Architect
Mar 11, 2022 · Backend Development

Understanding Nacos Architecture and Service Registration in Spring Cloud

This article explains the internal architecture of Nacos, its core components, the registration principles of service instances, how Spring Cloud integrates Nacos through the ServiceRegistry interface and auto‑configuration, and the mechanisms for heartbeat, data consistency, and dynamic service discovery in a cloud‑native backend environment.

NacosSpring Cloudbackend development
0 likes · 8 min read
Understanding Nacos Architecture and Service Registration in Spring Cloud
YunZhu Net Technology Team
YunZhu Net Technology Team
Mar 10, 2022 · Backend Development

Elegant Solution for MyBatis Single‑Table Operations with MyBatis‑Pro Framework

The article introduces MyBatis‑Pro, a Spring‑Boot starter that eliminates manual single‑table SQL by generating CRUD methods through naming conventions, explains quick integration, core features, configuration options, entity annotations, logical‑delete strategies, generic services, and provides extensive code examples for developers.

JavaMyBatisORM
0 likes · 17 min read
Elegant Solution for MyBatis Single‑Table Operations with MyBatis‑Pro Framework
Architects' Tech Alliance
Architects' Tech Alliance
Mar 8, 2022 · Backend Development

30 Architectural Principles for Software Engineers

The article presents thirty practical architectural principles—ranging from simplicity, YAGNI, iterative development, automated testing, and ROI to server concurrency, distributed system design, user experience, and configuration management—aimed at guiding engineers and teams toward robust, scalable, and maintainable software solutions.

backend developmentconcurrencydesign principles
0 likes · 10 min read
30 Architectural Principles for Software Engineers
Alipay Experience Technology
Alipay Experience Technology
Mar 8, 2022 · Backend Development

Mastering EggJS: From Reusable Code to Scalable Plugins and Custom Frameworks

This article walks through EggJS’s core design principles, demonstrates building a simple GitHub aggregation API, shows how to evolve reusable code into plugins and custom frameworks, and explains progressive development practices for large‑scale enterprise applications, highlighting configuration, plugin management, and framework layering.

Node.jsbackend developmentcustom-framework
0 likes · 13 min read
Mastering EggJS: From Reusable Code to Scalable Plugins and Custom Frameworks
NiuNiu MaTe
NiuNiu MaTe
Mar 8, 2022 · Backend Development

How a Junior Engineer Landed a Tencent Backend Offer: Interview Experience & Tips

This article shares a junior engineer's detailed journey of securing a backend engineering offer at Tencent, covering three interview rounds, key technical topics like Spring, HashMap, Elasticsearch, Redis, and personal reflections on strengths, weaknesses, and preparation strategies.

ElasticsearchInterview ExperienceJava
0 likes · 5 min read
How a Junior Engineer Landed a Tencent Backend Offer: Interview Experience & Tips
Programmer DD
Programmer DD
Mar 7, 2022 · Backend Development

Why Spring Cloud Gateway Returns Duplicate CORS Headers and How to Fix It

This article explains why Spring Cloud Gateway may emit duplicate Access-Control-Allow-Origin and Vary headers during CORS handling, analyzes the internal processing flow, and provides two practical solutions—using DedupeResponseHeader configuration or a custom GlobalFilter—to eliminate the duplication.

CORSJavaSpring Boot
0 likes · 12 min read
Why Spring Cloud Gateway Returns Duplicate CORS Headers and How to Fix It
Architecture Digest
Architecture Digest
Mar 7, 2022 · Backend Development

Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot

This article explains how to replace inefficient traditional delay mechanisms with RabbitMQ's delayed‑queue plugin, showing step‑by‑step configuration, producer and consumer code in Spring Boot, and demonstrates successful delayed message delivery using real‑world examples such as auto‑confirm orders and ticket reservations.

Message QueueRabbitMQSpring Boot
0 likes · 8 min read
Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot
Java Interview Crash Guide
Java Interview Crash Guide
Mar 4, 2022 · Backend Development

Why Use Message Queues? Scenarios, Pros, Cons, and HA Strategies

This article explains the fundamentals of message queues, their typical use cases such as decoupling, asynchronous processing, and traffic shaping, compares popular MQ products, and outlines best practices for high availability, loss prevention, idempotency, ordering, backlog handling, and expiration management.

Message QueueRabbitMQRocketMQ
0 likes · 8 min read
Why Use Message Queues? Scenarios, Pros, Cons, and HA Strategies
Java Captain
Java Captain
Mar 2, 2022 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

This article explains how using the uppercase YYYY pattern in Java's SimpleDateFormat can incorrectly shift dates to the next year for week‑based years, demonstrates the issue with sample code, and provides guidance to avoid this subtle bug in date handling.

Javabackend developmentbug prevention
0 likes · 4 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
macrozheng
macrozheng
Mar 2, 2022 · Backend Development

Boost Your Search Capabilities with RediSearch and RedisJSON – A Hands‑On Guide

This guide introduces RedisMod’s enhanced modules, shows how to install Redis with Docker, demonstrates native JSON storage using RedisJSON, walks through building and querying a full‑text search index with RediSearch—including Chinese support—and compares its performance against Elasticsearch.

DockerRediSearchRedis
0 likes · 8 min read
Boost Your Search Capabilities with RediSearch and RedisJSON – A Hands‑On Guide
IT Architects Alliance
IT Architects Alliance
Feb 27, 2022 · Backend Development

Inside Redis: How Its Single‑Threaded Event Loop Works

This article walks through Redis’s annotated source code to explain how its single‑threaded architecture initializes the server, loads configuration and data, and continuously processes file and time events within a while‑loop, revealing why Redis achieves high performance without spawning additional worker threads.

C++Redisbackend development
0 likes · 9 min read
Inside Redis: How Its Single‑Threaded Event Loop Works
Top Architect
Top Architect
Feb 27, 2022 · Backend Development

Analyzing Redis' Single‑Threaded Model and Event Loop from Source Code

This article examines Redis's single‑threaded architecture by walking through its source code, detailing the main function initialization steps, the event‑loop implementation, and how file and time events are processed, while also noting the promotional messages interspersed throughout.

C languageRedisSingle‑threaded
0 likes · 12 min read
Analyzing Redis' Single‑Threaded Model and Event Loop from Source Code
Java Captain
Java Captain
Feb 24, 2022 · Backend Development

How Spring Solves Bean Circular Dependencies Using a Three-Level Cache

This article explains how Spring's bean lifecycle and its three-level caching mechanism—singletonObjects, earlySingletonObjects, and singletonFactories—work together to resolve circular dependencies, especially when AOP proxies are involved, highlighting why a three‑cache approach is necessary.

AOPBean LifecycleSpring
0 likes · 9 min read
How Spring Solves Bean Circular Dependencies Using a Three-Level Cache
Open Source Linux
Open Source Linux
Feb 24, 2022 · Backend Development

Mastering Nginx: Core Concepts, Configuration, and Performance Techniques

This comprehensive guide explains what Nginx is, its key advantages, typical use cases, request processing flow, high‑concurrency model, proxy types, directory layout, configuration directives, load‑balancing strategies, rate‑limiting, compression, health checks, and differences from Apache, providing practical examples and code snippets for backend developers.

Nginxbackend developmentconfiguration
0 likes · 28 min read
Mastering Nginx: Core Concepts, Configuration, and Performance Techniques
Code Ape Tech Column
Code Ape Tech Column
Feb 23, 2022 · Backend Development

Design and Implementation of Delayed Message Queues in Distributed Systems

This article examines various delayed‑message implementations in distributed message‑queue systems, comparing external‑storage approaches using databases, RocksDB and Redis, and reviewing built‑in solutions in open‑source MQs such as RocketMQ, Pulsar and QMQ, while discussing their advantages, drawbacks and design considerations.

PulsarRedisRocketMQ
0 likes · 15 min read
Design and Implementation of Delayed Message Queues in Distributed Systems
Zhuanzhuan Tech
Zhuanzhuan Tech
Feb 23, 2022 · Backend Development

Go Error Handling Practices in ZuanZuan Operations: Usage and Management

This article explains how ZuanZuan's operations team applies Go's error handling mechanisms—including error values, panic/recover, sentinel errors, and custom error types—along with practical guidelines and code examples to improve reliability and maintainability of production services.

Gobackend developmenterror handling
0 likes · 13 min read
Go Error Handling Practices in ZuanZuan Operations: Usage and Management
Java Backend Technology
Java Backend Technology
Feb 22, 2022 · Backend Development

Mastering Redis: 16 Real-World Patterns for Caching, Locks, Queues, and More

This article presents 16 practical Redis use cases—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tags, filtering, follow relationships, and ranking—detailing data types, commands, and implementation tips for building scalable backend services.

BitmapsMessage QueueRedis
0 likes · 10 min read
Mastering Redis: 16 Real-World Patterns for Caching, Locks, Queues, and More
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Feb 21, 2022 · Backend Development

Design and Implementation of an Online Customer Service Instant Messaging System

This article details the design and implementation of an online customer service instant messaging system, covering requirements analysis, client‑server network model, HTTP and WebSocket protocols, distributed architecture choices such as routing rules, Redis shared memory, server‑master sync, and message‑queue broadcasting, and explains why Netty was selected as the development framework.

Message QueueNettyRedis
0 likes · 17 min read
Design and Implementation of an Online Customer Service Instant Messaging System
Programmer DD
Programmer DD
Feb 21, 2022 · Backend Development

Mastering Redis Rate Limiting: 3 Practical Techniques for High‑Concurrency Backends

This article explains three Redis‑based rate‑limiting techniques—setnx with expiration, a sliding‑window implementation using sorted sets, and a token‑bucket algorithm with lists—complete with Java code examples and discussion of their advantages and limitations for high‑concurrency backend services.

JavaRedisbackend development
0 likes · 7 min read
Mastering Redis Rate Limiting: 3 Practical Techniques for High‑Concurrency Backends
Java Architect Essentials
Java Architect Essentials
Feb 18, 2022 · Backend Development

Comparison of Java Microservice Frameworks: Spring Boot, Spring Cloud, Vert.x, and Other Lightweight Options

The article compares popular Java microservice frameworks, highlighting Spring Boot's ease of use but high memory consumption, Vert.x's lightweight performance, and the characteristics of SparkJava, Micronaut, Javalin, and Quarkus, while also noting required infrastructure components for Spring Cloud.

Spring BootVert.xbackend development
0 likes · 6 min read
Comparison of Java Microservice Frameworks: Spring Boot, Spring Cloud, Vert.x, and Other Lightweight Options
Selected Java Interview Questions
Selected Java Interview Questions
Feb 18, 2022 · Backend Development

Implementing a WebSocket Chat Application with Spring Boot

This tutorial explains the advantages of WebSocket over HTTP and provides a step‑by‑step guide, including Maven dependency, Spring Boot configuration, a ServerEndpoint class, a simple HTML/JavaScript front‑end, and a controller method, to build a real‑time chat system with online/offline notifications and private or broadcast messaging.

JavaSpring BootWebSocket
0 likes · 10 min read
Implementing a WebSocket Chat Application with Spring Boot