servicetitan / Stl.Fusion
Build real-time apps (Blazor included) with less than 1% of extra code responsible for real-time updates. Host 10-1000x faster APIs relying on transparent and nearly 100% consistent caching. We call it DREAM, or Distributed REActive Memoization, and it's here to turn real-time on!
πΎ Fusion: the "real-time on!" switch that actually exists
Fusion is a .NET library that implements π¦ Distributed REActive Memoization (DREAM) β a novel abstraction somewhat similar to MobX or Flux, but designed to deal with an arbitrary large state spanning across your backend microservices, API servers, and reaching even every client of your app.
Fusion solves a set of infamously hard problems with a single hammer:
Problem | So you don't need... |
---|---|
π Caching | Redis, memcached, ... |
π€Ή Real-time cache invalidation | No good solutions - it's an infamously hard problem |
π Real-time updates | SignalR, WebSockets, gRPC, ... |
π€¬ Network chattiness | A fair amount of code |
π Offline mode support | A fair amount of code |
π± Client-side state management | MobX, Flux/Redux, Recoil, ... |
π° Single codebase for Blazor WebAssembly, Server, and Hybrid/MAUI | No good alternatives |
And the best part is: Fusion does all of that transparentlyβ¦
Repository's README.md describes what Fusion is and how it works. There is a fair number of samples and interactive tutorial:
Please feel free to ask any questions in comments - I'm the author of this library.
Top comments (0)