Forum Discussion

klortorve's avatar
klortorve
Copper Contributor
Oct 31, 2023

Azure sharing data between microservices

Hi, I program in .NET and I use Azure to run my application. I have three services there and I am currently solving one problem. I am using a Message Broker to communicate between the services. However, I need to transfer and share one table from service A, which has about 100 records, between the services. How should I approach this? I am not using EvenSourcing.
1. I thought of maintaining an azure storage table next to my SQL table, but I would have to write all changes to two points and inconsistencies can arise quite easily.
2. I thought of sending it only to the Azure Storage Table when needed, but there again it is awkward to have to create multiple tables and not "update" just one.
3. I also thought of using Redis and refilling it when the cache expires. I quite like this solution, but I don't know if it's the right one and the price is a bit overkill.
4. Send log/record updates via message broker and update status in other services. This doesn't strike me as an appropriate use of Message broker, but I could be wrong.

No RepliesBe the first to reply

Resources