|
|
|
|
|
|---|---|---|---|
| 启动时间 | <100ms |
|
|
| 内存占用 | 低 |
|
|
| 每秒请求数 | 高 |
|
|
| 响应延迟 | 极低 |
|
|
<dependency>
<groupId>tech.smartboot.feat</groupId>
<artifactId>feat-core</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>tech.smartboot.feat</groupId>
<artifactId>feat-cloud-starter</artifactId>
<version>1.2.2</version>
</dependency>
public class HelloFeat{
public static void main(String[] args){
Feat.httpServer().listen();
}
}
publicclassHelloWorld{
publicstaticvoidmain(String[] args){
Feat.httpServer()
.httpHandler(request -> request.getResponse().write("Hello World"))
.listen(8081);
}
}
-
地址:https://gitee.com/smartboot/feat
往期推荐
SpringBoot动态加载jar包,动态配置太强了!
只需要一张SQL表,生成controller、service、dao、entity,这个插件赶快用起来!
天才用户取用户名为null,害我熬夜查到两点…
如何优雅的实现接口统一调用
学习交流 | jetBrains 中的 javaagent 激活原理
微服务Token鉴权设计的几种方案

