3 ms·
Dapr is a tool/library to implement some of those ideas, in particular factors 3, 4, 6, 8, and 9.
by cmeacham98 6y ago
Dapr is a tool/library to implement some of those ideas, in particular factors 3, 4, 6, 8, and 9.
- hobofan 6y agoI feel like especially those factors mainly rely on framework (e.g. Rails) support and I don't see much benefit from an additional library there. The main value proposition from what I can tell is the one of swappable components, but from my experience with other systems that try to achieve something similar it's likely a flawed one. E.g. in a lot of ORM libraries you can _in theory_ easily swap your MySQL database for Postgres, but in practice if you actually want to make that transition (which also rarely tends to happen during the lifetime of a single project) it's such a big hassle that you didn't gain much from using the abstracted version. In the meantime you also often have to restrict yourself to the lowest common denominator that is supported by the specific implementations, so you loose out on a lot of powerful features.
- jerrlend 6y agoDapr gives you some capabilities that libraries don't have. at first we had the same concerns, but for our use case it works really well. We're using Dapr with Redis and it gives us state versioning using etags which is something Redis doesn't natively have. there's a bunch more features it adds like scoping and consistency.