zrneely / wamp-proto

(WIP) Tokio-based WAMP implementation in Rust
MIT License
4 stars 0 forks source link

Tokio 0.2 and async/await #16

Closed zrneely closed 4 years ago

zrneely commented 4 years ago

Migrate to a tokio 0.2 alpha, and use async/await.

Fixes #10 and fixes #4

zrneely commented 4 years ago

Waiting on this PR: https://github.com/snapview/tokio-tungstenite/pull/68

frol commented 4 years ago

Hey! I am glad to see this work! I also have a need in WAMP-proto implementation in Rust (my need is a bit odd: I need Actix-compatible WAMP router and async-await friendly client). This PR did not exist when I started my own experiments (there is almost nothing useful for the consumption at the moment), and I am also using tokio-tungstenite with the tokio 0.2 PR. I have, however, bumped into a deadlock while stress-testing. Have you encountered anything like that?

zrneely commented 4 years ago

@frol No, I haven't run into that; but I also don't currently have any automated stress testing in place, nor have I really tried to stress-test this code yet.