Tagged articles
692 articles
Page 4 of 7
Code Ape Tech Column
Code Ape Tech Column
Feb 24, 2023 · Backend Development

Comprehensive Guide to Using OpenFeign in Spring Cloud: Configuration, Parameter Passing, Timeout, Logging, and Advanced Features

This article provides a detailed tutorial on OpenFeign, covering its purpose, differences from Feign, environment setup, service provider and consumer creation, various parameter passing methods, timeout handling, logging configuration, HTTP client replacement, GZIP compression, and Sentinel-based circuit breaking, while also including practical code examples and configuration snippets.

MicroservicesOpenFeignSpring Cloud
0 likes · 17 min read
Comprehensive Guide to Using OpenFeign in Spring Cloud: Configuration, Parameter Passing, Timeout, Logging, and Advanced Features
Architect
Architect
Feb 22, 2023 · Backend Development

Custom Logback Desensitization Component (slf4j + logback) – Usage and Configuration Guide

This article explains how to securely mask sensitive data in log output by using either a conversionRule tag with MessageConverter or a custom utility class, and provides a step‑by‑step guide to integrate a reusable Logback desensitization component with Maven dependency, appender replacement, and YAML configuration.

ConfigurationSecuritydesensitization
0 likes · 10 min read
Custom Logback Desensitization Component (slf4j + logback) – Usage and Configuration Guide
Python Programming Learning Circle
Python Programming Learning Circle
Feb 21, 2023 · Fundamentals

New Python Standard Library Features: pathlib, secrets, zoneinfo, dataclasses, logging, f‑strings, tomllib, and setuptools

This article introduces the most useful additions and modern replacements in recent Python releases—including pathlib, the secrets module, zoneinfo, dataclasses, proper logging, f‑strings, the built‑in tomllib, and the transition from distutils to setuptools—showing why and how to adopt them in everyday code.

Pythondataclassesf-strings
0 likes · 15 min read
New Python Standard Library Features: pathlib, secrets, zoneinfo, dataclasses, logging, f‑strings, tomllib, and setuptools
Baidu Geek Talk
Baidu Geek Talk
Feb 20, 2023 · Operations

Deep Dive into Logging Operations and Observability in Distributed Systems

The article examines logging’s critical role in distributed systems, detailing its purpose, severity levels, and value for debugging, performance, security, and auditing, while highlighting challenges of inconsistent formats and traceability, and reviewing observability pillars, ELK and tracing tools, and practical implementation best practices.

APMELKPrometheus
0 likes · 19 min read
Deep Dive into Logging Operations and Observability in Distributed Systems
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 13, 2023 · Backend Development

How NEMichelinCache Cuts Crashes and Boosts Performance in Cross‑Platform RN/H5 Apps

The article details the design and implementation of NEMichelinCache, a cross‑platform cache library for React Native and H5, explaining the problems of the legacy cache, the architectural choices made, the modules introduced, and the measurable improvements in stability and speed achieved after deployment.

CacheReact Nativearchitecture
0 likes · 12 min read
How NEMichelinCache Cuts Crashes and Boosts Performance in Cross‑Platform RN/H5 Apps
Java Architect Essentials
Java Architect Essentials
Feb 10, 2023 · Backend Development

Using MDC for TraceId Propagation in Java Backend Applications

This article explains what MDC (Mapped Diagnostic Context) is, outlines its API, demonstrates how to configure logging and interceptors, and provides concrete solutions—including a custom thread‑pool wrapper and HTTP client interceptors—to ensure TraceId is correctly propagated across threads and remote calls in Java backend systems.

InterceptorThreadPoollogging
0 likes · 12 min read
Using MDC for TraceId Propagation in Java Backend Applications
dbaplus Community
dbaplus Community
Jan 26, 2023 · Operations

Unified Metrics, Tracing, and Logging: A Financial Firm’s Path to Microservice Observability

Facing the challenges of distributed microservice architectures, a financial services company implemented a unified observability platform that combines metrics, tracing, and logging via OpenTelemetry and custom agents, enabling real‑time visualization, anomaly detection, and performance analysis across seven core business middle‑platforms.

Distributed TracingMetricsMicroservices
0 likes · 17 min read
Unified Metrics, Tracing, and Logging: A Financial Firm’s Path to Microservice Observability
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Jan 16, 2023 · Backend Development

Design and Implementation of a Business‑Facing Message Center Management Platform

The platform centralizes message‑center management for e‑commerce by adding end‑to‑end tracing, real‑time metrics, and unified logging, enabling business users to query message links, view dashboards, automate retries and approvals, dramatically reducing manual monitoring, improving completion rates above 90%, and paving the way for cost‑optimized, data‑driven operations.

