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

Why JDK’s Built‑in GZIP Is Inefficient and How Feat’s Custom Stream Solves It

The article examines the blocking‑IO and loop‑blocking problems of Java’s standard GZIPInputStream in high‑concurrency async scenarios, then details Feat framework’s reimplementation with an async‑friendly state‑machine design, fine‑grained state management, memory optimizations, full RFC 1952 compliance, and provides concrete code examples.

Backend DevelopmentFeat frameworkGZIP
0 likes · 8 min read
Why JDK’s Built‑in GZIP Is Inefficient and How Feat’s Custom Stream Solves It
Three Knives
Three Knives
Dec 5, 2025 · Backend Development

Build a High‑Performance Java Web Service Quickly with Feat Cloud

This guide walks you through creating a high‑performance Java web service using Feat Cloud, covering environment setup, Maven dependency configuration, writing a simple controller with @Controller and @RequestMapping, launching the server, and verifying the /hello endpoint returns “Hello, Feat Cloud!”.

Feat CloudJavaSpring Boot
0 likes · 5 min read
Build a High‑Performance Java Web Service Quickly with Feat Cloud
Three Knives
Three Knives
Nov 25, 2025 · Backend Development

smart-mqtt v1.5.0 Cuts Enterprise Package Size by 57% by Dropping Netty

smart-mqtt v1.5.0 reduces the enterprise package from 29.3 MB to 12.6 MB (57 % smaller) by replacing the Redisson‑based Redis bridge with the lightweight Redisun client, adds stability fixes, updates pricing, and provides detailed upgrade and deployment instructions.

BackendCloud NativeJava
0 likes · 8 min read
smart-mqtt v1.5.0 Cuts Enterprise Package Size by 57% by Dropping Netty
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.

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

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

Connection ManagementJavamonitoring
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