I am currently studying on MariaDB for HA and data sharding, but there are a few points that confuse me, please helps me out with it.
Suppose I wanna implement data sharding to my Galera Clustering, I think both MaxScale and Spider can do this. So, what exactly is the difference between MaxScale and Spider? If the functions they provide overlap, can I choose only one of them to implement it? Or can I combine these two solutions to make the different improvement?
As I mentioned above, I wanna to implement the data sharding to improve the writing speed of the system. But the main goal(or advantage) of Galera Clustering is to support multi-master replication so that it can guarantee the high availability, isn't it? So when I shard the data into cluster, the data inconsistency must be happened right? Is there always a trade-off to determine whether efficiency or availability? And what're the alternatives on in this situation?
Thank you guys very much!