top | item 42994403

(no title)

hexagonal-sun | 1 year ago

Announcing trale v0.2.0!

I'm excited to announce the release of trale v0.2.0! This release brings several important updates that will improve the overall performance and usability of the project.

Key Features:

- Reactor port: Successful port of the reactor from using epoll-based IO to *io\_uring*. This change should result in improved performance and scalability for IO operations.

- New futures module: The switch to `io_uring` allows file-system based futures to be written. To that end, a new `fs` module that provides asynchronous methods for file system operations has been added. This includes async file reading, writing, opening, and creating directories.

- New webserver example: This release includes a new web server example demonstrating the new `fs` futures module! While it's a basic HTTP server implementation, it demonstrates some impressive performance benchmarks. On localhost, it can achieve up to 25,000 requests per second (or 399,385 KB/sec) on a single thread, though keep in mind it's unoptimized for production use.

Check it out:

GitHub: https://github.com/hexagonal-sun/trale Crates.io: https://crates.io/crates/trale

Feedback appreciated!

discuss

order

No comments yet.