DevOpsMetricslogging
0 likes · 15 min read
Design and Implementation of a Business‑Facing Message Center Management Platform
MaGe Linux Operations
MaGe Linux Operations
Jan 15, 2023 · Operations

How to Slim Down Your Application Logs by Up to 80%

This article explains why oversized logs hurt system performance, then presents a step‑by‑step methodology—including printing only necessary logs, merging duplicate entries, and simplifying payloads—illustrated with real Java code and a concrete case study that reduces daily log volume from 5 GB to under 1 GB.

JavaOperationsdebug
0 likes · 8 min read
How to Slim Down Your Application Logs by Up to 80%
DeWu Technology
DeWu Technology
Jan 6, 2023 · Backend Development

Coding Standards and Best Practices for Backend Development

The guide defines backend coding standards and best practices, specifying clear naming conventions for classes, methods, variables and constants, enforcing consistent code style via .editorconfig, recommending unchecked exceptions for simpler error handling, promoting structured asynchronous logging with trace IDs, and outlining performance optimizations such as loop refinement, CompletableFuture concurrency, and proper resource management to prevent memory leaks.

Backend DevelopmentException Handlingbest practices
0 likes · 16 min read
Coding Standards and Best Practices for Backend Development
Top Architect
Top Architect
Dec 31, 2022 · Cloud Native

Comprehensive Guide to Spring Cloud Sleuth and Zipkin for Distributed Tracing

This article provides a detailed tutorial on using Spring Cloud Sleuth with Zipkin to monitor and troubleshoot distributed micro‑service calls, covering concepts, configuration, Maven dependencies, YAML settings, controller examples, RabbitMQ integration, logback adjustments, and alternative tracing solutions.

MicroservicesRabbitMQSpring Boot
0 likes · 19 min read
Comprehensive Guide to Spring Cloud Sleuth and Zipkin for Distributed Tracing
Efficient Ops
Efficient Ops
Dec 14, 2022 · Operations

How to Build a Scalable Container Log Collection System with S6 and Filebeat

This article explains Docker and Kubernetes container logging fundamentals, highlights the limitations of default json‑file logging, and presents a unified log‑collection architecture using S6‑based images, filebeat, logrotate, Kafka, and Elasticsearch, with practical steps for dynamic configuration and log rotation in a k8s cluster.

DockerFilebeatKubernetes
0 likes · 9 min read
How to Build a Scalable Container Log Collection System with S6 and Filebeat
macrozheng
macrozheng
Dec 12, 2022 · Backend Development

Designing Secure, Reliable APIs: Signatures, Encryption, Rate Limiting & More

Learn how to design robust, secure API interfaces by implementing signatures, encryption, IP whitelists, rate limiting, parameter validation, unified responses, exception handling, logging, idempotency, request size limits, load testing, asynchronous processing, data masking, and comprehensive documentation to ensure stability and safety.

DocumentationIdempotencySecurity
0 likes · 15 min read
Designing Secure, Reliable APIs: Signatures, Encryption, Rate Limiting & More
Code Ape Tech Column
Code Ape Tech Column
Dec 12, 2022 · Fundamentals

JVM GC Log Analysis and Tuning Practice

This article explains how to enable detailed GC logging in the JVM, interpret both Young and Full GC log entries, configure heap parameters, and use the online visualizer gceasy.io to analyze performance metrics such as throughput, pause latency, and memory usage for effective JVM tuning.

JVMJavaTuning
0 likes · 9 min read
JVM GC Log Analysis and Tuning Practice
Su San Talks Tech
Su San Talks Tech
Dec 12, 2022 · Backend Development

Designing Secure and Robust APIs: Signatures, Encryption, Rate Limiting, and More

This article outlines essential practices for building secure, reliable API interfaces—including request signing, data encryption, IP whitelisting, rate limiting, parameter validation, unified responses, exception handling, logging, idempotency, payload limits, performance testing, asynchronous processing, data masking, and comprehensive documentation—to help developers meet safety, stability, and maintainability requirements.

IdempotencySecurityapi-design
0 likes · 15 min read
Designing Secure and Robust APIs: Signatures, Encryption, Rate Limiting, and More
IT Xianyu
IT Xianyu
Dec 2, 2022 · Databases

How MySQL InnoDB Implements ACID: Locks, MVCC, and Logging

This article explains how MySQL's InnoDB engine guarantees ACID properties by describing the four components of ACID, the four isolation levels, lock granularity and types, the MVCC mechanism with version chains and read views, and the roles of undo, redo, and bin logs in ensuring atomicity, consistency, isolation, and durability.

ACIDInnoDBLock
0 likes · 14 min read
How MySQL InnoDB Implements ACID: Locks, MVCC, and Logging
Xianyu Technology
Xianyu Technology
Nov 29, 2022 · Backend Development

