Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixing up multi threading with async io #315

Open
TwistingTwists opened this issue Dec 19, 2024 · 6 comments
Open

Mixing up multi threading with async io #315

TwistingTwists opened this issue Dec 19, 2024 · 6 comments
Labels
accepted congrats, your talk is accepted proposal want to talk at pydelhi scheduled talk/workshop is scheduled for next meetup

Comments

@TwistingTwists
Copy link

TwistingTwists commented Dec 19, 2024

Title

Multithreading in python and async io

Describe your Talk

When working with async io, what happens if you have sync function that needs to be run in the async event loop?

Pre-requisites & reading material

Basics of async io and os threads.

Time required for the talk

20 min

Link to slides/demos

https://gist.github.com/TwistingTwists/b4d2ce7b4cab00b3f94f3829893777dc

Initial running slides. Polished version to come.

About you

Software developer with 5+ years of experience.

Availability

21/12/2024

Any comments

No response

@TwistingTwists TwistingTwists added the proposal want to talk at pydelhi label Dec 19, 2024
@Animesh-Ghosh
Copy link
Member

Hey @TwistingTwists, thanks for the talk proposal. Please add a link to your slides in the original comment.

Thanks!

@TwistingTwists
Copy link
Author

@TwistingTwists
Copy link
Author

Hey @TwistingTwists, thanks for the talk proposal. Please add a link to your slides in the original comment.

Thanks!

done ;)

@Animesh-Ghosh
Copy link
Member

The gist looks good enough for a lightning talk IMO @agriyakhetarpal. If possible, you may talk about the overheads for both the strategies (ex. ProcessPoolExecutor might have to write and read back from a Process Control Block) for different scenarios @TwistingTwists.

TBF I don't see any mention of asyncio but I am assuming you'll give a small demo around using these two concurrent.futures modules with it?

I'd personally like to know more about this - and would appreciate it if you could update the gist and maybe upgrade to proper slides (Google Slides, Slides.com, whatever works for you).

@agriyakhetarpal
Copy link
Collaborator

I agree with @Animesh-Ghosh – the content should be alright for our audience, but going the extra mile with a small demo would be great. I'd love to hear such a talk as well.

I think we can accept this as a lightning talk for today (apologies for the short notice!), and if you wish to, we can have a longer, thirty-minute session in January.

@agriyakhetarpal
Copy link
Collaborator

Also, yes – if you can, please bring some slides!

@Animesh-Ghosh Animesh-Ghosh added scheduled talk/workshop is scheduled for next meetup accepted congrats, your talk is accepted labels Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted congrats, your talk is accepted proposal want to talk at pydelhi scheduled talk/workshop is scheduled for next meetup
Projects
None yet
Development

No branches or pull requests

3 participants