smart-socket 是一款國產開源的 Java AIO 框架,追求代碼量、性能、穩定性、介面設計各方面都達到極致。如果 smart-socket 對您有一絲幫助,請 Star 一下我們的項目並持續關注;如果您對 smart-socket 並不滿意,那請多一些耐心,smart-socket 一直在努力變得更好。
Maven
<!-- https://mvnrepository.com/artifact/org.smartboot.socket/aio-core -->
<dependency>
<groupId>org.smartboot.socket</groupId>
<artifactId>aio-core</artifactId>
<version>1.4.5</version>
</dependency>
更新內容:
性能測試
測試類為smart-socket示例StringServer、StringClient,直接運行即可。QPS為 217W/s,每秒可處理流量達 145MB。
[Quick Timer] INFO org.smartboot.socket.extension.plugins.MonitorPlugin -
-----這5秒發生了什麼----
inflow: 728.8264465332031(MB)
outflow: 723.7615051269531(MB)
process fail: 0
process success: 10896864
process total: 24768384
read count: 728 write count: 187864
connect count: 0
disconnect count: 0
online count: 10
connected total: 10
Requests/sec: 2179372.8
Transfer/sec: 145.76528930664062(MB)
最後
smart-socket正參與2019 最受歡迎中國開源軟體評選,請給我們投上寶貴一票,余票不足的就給這個項目加個Star吧。
[admin
]