1 unstable release
0.1.0 | Jan 13, 2024 |
---|
#360 in #network
92KB
2.5K
SLoC
WTX
A collection of different transport implementations and related tools focused primarily on web technologies.
- Client API Framework
- Database Client
- Database Object–Relational Mapping
- Database Schema Manager
- HTTP2 Client/Server
- Pool Manager
- WebSocket Client/Server
Embedded devices that have a heap allocator can use this no_std
crate.
A more resourceful documentation is available at https://c410-f3r.github.io/wtx-site.
Benchmarks
If you disagree with any of the mentioned charts, feel free to checkout wtx-bench to point any misunderstandings or misconfigurations.
There are mainly 2 things that impact performance, the chosen runtime and the number of pre-allocated bytes. Specially for servers that have to create a new instance for each handshake, pre-allocating a high number of bytes for short-lived or low-transfer connections can have a negative impact.
It is also possible to use libraries that manage pools of resources to avoid having to reconstruct expensive elements all the time.
PostgreSQL client
WebSocket
Dependencies
~1.5MB
~33K SLoC