Tagged articles

smart-socket

18 articles · Page 1 of 1
Three Knives
Three Knives
Jul 19, 2026 · Backend Development

Why Feat Is So Fast: The 2,000‑Line smart‑socket Core Explained

Feat achieves sub‑100 ms startup, double Vert.x throughput, and sub‑1 ms latency because its communication layer relies on the ultra‑lightweight smart‑socket kernel, a 2,000‑line AIO implementation that eliminates unnecessary abstraction and resource waste.

Feat frameworkJava AIOasync I/O
0 likes · 6 min read
Why Feat Is So Fast: The 2,000‑Line smart‑socket Core Explained
Three Knives
Three Knives
Jun 12, 2026 · Backend Development

Why We Still Refine smart‑socket (v2.1.0) in the AI Era

Even as large‑model AI can generate complete code, the author argues that engineering judgment, memory‑efficient design, and reliable connection handling—illustrated by smart‑socket’s method rename, buffer‑release strategy, and timeout mechanisms—remain essential for stable, high‑performance IoT and messaging systems.

AIIoTbackend development
0 likes · 7 min read
Why We Still Refine smart‑socket (v2.1.0) in the AI Era
Three Knives
Three Knives
Nov 22, 2025 · Backend Development

Smart‑Socket Performance Tuning: Thread Model, Buffer Optimization, and Stress Testing

This article explains how to maximize throughput and minimize latency of the smart‑socket Java AIO framework by configuring thread counts, applying thread affinity, adjusting read/write buffer sizes, using memory pools, conducting benchmark tests, monitoring runtime metrics, and fine‑tuning JVM options for high‑concurrency, low‑latency network applications.

JVM tuningPerformance Tuningbuffer optimization
0 likes · 11 min read
Smart‑Socket Performance Tuning: Thread Model, Buffer Optimization, and Stress Testing
Three Knives
Three Knives
Nov 21, 2025 · Information Security

Implementing SSL/TLS Secure Communication in smart-socket: Certificate Configuration and Best Practices

This chapter explains how smart-socket uses the SslPlugin to add SSL/TLS encryption, covering protocol basics, server and client configuration with JKS, PEM and auto‑generated certificates, mutual authentication, security best practices, performance tuning, common troubleshooting steps, and concise Java code examples.

JavaSSLSslPlugin
0 likes · 15 min read
Implementing SSL/TLS Secure Communication in smart-socket: Certificate Configuration and Best Practices
Three Knives
Three Knives
Nov 20, 2025 · Backend Development

How to Build Custom smart-socket Plugins to Extend Framework Functionality

This article walks through the smart-socket plugin system, explaining the Plugin interface, its lifecycle, the AbstractPlugin base class, and step‑by‑step examples for creating message‑filter, connection‑limit, and heartbeat plugins, followed by registration, execution order, and best‑practice recommendations.

Javabackendnetworking
0 likes · 9 min read
How to Build Custom smart-socket Plugins to Extend Framework Functionality
Three Knives
Three Knives
Nov 19, 2025 · Backend Development

Deep Dive into smart‑socket’s Built‑In Plugin System

This article explains smart‑socket’s extensible plugin architecture, detailing the Plugin and AbstractPlugin interfaces, and demonstrates how to integrate built‑in plugins such as SSL/TLS encryption, heartbeat detection, blacklist filtering, memory‑pool monitoring, traffic logging, socket option configuration, and idle‑state handling, while covering plugin ordering, custom development, performance considerations, and best‑practice recommendations.

JavaSSLblacklist
0 likes · 13 min read
Deep Dive into smart‑socket’s Built‑In Plugin System
Three Knives
Three Knives
Nov 18, 2025 · Backend Development

Smart-Socket Connection Management: Session Lifecycle, Limits, and Quality Monitoring

This article explains how smart-socket manages connections through AioSession objects, a detailed session state machine, state event listeners, built‑in MonitorPlugin for real‑time statistics, custom plugins for connection limiting and blacklisting, session attribute handling, and network monitoring via NetMonitor, concluding with best‑practice recommendations.

Javaconnection-managementmonitoring
0 likes · 12 min read
Smart-Socket Connection Management: Session Lifecycle, Limits, and Quality Monitoring
Three Knives
Three Knives
Nov 17, 2025 · Backend Development

Deep Dive into smart-socket’s Memory Pool: Boosting Network Performance

