dtantsur | JayF: nothing there seems outrageous. On the other hand, I keep pondering if we're overthinking it, and both ironic and IPA could do well with OS threads. | 11:55 |
---|---|---|
dtantsur | IPA especially, since it's 2-threaded by design essentially. | 11:56 |
JayF | I disagree with the base premise that OS threads are easy / less thinking than an asyncio based solution, given most libraries and python apps written today use that pattern | 14:08 |
JayF | **specifically in context of IPA I've not thought about this for Ironic itself yet** | 14:08 |
dtantsur | JayF: any complexity of OS threads exist in the async world, but not every complexity of the async world exists in OS threads | 16:01 |
dtantsur | also, async programming was invented to deal with concurrency levels of hundreds to thousands | 16:01 |
dtantsur | what we do with eventlet is a misuse for the technology (made easy by the eventlet's design) | 16:02 |
dtantsur | using async/await for a service that only runs 2 workers threads is like using kubernetes to run your PHP home page :D | 16:03 |
dtantsur | (I'm fine if we do that, more of an old man yelling at cloud) | 16:03 |
* dtantsur gets back to sundaying | 16:03 | |
JayF | in this case, maybe using kubernetes to run your php home page so you can get better at it for when you need to run it bigger :D | 17:22 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!