Lazy load your heavy work through dunder
To increase performance typically one might want start multiple heavy tasks concurrent. This is already solvable with threads or the reactor-pattern but setting this up could be cumbersome or require direct interactions with threads etc. What inspired me was the quest to run concurrent database queries within a single request in rails. I just released dunder which tries to solve that problem. For a working example app check this one out: dunder-rails-demo
Post a comment