Effect CommunityEC
Effect Community2y ago
3 replies
Tobi

Effect-Cluster with TRPC-CRDT Integration

Would be amazing if effect-cluster can interact with something like:https://github.com/KyleAMathews/trpc-crdt
Basically one is doing the query and mutations on the local postgres in the browser and it is then synced to the cluster postgres db. And for business logic that needs to get only executed on the backend one could use trpc-crdt (modeling the trpc as state machine for having no inconsistency between frontend and backend). And having streaming queries (likely just being able to have electric-sql + trpc-crdt as plugin).
Was this page helpful?