Exposing MongoDB Data as a Service
In the previous chapters, we learned how to analyze and design solutions for various data ingestion and storage problems. We also learned how to analyze and classify those problems. After that, we learned how to apply scalable design principles and optimally choose technologies to implement those solutions. Finally, we learned how to develop, deploy, execute, and verify those solutions. However, in a real-world scenario, it is not always a good idea to expose the whole database to downstream systems. If we plan to do so, we must ensure that proper authorization and access rules are implemented on the database (please refer to the Publishing problems section of Chapter 1, Basics of Modern Data Architecture, for various ways of publishing data). One of the ways to give selective and authorized access to data is by publishing via Data as a Service (DaaS).
DaaS enables data to be published by a platform and language-independent web service such as...