This article provides a detailed analysis of smart-socket’s memory‑pool mechanism, covering its core classes (BufferPagePool, BufferPage, VirtualBuffer), allocation strategies, configuration tips, code examples, best‑practice recommendations, and the performance benefits such as reduced GC pressure and higher allocation efficiency.

BufferPagePoolGC reductionJava NIO
0 likes · 10 min read
Deep Dive into smart-socket’s Memory Pool: Boosting Network Performance
Three Knives
Three Knives
Nov 16, 2025 · Backend Development

Chapter 7: Understanding the MessageProcessor Mechanism in smart‑socket

This article explains the core MessageProcessor interface of the smart‑socket framework, detailing its process and stateEvent methods, the associated StateMachineEnum events, example implementations for echo and business logic servers, and recommended best‑practice guidelines for robust message handling.

JavaMessageProcessorState Machine
0 likes · 8 min read
Chapter 7: Understanding the MessageProcessor Mechanism in smart‑socket
Three Knives
Three Knives
Nov 11, 2025 · Backend Development

Understanding Java BIO, NIO, and AIO: Features, Performance, and Use Cases

This article compares Java's three I/O communication models—BIO, NIO, and AIO—detailing their characteristics, performance trade‑offs, programming complexities, and suitable scenarios, then examines the limitations of native AIO and how the smart‑socket library enhances it with optimized threading, memory management, stability improvements, and a simplified API.

AIOBIOIO
0 likes · 14 min read
Understanding Java BIO, NIO, and AIO: Features, Performance, and Use Cases
Three Knives
Three Knives
Nov 10, 2025 · Backend Development

Introducing smart-socket: Core Concepts, Design Advantages, and Architecture Overview

This article introduces the smart-socket Java AIO framework, explains its performance, resource‑efficiency and stability benefits, compares it with alternatives like Netty, and details its modular architecture, core components, extension plugins, and sample code for building high‑performance network applications.

Java AIOasynchronous I/Ohigh performance
0 likes · 11 min read
Introducing smart-socket: Core Concepts, Design Advantages, and Architecture Overview
Three Knives
Three Knives
Oct 31, 2025 · Databases

Redisun 1.1.0: A Lightweight High‑Performance Java Redis Client and the Code‑World Feedback Loop

Redisun 1.1.0, a Java‑based lightweight high‑performance Redis client built on smart‑socket, introduces major upgrades in performance, command coverage, code quality and documentation, provides Maven integration and code examples, and demonstrates superior async and sync throughput compared with Redisson, Jedis and Lettuce in high‑concurrency benchmarks.

JavaRedis clientRedisun
0 likes · 9 min read
Redisun 1.1.0: A Lightweight High‑Performance Java Redis Client and the Code‑World Feedback Loop
Three Knives
Three Knives
Oct 25, 2025 · Backend Development

Redisun 1.0.0 Released: A Lightweight Java Redis Client for the Domestic Open‑Source Ecosystem

Redisun 1.0.0, a 33 KB Java Redis client built on the smart‑socket framework, offers lightweight packaging, high‑performance AIO communication, connection reuse, and full RESP support; the article details its architecture, core components, supported commands, Maven installation, quick‑start code, advanced SET usage, and future roadmap.

JavaOpen SourceRedis
0 likes · 7 min read
Redisun 1.0.0 Released: A Lightweight Java Redis Client for the Domestic Open‑Source Ecosystem
Three Knives
Three Knives
Oct 8, 2025 · Backend Development

How smart‑socket’s AutoServerSSLContextFactory Makes SSL Configuration Foolproof

The article explains how the AutoServerSSLContextFactory in the smart‑socket framework automatically generates X.509 v3 certificates at runtime, eliminating manual CSR creation, keystore setup, and file management, and shows concrete code examples for development, microservice, and IoT scenarios while comparing it with traditional SSL file‑based approaches.

AutoServerSSLContextFactoryJavaMicroservices
0 likes · 8 min read
How smart‑socket’s AutoServerSSLContextFactory Makes SSL Configuration Foolproof
Three Knives
Three Knives
Sep 17, 2025 · Backend Development

smart-socket v1.7.0 Ends the JDK Compatibility Nightmare

smart-socket v1.7.0 introduces a single library version that fully supports JDK 8‑25 by using a dynamically adaptive DirectBufferCleaner, eliminating version splits, upgrade pain, and maintenance overhead while preserving zero‑performance overhead and automatic fallback.

DirectBufferCleanerJDK compatibilityJava
0 likes · 6 min read
smart-socket v1.7.0 Ends the JDK Compatibility Nightmare