Property-testing async code in Rust to build reliable distributed systems - Antonio Scandurra

แชร์
ฝัง

ความคิดเห็น • 4

  • @no-bias-
    @no-bias- 7 หลายเดือนก่อน

    Great talks! looking forward to tech talk like this especially on the chaos testing with Rust.

  • @patmelsen
    @patmelsen 7 หลายเดือนก่อน

    Been looking forward to watching this talk. I think property testing is an incredibly useful tool to have in your belt, and the ability to combine it with futures execution ordering is really useful. This means you can basically get some features that you would get from formal verifications systems (promela, TLA+) for *free* in Rust! At least for promela, it works simply by trying out all possible permutations of orderings and ensuring your assertions hold. Combining property testing with execution ordering achieves the same. How awesome is that?

  • @sirgibsonable
    @sirgibsonable 3 หลายเดือนก่อน

    I didn't follow the bug at ~4:00. Wouldn't flipping the order of request handling and the connection checking have the same issue afterward (if a connection happens while deserializing the server response)?

  • @thomasw.4298
    @thomasw.4298 9 หลายเดือนก่อน +1

    Don't tokio's file/net handles require to be run exclusively on the tokio runtime? If you have a Tokio::net TcpStream and run it on a home brew executor, wont it not work? I think it throws an error when it can't detect the tokio runtime. Is this where the mocks come in?