In my application I have scenario like below.
This way the cost of datatransfer is paid by us. Now, to reduce the cost we want to remove the rest api and store the data in the DB hosted across all the regions. This way exe used by the user will store data directly in the DB in the same region as the application of the user. We use this data in a webapplication for monitoring. I have identify three tentatively possible solutions:
I know that last method will work, but i want to go with it in the last place.
Can anyone suggest about federation across multiple regions?
What are the costs for DataSync?
Is there a better solution for this?
Thanks.
Regarding SQL Azure Federations: All federations must be in the same SQL Azure server, meaning same datacenter as well. I'm not sure what's on tap for future updates to Federations, regarding multiple servers.
Regarding data cost: Ingress is free, so regardless which datacenter hosts the REST interface, there wouldn't be a bandwidth charge for incoming data from your client applications.
I know you're not asking for architectural advice on REST vs. direct DB access, but... I'd give a bit more consideration to keeping the REST API vs. going with direct database access. By using the REST API, you'll have a nice way of scaling, as well as monitoring user activity. Also, you'd be able to change your schema (or move to Federations) transparently by just modifying your REST implementation, vs. pushing this knowledge down to your client application.