Skip to content

smartboot/feat

Feat Framework Apache License Ask DeepWiki

Somewhat like Vert.x, and somewhat like Spring Boot, Feat is a Java web service development framework.

πŸš€ Enterprise Value of Feat

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

πŸ“¦ Third-party Package Dependencies

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.


Quick Start

Hello World (Feat Cloud)

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>

Performance Comparison

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

Documentation & Community

πŸ“š Learning Resources

πŸ’¬ Getting Support

🀝 Contributing

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.


License

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