Tagged articles
smart-socket
18 articles · Page 1 of 1
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

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.
AIBackend DevelopmentIoT
0 likes · 7 min read

smart-socket v1.8.0 trims unused plugins, refines the IdleStatePlugin timeout logic to require simultaneous read‑write idle before closing, and simplifies the API by renaming session types and deprecating methods, all to deliver a leaner, more stable high‑performance AIO networking framework.
AIOAPI changesBackend
0 likes · 4 min read

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

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

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.
BackendJavanetworking
0 likes · 9 min read

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.
BlacklistJavaSSL
0 likes · 13 min read

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.
Connection ManagementJavamonitoring
0 likes · 12 min read

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

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.
JavaMessageProcessorasynchronous
0 likes · 8 min read

This article explains the design of the Protocol interface in the smart-socket framework, covering data integrity, half‑packet and sticky‑packet handling, performance considerations, and provides concrete IntegerProtocol and StringProtocol implementations with best‑practice guidelines.
BackendJavahalf-packet
0 likes · 9 min read

This tutorial walks you through preparing the Java development environment, adding smart-socket Maven or Gradle dependencies, implementing a simple string‑based server and client with AIO, running both components, and observing the expected console output to understand the framework's basic communication workflow.
AIOGradleJava
0 likes · 12 min read

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

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

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.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

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.
AutoServerSSLContextFactoryJavaSSL
0 likes · 8 min read

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