Lombok @Builder JSON Conflict, Dynamic Log Levels, JWT Overview, and Java 8 parallelStream Tips

The brief explains how Lombok’s @Builder can clash with JSON libraries and how adding no‑args and all‑args constructors resolves it, shows how to adjust log levels at runtime via Arthas or Spring’s LoggingSystem, outlines JWT structure and security cautions, and warns of common Java 8 parallelStream performance and correctness pitfalls.

JSONJWTJava
0 likes · 9 min read
Lombok @Builder JSON Conflict, Dynamic Log Levels, JWT Overview, and Java 8 parallelStream Tips
Code Ape Tech Column
Code Ape Tech Column
Nov 18, 2022 · Backend Development

Using SLF4J MDC to Correlate Logs Across Threads and Asynchronous Tasks in Java

This article explains how to use SLF4J's MDC to attach a request identifier to log entries, demonstrates the limitation of MDC in asynchronous threads, and provides a decorator‑pattern solution (MDCRunnable) that propagates the context, enabling reliable log correlation across threads in Java backend applications.

BackendDecoratorPatternJava
0 likes · 10 min read
Using SLF4J MDC to Correlate Logs Across Threads and Asynchronous Tasks in Java
Programmer DD
Programmer DD
Nov 14, 2022 · Backend Development

Master Spring Boot Logging: From SLF4J Basics to Advanced Configuration

This tutorial explains how Spring Boot handles logging with Commons Logging, demonstrates using SLF4J as a facade, shows a complete code example, and covers configuring log output, levels, color, file rotation, and custom patterns for effective backend logging.

ConfigurationSpring Bootlogback
0 likes · 11 min read
Master Spring Boot Logging: From SLF4J Basics to Advanced Configuration
dbaplus Community
dbaplus Community
Oct 15, 2022 · Databases

What’s New in PostgreSQL 15? Performance Boosts, New SQL Features, and Enhanced Replication

PostgreSQL 15, released on October 13 2022, brings major performance gains such as faster sorting and WAL compression, adds the SQL MERGE command, expands regex and multirange support, improves security with security_invoker, and enhances logical replication, logging, and configuration flexibility for modern data workloads.

SQL featuresloggingperformance
0 likes · 6 min read
What’s New in PostgreSQL 15? Performance Boosts, New SQL Features, and Enhanced Replication
ITPUB
ITPUB
Oct 5, 2022 · Backend Development

Implement End-to-End Log Traceability in Spring Cloud Microservices with MDC

This article explains how to build a Spring Cloud‑based microservice framework and add full‑stack log traceability by generating a traceId, propagating it via MDC and interceptors, and visualizing the linked logs through ELK, covering both intra‑process and inter‑service scenarios.

ELKOpenFeignSpring Cloud
0 likes · 9 min read
Implement End-to-End Log Traceability in Spring Cloud Microservices with MDC
dbaplus Community
dbaplus Community
Aug 24, 2022 · Backend Development

From Monolith to Microservices: Transforming an Online Supermarket

This article walks through the evolution of an online supermarket from a simple monolithic web app to a fully fledged microservice architecture, detailing the motivations, design decisions, component breakdown, common pitfalls, and essential practices such as monitoring, tracing, logging, service discovery, resilience patterns, testing, and the role of service meshes.

MicroservicesService Meshcircuit breaker
0 likes · 24 min read
From Monolith to Microservices: Transforming an Online Supermarket
Senior Brother's Insights
Senior Brother's Insights
Aug 22, 2022 · Backend Development

Mastering Log Practices: From Levels to Formats for Reliable Backend Systems

Effective logging is essential for debugging, performance monitoring, and compliance, and this guide explains why developers should adopt good logging habits, outlines key log purposes, requirements for readability, performance, storage, timeliness, levels, content, and format, and provides concrete Log4j examples and code snippets.

Code Exampleslog formatlog levels
0 likes · 14 min read
Mastering Log Practices: From Levels to Formats for Reliable Backend Systems
Java High-Performance Architecture
Java High-Performance Architecture
Aug 21, 2022 · Backend Development

Master Spring Boot Logging: Configure Logback & SLF4J for Powerful Log Management

This guide explains why Logback is the preferred logging framework for Spring Boot, shows how to add the necessary dependencies, configure console and file appenders, customize log patterns, use rolling policies, apply filters, and optimize logging statements with placeholders, all illustrated with clean XML and Java code examples.

JavaSpring BootXML
0 likes · 23 min read
Master Spring Boot Logging: Configure Logback & SLF4J for Powerful Log Management
Architecture Digest
Architecture Digest
Aug 8, 2022 · Operations

