What if I applied module federation to lambda functions. The mechanics are there. It would give us multithreaded computing while still working like a monolith
-
-
If you’re familiar with my work on module federation, it has the ability to federate code on a server as well. So while I’m able to require, at runtime, code from other repos that were deployed independently - I’m thinking about executing the federated code in a lambda too 1/2
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
https://link.medium.com/wO6TGjOPD4 this, but with adaptations or extra tooling to work with lambda functions, similar to how a worker would in a monolith. Because it supports async - you could await execution on another thread while still sharing state. Like service workers
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
2/2 the idea would be to have federated function still execute off the main thread, but still work as a monolith. Federated lambda functions would execute across other threads. So there’s no bottlenecking on CPU/single threading
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.