1 unstable release

0.1.0 Jan 13, 2024

#360 in #network

MIT license

92KB
2.5K SLoC

WTX

CI crates.io Documentation License Rustc

A collection of different transport implementations and related tools focused primarily on web technologies.

  1. Client API Framework
  2. Database Client
  3. Database Object–Relational Mapping
  4. Database Schema Manager
  5. HTTP2 Client/Server
  6. Pool Manager
  7. 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

PostgreSQL Benchmark

WebSocket

WebSocket Benchmark

Dependencies

~1.5MB
~33K SLoC