Log Shrinking Techniques and Case Study for Reducing Log Size

This article explains why oversized logs hurt system performance, presents three practical log‑shrinking strategies—printing only necessary logs, merging duplicate entries, and simplifying content—illustrates them with Java code snippets, and evaluates their impact through a real‑world case that cuts daily log volume from 5 GB to under 1 GB.

BackendOperationslog optimization
0 likes · 7 min read
Log Shrinking Techniques and Case Study for Reducing Log Size
Wukong Talks Architecture
Wukong Talks Architecture
Aug 8, 2022 · Databases

How to Handle Slow Queries in Redis: Logs, Commands, and Best Practices

To diagnose and resolve Redis slow queries, this guide explains how to retrieve and manage the slow query log, understand command complexities, replace inefficient commands with optimized alternatives, and configure slowlog settings such as slowlog‑max‑len and slowlog‑log‑slower‑than for production environments.

loggingslow-query
0 likes · 5 min read
How to Handle Slow Queries in Redis: Logs, Commands, and Best Practices
Efficient Ops
Efficient Ops
Aug 7, 2022 · Operations

Master Fluentd: From Docker Logs to Structured Data Pipelines

This article explains how Fluentd works in distributed and containerized environments, walks through its core concepts of input, filter, and output plugins, and provides a step‑by‑step Docker demo that collects, filters, parses, and stores Kubernetes application logs for further analysis.

ConfigurationDockerFluentd
0 likes · 14 min read
Master Fluentd: From Docker Logs to Structured Data Pipelines
IT Architects Alliance
IT Architects Alliance
Aug 6, 2022 · Backend Development

Practical Coding Tips: Kafka Transaction Commit, Redis Distributed Lock Simplification, AOP Lock Annotation, and Business Log Decoupling

This article shares practical development techniques, including how to safely commit Kafka messages within transactions, simplify Redis distributed locks with Redisson, implement an AOP‑based lock annotation for method-level locking, and decouple business logging using asynchronous thread pools and helper utilities.

JavaKafkaaop
0 likes · 14 min read
Practical Coding Tips: Kafka Transaction Commit, Redis Distributed Lock Simplification, AOP Lock Annotation, and Business Log Decoupling
Java Captain
Java Captain
Jul 30, 2022 · Fundamentals

Best Practices for Writing Application Logs and Understanding Log Levels

This article explains why proper logging is essential for software maintenance, outlines the purposes of logs, describes the requirements for readable, performant, and space‑efficient log output, and details Log4j components, log‑level hierarchy, and concrete code examples for TRACE, INFO, DEBUG, WARN, and ERROR logging.

log levelslog4jlogging
0 likes · 16 min read
Best Practices for Writing Application Logs and Understanding Log Levels
Meituan Technology Team
Meituan Technology Team
Jul 28, 2022 · Backend Development

Analyzing Log4j2 Thread Blocking Issues and Best Practices

The article examines how Log4j2’s AsyncAppender can block threads when its default 128‑entry queue fills, because creating LogEvent snapshots triggers ThrowableProxy parsing that loads reflective and lambda‑generated classes, causing class‑loader bottlenecks, and recommends custom async appenders, disabling reflection inflation, using synchronous loggers, and proper configuration to avoid these delays.

JavaReflectionasync appender
0 likes · 51 min read
Analyzing Log4j2 Thread Blocking Issues and Best Practices
Architecture Digest
Architecture Digest
Jul 24, 2022 · Backend Development

Logging Best Practices and Log4j Log Levels in Software Development

This article explains the importance of proper logging in software, outlines common logging requirements such as readability, performance, disk usage, and timeliness, and details Log4j components, log level definitions, hierarchy, recommended usage, and provides concrete macro and log‑statement examples.

Backendbest practiceslog levels
0 likes · 15 min read
Logging Best Practices and Log4j Log Levels in Software Development
Selected Java Interview Questions
Selected Java Interview Questions
Jul 23, 2022 · Backend Development

Log Reduction Techniques for Backend Systems

This article discusses practical methods for reducing log volume in backend applications, including printing only necessary logs, merging log entries, simplifying messages, and applying these techniques in a real-world Java case to shrink daily log size from several gigabytes to under one gigabyte while preserving debugging capability.

BackendInFOJava
0 likes · 7 min read
Log Reduction Techniques for Backend Systems
Architect
Architect
Jul 19, 2022 · Information Security

Custom Logback Desensitization Component: Configuration and Usage Guide

This article introduces a Logback desensitization component for Java applications, explains two common masking approaches, compares their pros and cons, and provides step‑by‑step instructions—including Maven dependency, appender replacement, YAML configuration, supported data types, matching rules, custom regex, and jar installation—to securely mask sensitive information in logs.

