Skip to content

Multi-threaded rust number of threads is way too low. #421

@svladykin

Description

@svladykin

https://www.youtube.com/watch?v=2e9U5sQ835Y

For mutlithreaded rust this is way too low:
Environment="THREAD_COUNT=4"

Golang can use pretty much unlimited number of goroutines and rust has a hard limit of 4 threads. You have to make sure that rust app does not hit this limit to make it work reasonably. Set the number of threads to 100, maybe even more is needed. Otherwise this comparison makes no sense: we could set it to 2 threads and make it even slower and still could say that it is multi-threaded rust:)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions