3 ms·
> hitting some sort of database from a lambda is not uncommon. of course. Like e.g. dynamoDB? Here are some examples of non-blocking calls from C# to dynamoDB
by SideburnsOfDoom 9y ago
> hitting some sort of database from a lambda is not uncommon.
of course. Like e.g. dynamoDB?
Here are some examples of non-blocking calls from C# to dynamoDB that you could make from a lambda
https://matthiasshapiro.com/2017/03/21/tutorial-dynamodb-in-net/ https://matthiasshapiro.com/2017/03/21/tutorial-dynamodb-in-...
The rest of the AWS SDK for .Net core is like that too. All those Async methods.
Http should also be done in a non-blocking, awaitable way too.
The deleted comment is exactly right - Async/awaits operators are the .Net mechanism to avoid blocking calls, and they are available here.