MySQL Architecture: Core Components and Storage Engines
Server Layer
The Server layer encompasses connectors, the query cache, parser, optimizer, and executor. It includes most of MySQL's core service functionalities and all built-in functions (e.g., date, time, mathematical, encryption). Cross-storage-engine features such as stored procedures, triggers, and views are implemented here.
Connection Po ...
Posted on Sat, 09 May 2026 23:27:10 +0000 by Roman Totale
Understanding Log4j2 Architecture and Configuration
Log4j2 Overview
In software development, testing, and production environments, logs capture critical information about application behavior and error stack traces. Proper use of logging frameworks significantly improves problem-solving efficiency.
Log4j 1.x was widely used but suffered from memory leaks, maintenance difficulties, and reliance o ...
Posted on Sat, 09 May 2026 08:03:12 +0000 by D1proball
Implementing Global Request Logging in Spring Boot with ECharts Dashboard Integration
Database SchemaTable CreationCREATE TABLE `request_audit_log` (
`log_id` BIGINT NOT NULL AUTO_INCREMENT,
`created_at` DATETIME NOT NULL COMMENT 'Request timestamp',
`client_ip` VARCHAR(30) NOT NULL COMMENT 'Client IP address',
`api_category` VARCHAR(50) NOT NULL DEFAULT 'General' COMMENT 'API category',
`endpoint_url` VARCHAR(100) NOT ...
Posted on Fri, 08 May 2026 23:38:15 +0000 by Eskimo887
Working with Properties, XML, and Logging in Java
Properties Files
Properties files store key-value pairs, with keys being unique. They typically use the .properties extension.
Reading Properties Files
import java.io.FileReader;
import java.util.Properties;
import java.util.Set;
public class PropertiesReader {
public static void main(String[] args) throws Exception {
Properties pr ...
Posted on Fri, 08 May 2026 18:42:13 +0000 by Allen4172
Logging JVM Crashes in Java Services
Capturing Crash Information
Adding a Global Uncaught Exception Hook
To record unexpected failures, install a handler for uncaught exceptions at the thread level. This catches errors that escape typical try-catch blocks.
Thread.setDefaultUncaughtExceptionHandler((thread, throwable) -> {
String logEntry = String.format("[FATAL] Thread ...
Posted on Fri, 08 May 2026 14:12:00 +0000 by Sentosa
Effective Logging in Python Using the logging Module
Applications often require structured logging to track events, errors, and operational details. Python’s built-in logging module provides a flexible framework for emitting log mesages from applications. It supports multiple severity levels: CRITICAL, ERROR, WARNING, INFO, and DEBUG, in descending order of severity.
By default, the root logger o ...
Posted on Fri, 08 May 2026 11:49:05 +0000 by airdee