Securitydata maskingdesensitization
0 likes · 12 min read
Custom Logback Desensitization Component: Configuration and Usage Guide
Programmer DD
Programmer DD
Jul 13, 2022 · Backend Development

Mastering MDC in Java: Solve TraceId Loss in Multithreaded and HTTP Calls

This article explains what MDC (Mapped Diagnostic Context) is, outlines its API and advantages, demonstrates common traceId loss problems in child threads and HTTP calls, and provides practical solutions including thread‑pool wrappers, MDC utilities, and interceptors for HttpClient, OkHttp, RestTemplate, and third‑party services, plus the required log pattern.

HTTP InterceptorJavaThreadPool
0 likes · 12 min read
Mastering MDC in Java: Solve TraceId Loss in Multithreaded and HTTP Calls
Top Architect
Top Architect
Jul 9, 2022 · Operations

Introduction to Loki: Architecture, Deployment, and Usage

This article introduces Loki, Grafana Labs' open‑source, horizontally scalable log aggregation system, compares it with ELK/EFK, explains its architecture and components, and provides step‑by‑step deployment instructions with Promtail configuration and Grafana integration for Kubernetes environments.

ContainerGrafanaLoki
0 likes · 15 min read
Introduction to Loki: Architecture, Deployment, and Usage
JD Cloud Developers
JD Cloud Developers
Jul 4, 2022 · Backend Development

Master Rust Logging with log4rs: A Step-by-Step Guide

This article introduces Rust's log4rs library, explains its core concepts of appenders and loggers, and provides complete code examples for configuring system and business log files, initializing the logger, and handling command‑line log commands in a Rust application.

CLIlog4rslogging
0 likes · 4 min read
Master Rust Logging with log4rs: A Step-by-Step Guide
Cognitive Technology Team
Cognitive Technology Team
Jun 26, 2022 · Backend Development

AsyncAppender OOM, Log Loss, and Blocking Issues – Configuration Guide

The article explains how AsyncAppender uses a BlockingQueue with a default size of 256, how an oversized queue can cause OOM, how the discardingThreshold can lead to loss of TRACE/DEBUG/INFO logs, and provides configuration tips such as adjusting queueSize, setting discardingThreshold to zero, or enabling neverBlock to avoid blocking.

AsyncAppenderBlockingQueueOOM
0 likes · 5 min read
AsyncAppender OOM, Log Loss, and Blocking Issues – Configuration Guide
macrozheng
macrozheng
May 18, 2022 · Backend Development

36 Essential Tips for Designing Robust Backend APIs

This article presents 36 practical guidelines for backend engineers covering interface parameter validation, compatibility, extensibility, idempotency, logging, error handling, security, rate limiting, caching, transaction management, and more, helping you design reliable, maintainable, and high‑performance APIs across any language.

BackendIdempotencyScalability
0 likes · 30 min read
36 Essential Tips for Designing Robust Backend APIs
Architecture Digest
Architecture Digest
May 17, 2022 · Backend Development

Optimizing High‑Concurrency Services: Practical Strategies for QPS Over 200k

This article outlines practical techniques for handling online services with QPS exceeding 200,000, including avoiding relational databases, employing multi‑level caching, leveraging multithreading, implementing degradation and circuit‑breaker patterns, optimizing I/O, using controlled retries, handling edge cases, and logging efficiently.

IO optimizationcachingcircuit breaker
0 likes · 9 min read
Optimizing High‑Concurrency Services: Practical Strategies for QPS Over 200k
Open Source Linux
Open Source Linux
May 16, 2022 · Big Data

Master ELK: Build a Scalable Log Management System with Elasticsearch, Logstash, Kibana

This guide introduces the ELK stack (Elasticsearch, Logstash, Kibana, and Filebeat), explains why centralized log management is essential, details the architecture options, and provides step‑by‑step installation and configuration instructions—including a Kafka‑backed pipeline—to help you deploy a production‑grade logging solution.

ELKElasticsearchFilebeat
0 likes · 24 min read
Master ELK: Build a Scalable Log Management System with Elasticsearch, Logstash, Kibana
Tencent Cloud Developer
Tencent Cloud Developer
May 9, 2022 · Backend Development

Error Handling and ErrGroup Patterns in Go

The article explains Go’s built‑in error interface, distinguishes errors, exceptions and panics, presents three handling patterns—classic returns, stateful objects, and functional deferred execution—shows how to wrap errors for context, and demonstrates using the errgroup concurrency primitive (including an extended version) for safe parallel processing.

Backend DevelopmentError HandlingGo
0 likes · 15 min read
Error Handling and ErrGroup Patterns in Go
Python Programming Learning Circle
Python Programming Learning Circle
May 7, 2022 · Fundamentals

