Too Long; Didn't Read
In the previous post, I proposed a sample architecture where location-based routing happened at two different stages. In this post, we'll see how we can implement routing at the two levels. We'll use Apache ShardingSphere as an indirect layer between the application and the data sources.