Let’s Talk about Microservices “Owning” their Data

Guy Sela
Dev Genius
Published in
5 min readJan 10, 2022

--

I had a discussion with a colleague the other day about the design of the interface my microservice will use to expose a specific data set. The data is saved by my microservice in Elastic Search and meant to be consumed and presented by the UI in different forms, according to filters the end user will choose. When I merely suggested the blasphemous idea of having the backend of the UI querying the data directly from Elastic Search, the classic “Microservices should never expose their underlying data store” argument was ignited.

--

--