Using Tenacity: A Python Retry Library – Installation, Unlimited Retries, Stop Conditions, Intervals, and Logging

This article introduces the Tenacity Python library, explains how to install it, and demonstrates various retry strategies such as unlimited retries, stopping after success, limiting attempts or time, combining stop conditions, setting fixed or random wait intervals, and adding pre‑ and post‑retry logging with complete code examples.

BackoffRetrycode-example
0 likes · 5 min read
Using Tenacity: A Python Retry Library – Installation, Unlimited Retries, Stop Conditions, Intervals, and Logging
Java Backend Technology
Java Backend Technology
May 6, 2022 · Fundamentals

Mastering Log Practices: Levels, Formats, and Performance Tips

This article explains why proper logging is essential for software maintenance, outlines the purposes of logs, details best‑practice requirements such as readability, performance impact, disk usage and timeliness, and provides a comprehensive guide to Log4j components, log levels, their hierarchy, and practical code examples for each level.

Software Engineeringlog levelslog4j
0 likes · 15 min read
Mastering Log Practices: Levels, Formats, and Performance Tips
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 15, 2022 · Backend Development

Improving Testability in a High‑Throughput Push Notification System

This article describes how a high‑throughput push notification system was enhanced with a dedicated testability metric, introducing tools such as a test‑sending UI, dual synchronous‑asynchronous API handling, a reachability diagnostic utility, and end‑to‑end unique‑ID logging to streamline debugging and reduce maintenance costs.

APIbackend designdiagnostics
0 likes · 8 min read
Improving Testability in a High‑Throughput Push Notification System
DevOps
DevOps
Apr 12, 2022 · Operations

Understanding Observability: Core Concepts, SRE Methodology, AIOps, and Business Architecture

The article explains the rising importance of observability in modern operations, defines its control‑theory roots, breaks it down into metrics, traces and logs, and argues that successful implementation requires three pillars—SRE practices, AIOps algorithms, and deep business‑architecture knowledge—together with well‑designed SLOs and critical‑path mapping.

SREaiopsbusiness architecture
0 likes · 10 min read
Understanding Observability: Core Concepts, SRE Methodology, AIOps, and Business Architecture
Sohu Tech Products
Sohu Tech Products
Apr 6, 2022 · Backend Development

Using MDC for TraceId Propagation in Java Applications

This article explains what MDC (Mapped Diagnostic Context) is, shows its API and advantages, demonstrates how to add interceptors and log patterns to include a traceId, and provides solutions for traceId loss in child threads and HTTP calls by wrapping thread pools and implementing HTTP client interceptors.

HTTP InterceptorJavaThreadPool
0 likes · 11 min read
Using MDC for TraceId Propagation in Java Applications
BaiPing Technology
BaiPing Technology
Apr 4, 2022 · Backend Development

How to Sync Log4js Logs Across PM2 Processes with pm2-intercom-log4js

This article explains how to create the open‑source pm2-intercom-log4js tool to reliably synchronize log4js output in PM2’s multi‑process mode, covering log4js’s sync mechanism, PM2 process management, IPC communication, and alternative messaging approaches with practical code examples.

BackendNode.jsProcess Communication
0 likes · 17 min read
How to Sync Log4js Logs Across PM2 Processes with pm2-intercom-log4js
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 18, 2022 · Backend Development

13 Crucial Java Practices Every Developer Should Follow

This article examines fifteen common Java pitfalls and best‑practice guidelines—ranging from property copying and date formatting to HashMap sizing, thread‑pool creation, collection handling, logging, and serialization—explaining why each recommendation exists and how it impacts performance and safety.

CollectionsJavaconcurrency
0 likes · 9 min read
13 Crucial Java Practices Every Developer Should Follow
Programmer DD
Programmer DD
Mar 16, 2022 · Backend Development

Implement Custom Annotation Logging with Spring AOP

This guide explains how to create a custom annotation and an Aspect in Spring to capture detailed operation logs—including description, table name, parameters, user info, and execution result—and persist them to a database, covering AOP terminology, configuration styles, and complete code examples.

Custom AnnotationJavaaspectj
0 likes · 15 min read
Implement Custom Annotation Logging with Spring AOP
Top Architect
Top Architect
Mar 10, 2022 · Backend Development

Standardizing Log Formats and Using traceId for Faster Backend Issue Resolution

The article explains why unified log structures and traceId identifiers are essential for quickly locating bugs in high‑traffic backend services, provides a Java LogObject example, demonstrates chain‑style setters, shows how to combine request and response in one log entry, and compares manual logging with AOP‑based approaches for performance and maintainability.

