Alex Sinclair
12/07/2020, 2:26 PMrequest->logic->db->logic->response
, we could make that ->db->
call asynchronous using coroutines, but... is there a benefit? In JS the async/await
makes sense because of the single-threading and how it nicely replaces callbacks, but... if Tomcat pauses the thread (which I assume it does, I'm certainly no expert on anything I've said here) then coroutines wouldn't have much benefit, right?
I appreciate any insights you have, including schooling me on my false assumptions and faulty reasonings 🤣Joe
12/07/2020, 3:54 PMasad.awadia
12/07/2020, 4:00 PMJoris PZ
12/07/2020, 6:21 PMAlex Sinclair
12/09/2020, 1:56 PM