This is going to be a generic question.
We are a young startup faced with the inevitable problem of scaling and during our research, Apache Mesos seemed like a good fit for our architecture, which is –
- Core Scala based microservices, each responsible for dealing with a part of our database, which is mainly MySQL
- Middleware microservices, to deal with some other persistent data-storage systems like MongoDB, Elasticsearch etc.
Which basically means that we can containerise all of our services and ship them to a single datacenter which can then deploy these containers in a topographically agnostic way.
What we are currently stumped by is –
- Mesos doesn't seem to have any native support for MySQL
- Container based persistence seems awfully tricky and hard to manage/maintain.
We'd like to continue using MySQL/MongoDB/ElasticSearch because migrating to Cassandra etc. at this stage (we are a small team) is too much of an overhead and hence not an option. What are the best strategies for this problem?