[Open Source] A next-generation Java Web development framework built on Java AIO: faster, smaller, and simpler.
![[Open Source] A next-generation Java Web development framework built on Java AIO: faster, smaller, and simpler.](https://yy123.ink/api/img/1782608415513-78rykd.jpg)
1. Project Overview
Tio-Boot is a next-generation Java Web development framework: faster, smaller, and simpler! It delivers 2 to 3 times higher concurrency, reduces memory usage by 1/3 to 1/2, starts 5 to 10 times faster, and reduces package size to between 1/2 and 1/10 of the original. Built on Java AIO, Tio-Boot enables a Linux server with 2 CPU cores and 4 GB of RAM to handle tens of thousands of concurrent connections.
2. Open Source License
Licensed under MIT
3. Screenshots

4. Feature Overview
Key Features
- Based on Java AIO and T-IO:
Leverages Java asynchronous I/O and T-IO to deliver high performance. - Adopts the Spring-Boot Configuration Philosophy:
Supports commonly used Spring-Boot annotations without using Spring's IOC or AOP. - Integrates JFinal AOP:
Provides support for Dependency Injection (DI), Inversion of Control (IOC), and Aspect-Oriented Programming (AOP). - Integrates the JFinal Enjoy Template Engine
Provides template engine support. - Integrates JFinal Active Record
Provides database operation support. - Supports Common Web Components:
Includes interceptors, WebSocket, handlers, and controllers.
Slogan
Simple, easy to use, fast to develop, and fast to run.
Mission
Eliminate unnecessary complexity, return to simplicity, keep things lightweight, and develop efficiently.
Advantages and Disadvantages
Advantages
- No Servlet:
Reimplements network connections based on Java AIO, supporting asynchronous, non-blocking, and high-performance operations. - Multi-Protocol Support:
A single port simultaneously supports UDP, TCP, HTTP, and WebSocket protocols. - Embedded Device Support:
Tio-Boot can run on Android systems. - Fast Startup and Small Footprint:
When providing HTTP services only, the packaged JAR file is just 3MB, with a startup time of only 300ms. - Hot Reloading in Development Environments:
When used with hotswap-classloader , reloading can be completed within 20ms. Code changes can be tested without restarting the application, greatly improving development efficiency. - Supports Compilation into Binary Files:
JAR packages can be compiled into binary files using GraalVM.
Resource Optimization
- 50% Less Memory Usage
- 50% Fewer Servers Required
T-IO Performance Test Results
- Performance Test 1:
Stable support for 300,000 concurrent TCP connections with 1.9G of memory. - Performance Test 2:
Achieves 10.51 million chat messages per second using T-IO. - Performance Test 3:
Comparison test results between Netty and T-IO.
See the README.md documentation for details
Disadvantages
- Steep Learning Curve:
A solid programming foundation is required to understand the related concepts.
Tio-Boot provides developers with high-performance capabilities and efficient development tools. However, due to its complex concepts and relatively steep learning curve, developers need a solid programming foundation to fully leverage the advantages of this framework.
5. Tech Stack
Quick Start
Tio-Boot has been published to the Maven repository: Tio-Boot
Add the following content to pom.xml :