mirror of
https://github.com/xtaci/smux.git
synced 2024-04-21 10:51:48 +00:00
Update README.md
This commit is contained in:
@@ -17,14 +17,15 @@
|
||||
|
||||
## Introduction
|
||||
|
||||
Smux ( **S**imple **MU**ltiple**X**ing) is a multiplexing library for Golang. It relies on an underlying connection to provide reliability and ordering, such as TCP or [KCP](https://github.com/xtaci/kcp-go), and provides stream-oriented multiplexing.
|
||||
Smux ( **S**imple **MU**ltiple**X**ing) is a multiplexing library for Golang. It relies on an underlying connection to provide reliability and ordering, such as TCP or [KCP](https://github.com/xtaci/kcp-go), and provides stream-oriented multiplexing. The original intention of this library is to power the connection management for [kcp-go](https://github.com/xtaci/kcp-go).
|
||||
|
||||
## Features
|
||||
|
||||
1. Tiny, less than 600 LOC.
|
||||
2. ***Token bucket*** controlled receiving, which provides smoother bandwidth graph(see picture below).
|
||||
3. Session-wide receive buffer, which is shared among streams.
|
||||
3. Session-wide receive buffer, shared among streams, tightly controlled overall memory usage.
|
||||
4. Minimized header(8Bytes), maximized payload.
|
||||
5. Well-tested on millions of devices in [kcptun](https://github.com/xtaci/kcptun).
|
||||
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user