Somewhat like Vert.x, and somewhat like Spring Boot, Feat is a Java web service development framework.
| Advantage | Description |
|---|---|
| β‘ High Performance | Several times faster than traditional frameworks, significantly reducing server costs |
| β±οΈ Low Latency | Millisecond-level response, enhancing user experience |
| π¦ Easy to Use | Simple API design lowers the learning curve |
| π High Reliability | Stable operation reduces operational pressure |
The main third-party package dependencies for each module in the Feat framework are as follows:
| Module | Dependency | Type | Description |
|---|---|---|---|
| Feat Core | smart-socket | Runtime | A Java AIO-based network communication framework |
| fastjson2 | Runtime | Alibaba's JSON processing library | |
| Feat Cloud | mybatis | Compile-time | An excellent persistence layer framework |
| snakeyaml | Compile-time | YAML configuration file parsing library | |
| Feat AI | - | - | - |
All dependencies use the latest stable versions to ensure optimal security and performance.
Create a simple annotation-based Web application with Feat Cloud:
import tech.smartboot.feat.cloud.FeatCloud;
import tech.smartboot.feat.cloud.annotation.Controller;
import tech.smartboot.feat.cloud.annotation.RequestMapping;
@Controller
public class HelloWorld {
@RequestMapping("/hello")
public String hello() {
return "Hello, World!";
}
public static void main(String[] args) {
FeatCloud.cloudServer().listen();
}
}Maven Dependencies:
<!-- Runtime -->
<dependency>
<groupId>tech.smartboot.feat</groupId>
<artifactId>feat-cloud</artifactId>
<version>2.1.0</version>
</dependency>
<!-- Compile-time code generation -->
<dependency>
<groupId>tech.smartboot.feat</groupId>
<artifactId>feat-cloud-starter</artifactId>
<version>2.1.0</version>
<scope>provided</scope>
</dependency>Compared to other mainstream Java frameworks, Feat excels in the following areas:
| Metric | Feat | Spring Boot | Vert.x |
|---|---|---|---|
| Startup Time | <100ms | ~700ms | ~500ms |
| Memory Usage | Low | High | Medium |
| Requests per Second | High | Medium | High |
| Response Latency | Extremely Low | Medium | Low |
- Official Documentation: Detailed usage guides and API references
- Sample Projects: Practical examples across various scenarios
- Performance Test Reports: Understand Feat's performance advantages
- GitHub Issues: Report issues or suggest new features
- Gitee Issues: Domestic user feedback channel
- Enterprise Licensing Solutions: Empowering efficient development and enterprise growth
We welcome contributions in all forms:
- Report Issues: Help us identify and fix bugs
- Improve Documentation: Make documentation clearer and more complete
- Contribute Code: Implement new features or fix known issues
- Share Experience: Share your experiences and best practices using Feat within the community
Please read our Contribution Guide before contributing.
Feat is open source under the Apache License 2.0.
Feat - A Supersonic Java Framework for the Cloud Native Era
High Performance β’ Low Resource Consumption β’ Developer Friendly