January 2019
Intermediate to advanced
484 pages
11h 48m
English
Stateless applications don't need to preserve the application or user data on the disk volume. Although stateless applications may write the data to the filesystem while a container exists, it is not important in terms of the application's life cycle.
For example, the tomcat container runs some web applications. It also writes an application log under /usr/local/tomcat/logs/, but it won't be affected if it loses a log file.
But what if you need to persist an application log for analysis or auditing? In this scenario, Tomcat can still be stateless but share the /usr/local/tomcat/logs volume with another container such as Logstash (https://www.elastic.co/products/logstash). Logstash will then send a log to ...
Read now
Unlock full access