January 2018
Intermediate to advanced
366 pages
9h 7m
English
After we create the files from CommandStack, it's time to create the files in QueryStack.
In the query_db directory, we have only one Dockerfile. In this file, we have configured a MongoDB as the database. Look at the following file:
FROM mongo:latestCMD [ "mongod", "--smallfiles", "--logpath=/dev/null" ]
At the end of the database configuration settings, we have a PostgreSQL for the CommandStack segment and a MongoDB for the QueryStack segment. This choice is due to the characteristics of the two technologies in front of the business. Postgres addresses an area where consistency is paramount, and Mongo addresses an area where non-impedance is most important.
Read now
Unlock full access