[DiscordArchive] I assume it would be a blocking call though?
[DiscordArchive] I assume it would be a blocking call though?
Archived author: stoneharry • Posted: 2021-11-26T14:34:03.166000+00:00
Original source
I assume it would be a blocking call though?
Archived author: Foe • Posted: 2021-11-26T14:35:04.754000+00:00
Original source
depends on what you're trying to do really, if you don't care about getting a response whether the action was successful or not, then it won't block
)
Archived author: Foe • Posted: 2021-11-26T14:37:36.290000+00:00
Original source
something like pushing a message to a discord webhook, in most cases I didn't care whether it actually succeeded or not (as long as it generally succeeded ofc
)
Archived author: Foe • Posted: 2021-11-26T14:37:53.908000+00:00
Original source
so no need to wait for a reply back
Archived author: stoneharry • Posted: 2021-11-26T14:38:26.469000+00:00
Original source
Establishing a HTTP connection and sending the data is going to still be quite an expensive call unless it's done asynchronously
Archived author: Foe • Posted: 2021-11-26T14:38:52.964000+00:00
Original source
luasocket has async calls
Archived author: Foe • Posted: 2021-11-26T14:40:25.114000+00:00
Original source
in a live environment with ~200 players we didn't experience any noticeable slowdown though for our use case, but ymmv ofc
Archived author: Foe • Posted: 2021-11-26T14:42:50.185000+00:00
Original source
A lot of issues with blocking etc in general can be solved using coroutines or lanes
Archived author: A2 • Posted: 2021-11-26T14:56:44.716000+00:00
Original source
now with 2000 players
Archived author: A2 • Posted: 2021-11-26T14:57:16.447000+00:00
Original source
but I can run only around 200 wow clients from my pc <:alasto8JAMESON:777246462920622081>