Replies: 3 comments 1 reply
-
Yes, we are really looking for a way to use SQS without tokio, without any of the async. Async in Rust is extremely challenging to use with rust libraries that use C FFI. So far, we haven't found any examples of anyone using SQS synchronously, without Tokio or another async library. |
Beta Was this translation helpful? Give feedback.
-
Having to choose between sync and async, it all depends. I guess we need a couple of use cases with best practices (idiomatic) in Rust, including performance and usability benchmarks. One use case is the high traffic web server, where upon each downstream request another upstream request against an AWS service is made. In another use case, we are event sourcing from S3 buckets and distribute the events by category to (say 100) compute tasks. |
Beta Was this translation helpful? Give feedback.
-
Created feature request here and locked this discussion |
Beta Was this translation helpful? Give feedback.
-
In some cases, dealing with an async API is an unnecessary hassle. This discussion is a place to discuss the customer requirements for a sync API as well as general design considerations (eg. separate cargo feature, how does this work with streaming data, etc.)
Beta Was this translation helpful? Give feedback.
All reactions