Skip to content

A high-performance, secure, and cross-platform modules optimized for efficiency, scalability, and reliability.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

PooyaEimandar/sib

Repository files navigation

SIB 🚀 powered by Rust 🦀 Build

SIB is a high-performance, secure, and cross-platform modules optimized for efficiency, scalability, and reliability. it is designed for real-time networking, low-latency streaming, and scalable HTTP services.

🏷️ "Sib" means apple in Persian (سیب).

✨ Features

Feature Description
net-h1-server Enable HTTP/1.1 server with coroutine concurrency
net-h3-server Enable HTTP/3 QUIC-based server with coroutine concurrency
db-fdb FoundationDB bindings (requires libfdb_c) on macOS/Linux
stm-sender Real-time video/audio streamer server
stm-receiver Real-time video/audio receiver
sys-boring-ssl BoringSSL backend for secure networking

📊 Benchmarks

Environment:

  • 🧠 12-core CPU
  • 🧮 32 GB RAM
  • 🐳 Docker container
  • ⚙️ target-cpu=native on Apple Macbook Pro M2 Max 2023
  • Sib HTTP1.1 uses:
    • may for coroutine scheduling.
    • bytes for zero-copy HTTP parser.
    • mimalloc a compact general purpose allocator with excellent performance.
Concurrency Requests/sec Latency (avg) Transfer/sec
8 105,598 75.70 µs 12.89 MB/s
512 840,036 0.99 ms 102.54 MB/s
256 5,106,291 1.06 ms 623.33 MB/s
1024 6,112,892 1.71 ms 746.20 MB/s
4096 5,890,631 5.11 ms 719.07 MB/s
16384 5,038,547 19.11 ms 615.06 MB/s

📚 Documentation

📄 License

SIB is licensed under either of:

at your option.

About

A high-performance, secure, and cross-platform modules optimized for efficiency, scalability, and reliability.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published