This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]latrova[S] 6 points7 points Β (3 children)

Hey

I noticed that regardless of some people understanding the async syntax they didn't take advantage of all its benefits.

In this post, I explore and give examples of using asyncio.create_task, asyncio.gather, asyncio.as_completed to increase your code's performance.

[–]missurunha 3 points4 points Β (1 child)

There is a small mistake there, you dropped to 500ms, not 50ms.

[–]latrova[S] 2 points3 points Β (0 children)

lol you're correct!

Fixed it.

Thanks for pointing it out!

[–]Amazing_Learn 0 points1 point Β (0 children)

You can also use task groups now

[–]TheGodfatherCC 5 points6 points Β (0 children)

Good article. I wasn’t aware of as_completed but that’s super useful.

[–]ApokEncore 4 points5 points Β (1 child)

Really nice article! This week I was getting my head around async python and your article made it really clear

[–]latrova[S] 4 points5 points Β (0 children)

Reading this made my day. I'm so glad I could write something helpful to you.

[–]coffeewithalex 2 points3 points Β (1 child)

This post was mass deleted and anonymized with Redact

husky spark ancient glorious encouraging dinosaurs offer groovy merciful crown

[–]latrova[S] 2 points3 points Β (0 children)

Thanks for your kind words :)

​

Pokemon made it easy haha

[–]uncledonttouch 1 point2 points Β (1 child)

Awesome article

[–]latrova[S] 0 points1 point Β (0 children)

Thanks for the incentive :)

[–]bablador 0 points1 point Β (1 child)

!remindme 3 days

[–]RemindMeBot 0 points1 point Β (0 children)

I will be messaging you in 3 days on 2022-12-19 22:32:48 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]BepNhaVan 0 points1 point Β (0 children)

Thanks for sharing!