BackendLogFormatlogging
0 likes · 9 min read
Standardizing Log Formats and Using traceId for Faster Backend Issue Resolution
Efficient Ops
Efficient Ops
Mar 2, 2022 · Operations

Mastering System & Application Monitoring with the USE Method and Prometheus

This article explains how to build a comprehensive monitoring system for both infrastructure and applications, introducing the USE (Utilization‑Saturation‑Errors) method, key performance metrics, and practical components such as Prometheus, Grafana, full‑link tracing, and the ELK stack to detect and diagnose performance bottlenecks.

MetricsPrometheusUSE method
0 likes · 13 min read
Mastering System & Application Monitoring with the USE Method and Prometheus
MaGe Linux Operations
MaGe Linux Operations
Feb 9, 2022 · Backend Development

Mastering Tars: Deploy, Manage, and Monitor a High‑Performance Microservice Framework

This guide provides a comprehensive overview of the Tars microservice framework, covering its core concepts, deployment methods across various environments, configuration management, service discovery, logging, monitoring, and operational features such as gray releases and circuit‑breaker strategies.

ConfigurationDeploymentMicroservices
0 likes · 18 min read
Mastering Tars: Deploy, Manage, and Monitor a High‑Performance Microservice Framework
Programmer DD
Programmer DD
Jan 11, 2022 · Operations

Building a TB‑Scale Log Monitoring System with ELK Stack and Kafka Streams

This article explains how to design and implement a terabyte‑level log monitoring platform using ELK Stack, FileBeat, Elastic APM, Kafka Streams, Prometheus, and Grafana, covering data collection, filtering, visualization, and resource‑efficient processing for large‑scale microservice environments.

ELKGrafanaLog Monitoring
0 likes · 9 min read
Building a TB‑Scale Log Monitoring System with ELK Stack and Kafka Streams
Programmer DD
Programmer DD
Dec 30, 2021 · Backend Development

Switch Spring Boot 2.x from Logback to Log4j2: Step‑by‑Step Guide

Learn how to replace Spring Boot 2.x's default Logback logging with the high‑performance Log4j2 by adding the starter dependency, configuring the logging file, and setting up a basic log4j2.xml, including code snippets and troubleshooting tips for a smooth migration.

JavaSpring BootTutorial
0 likes · 6 min read
Switch Spring Boot 2.x from Logback to Log4j2: Step‑by‑Step Guide
Programmer DD
Programmer DD
Dec 29, 2021 · Backend Development

Master Spring Boot Logging with SLF4J: Configuration, Levels, and Best Practices

This guide explains how Spring Boot handles logging through Commons Logging, recommends using SLF4J as a facade, shows code examples, details log elements, demonstrates how to enable DEBUG, configure console colors, file output, rolling policies, level control, and custom formats for effective backend logging.

Configurationdebugfile-output
0 likes · 11 min read
Master Spring Boot Logging with SLF4J: Configuration, Levels, and Best Practices
Top Architect
Top Architect
Dec 23, 2021 · Backend Development

Implementing Custom Logging with Spring AOP and Annotations

This article explains how to create a custom logging solution in Spring by defining annotation-based AOP aspects, configuring pointcuts, handling various advice types, and persisting log details such as user, operation, parameters, and results into a database using Java code examples.

Custom AnnotationJavaaop
0 likes · 14 min read
Implementing Custom Logging with Spring AOP and Annotations
Java Interview Crash Guide
Java Interview Crash Guide
Dec 21, 2021 · Backend Development

How to Implement Custom Logging with Spring AOP and Annotations

This guide explains how to create a custom Spring AOP logging solution by defining a @SystemCrmlog annotation, extracting its parameters via pointcuts, and persisting detailed log entries—including user, method, parameters, and execution results—to a database using aspect advice methods.

Custom AnnotationJavaaop
0 likes · 15 min read
How to Implement Custom Logging with Spring AOP and Annotations
Efficient Ops
Efficient Ops
Dec 20, 2021 · Cloud Native

How to Build a Scalable Kubernetes Logging System with S6 and Filebeat

This article explains Docker and Kubernetes logging challenges, compares logging drivers, and presents a unified, node‑agent based logging architecture using S6‑based containers, Filebeat, logrotate, Kafka, and Elasticsearch to achieve reliable, auto‑rotating log collection in production environments.

DockerOperationsS6
0 likes · 8 min read
How to Build a Scalable Kubernetes Logging System with S6 and Filebeat
Laravel Tech Community
Laravel Tech Community
Dec 19, 2021 · Information Security

Apache Log4j 2.17.0 Release Fixes CVE‑2021‑45105 and Other Vulnerabilities

