Skip to content
Three Knives
Author

Three Knives

Every line of code you contribute to open source could help make the future better.

55
Articles
0
Likes
187
Views
0
Comments
Recent Articles

Latest from Three Knives

55 recent articles
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.

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

Designing Complex Protocols: String & JSON Implementations with Large Message Handling

This chapter provides a detailed analysis of designing complex communication protocols, covering the StringProtocol format, a JSON-based protocol integrated with FastJSON, and strategies for efficiently handling large message bodies using session attachment and decoder state management, complete with code examples and best‑practice recommendations.

FastjsonJavalarge message handling
0 likes · 12 min read
Designing Complex Protocols: String & JSON Implementations with Large Message Handling
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 AIOMemory Managementasynchronous I/O
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.

JavaRedisRedis client
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 15, 2025 · Backend Development

smart-mqtt v1.4.0 Packs Under 800KB While Handling 10 Million Messages per Second

smart-mqtt v1.4.0 reduces its distribution size by 73% to under 800 KB, replaces YAML with environment‑variable configuration, achieves up to 1 M msg/s QoS0 throughput in a Podman test environment, and adds extensive memory, plugin, and cloud‑native improvements for faster deployment and higher stability.

BackendCloud NativeMQTT
0 likes · 7 min read
smart-mqtt v1.4.0 Packs Under 800KB While Handling 10 Million Messages per Second
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.

AutoServerSSLContextFactoryJavaSSL
0 likes · 8 min read
How smart‑socket’s AutoServerSSLContextFactory Makes SSL Configuration Foolproof