Re:Ask HN: How are you solving the microservices data problem?
by usgroup on Saturday February 18, 2017 @02:37AM
(#13673967)
Well the dream is orthogonality. It's not uncommon to have a data store like Cassandra setup with each data access micro service having its own key space. Other micro services then use the data access micro services in order to retain the single point of responsibility.
So what used to be 4 lines of code with a shared SQL db now requires at least 2 services which have to have corellation Id based logging to give you a fighting chance of working out what goes wrong, centralised log store, separate containers, monitoring, configured orchestration for the containers and some sort of communication between them ... what's not to love?
So what used to be 4 lines of code with a shared SQL db now requires at least 2 services which have to have corellation Id based logging to give you a fighting chance of working out what goes wrong, centralised log store, separate containers, monitoring, configured orchestration for the containers and some sort of communication between them ... what's not to love?