Apache Log4j 2.17.0 has been released, addressing CVE‑2021‑45105 and fixing recursive string‑replacement vulnerabilities that could cause StackOverflowError DoS attacks, while also tightening JNDI usage and correcting several configuration and appender issues, with recommended mitigation steps for earlier versions.

CVE-2021-45105DoSJava
0 likes · 4 min read
Apache Log4j 2.17.0 Release Fixes CVE‑2021‑45105 and Other Vulnerabilities
Selected Java Interview Questions
Selected Java Interview Questions
Dec 12, 2021 · Backend Development

MDC and TraceId Propagation in Java Backend Applications

This article explains what MDC is, the problems it faces such as traceId loss in child threads and HTTP calls, and provides concrete solutions including interceptor implementation, thread‑pool wrappers, and logging pattern adjustments to ensure reliable traceId propagation in Java backend services.

BackendHTTP InterceptorJava
0 likes · 12 min read
MDC and TraceId Propagation in Java Backend Applications
Programmer DD
Programmer DD
Dec 12, 2021 · Backend Development

How to Trace Multi‑Threaded Requests with SLF4J MDC in Java

This article explains how to use SLF4J's MDC feature to attach a request ID to log entries, enabling fast filtering of all logs belonging to a single request even across asynchronous threads and thread pools, and shows a decorator‑based solution for proper propagation.

Decorator PatternJavalogging
0 likes · 10 min read
How to Trace Multi‑Threaded Requests with SLF4J MDC in Java
php Courses
php Courses
Dec 12, 2021 · Backend Development

How to Log Baidu Spider Visits in ThinkPHP6

This article explains how to add a base controller method in ThinkPHP6 that detects search engine spider user‑agents, builds the request URL, obtains the real client IP, and stores the spider name, URL, and IP into a BaiduLog model for logging purposes.

SpiderThinkPHPWeb Crawlers
0 likes · 3 min read
How to Log Baidu Spider Visits in ThinkPHP6
macrozheng
macrozheng
Dec 12, 2021 · Information Security

Unpacking the Log4j2 Log4Shell Vulnerability: How JNDI Injection Works

This article breaks down the widely publicized Log4j2 (Log4Shell) flaw, explaining the underlying JNDI and LDAP lookup mechanisms, how malicious payloads are executed through log messages, the massive impact across Java ecosystems, and the steps needed to remediate the issue.

JNDI injectionJava SecurityRemote Code Execution
0 likes · 10 min read
Unpacking the Log4j2 Log4Shell Vulnerability: How JNDI Injection Works
Top Architect
Top Architect
Dec 8, 2021 · Backend Development

Resolving Java Logging Framework Conflicts in SpringBoot and Dubbo Projects

This article explains why multiple Java logging frameworks often clash in SpringBoot and Dubbo applications, identifies common causes such as transitive dependencies and duplicate versions, and provides step‑by‑step Maven configurations and adaptation techniques to unify logging with SLF4J and Logback.

DubboJavalogback
0 likes · 13 min read
Resolving Java Logging Framework Conflicts in SpringBoot and Dubbo Projects
21CTO
21CTO
Dec 4, 2021 · Fundamentals

10 Essential Habits Every Programmer Should Master

This article outlines ten practical habits for developers, from relying on official documentation and thorough testing to effective logging, Git mastery, prioritizing functionality, handling ambiguous requirements, proactive problem‑solving, scheduling buffers, hands‑on learning, and improving English for better access to technical resources.

DocumentationGitcareer
0 likes · 8 min read
10 Essential Habits Every Programmer Should Master
Open Source Linux
Open Source Linux
Nov 23, 2021 · Backend Development

5 Simple Nginx Tweaks to Slash Bandwidth and Boost Performance

During the COVID‑19 surge, web traffic spiked dramatically, prompting a detailed guide on five practical Nginx configuration changes—enabling Gzip compression, setting cache headers, activating HTTP/2, streamlining logging, and limiting bandwidth—to dramatically reduce bandwidth usage and improve site responsiveness.

GzipHTTP2bandwidth limiting
0 likes · 10 min read
5 Simple Nginx Tweaks to Slash Bandwidth and Boost Performance
Java Architect Essentials
Java Architect Essentials
Nov 21, 2021 · Backend Development

Comprehensive Guide to Apache Log4j2: Features, Performance, Configuration, and Usage

This article provides an in‑depth overview of Apache Log4j2, comparing it with Logback and Log4j 1, highlighting its superior asynchronous performance, zero‑GC operation, flexible configuration formats, rich appender ecosystem, and practical code examples for Maven integration, XML setup, and advanced logging techniques.

BackendJavalog4j2
0 likes · 11 min read
Comprehensive Guide to Apache Log4j2: Features, Performance, Configuration, and Usage