Service Fabric services done right

Reading Time: 12 minutes

So, currently I’m working on a brand-new project involving variety of services being run on Service Fabric cluster in Azure. I’ve never had anything to do with Service Fabric (except for one, short hackathon) before, nor have any of my team mates. For the last couple of weeks, we’ve been struggling to make good architectural choices for the platform we’re still learning about. For the last few days we were working on a service that on certain triggers will populate Redis cache with certain sets of values. The logic of such service is pretty complex, as it has to keep two data sources (Redis and SQL DB) in sync, based on some sets of business rules. Another problem is that there are millions of those values to keep in sync. I’m not going to reveal all those rules and explain all the business domain (NDA + it would take too much time). I will just give you the quick overview of how we initially approached the problem and why we were wrong.

Continue reading “Service Fabric services done right”