Published May 14, 2020

Episode 409: Joe Kutner on the Twelve Factor App.mp3

Joe Kutner, Software Architect at Heroku, delves into modern software development practices by examining the Twelve Factor App methodology's role in ensuring scalable, maintainable systems. The episode explores key topics like containerization for administrative processes, state management in scalable applications, and innovative logging techniques in cloud-native environments.
Episode Highlights
Software Engineering Radio - the podcast for professional software developers logo

Popular Clips

Episode Highlights

  • Ephemeral Logging

    Ephemeral logging offers significant operational benefits by simplifying how logs are managed in modern application frameworks. explains that traditional logging methods involve writing logs to files, which then require rotation and management, creating an operational burden 1. Instead, ephemeral logs flow through stdout and are captured by external systems, reducing this burden and allowing logs to be treated as event streams. This approach not only facilitates easier log management but also enhances the ability to monitor applications by sending logs to systems that can parse them for metrics or security markers 2.

    By treating the logs as events, it kind of decouples you from the various jobs that need to be done with those events, whether it's again collecting metrics or storing them, or scanning them or searching them.

    ---

    This method is particularly useful for telemetry and security purposes, providing early warnings for potential issues.

       

    Event Streams

    Treating logs as event streams integrates seamlessly with telemetry systems, enhancing monitoring and alerting capabilities. highlights that this principle allows logs to be decoupled from the various tasks associated with them, such as metrics collection and storage 3. This decoupling is crucial for efficient application monitoring, as it enables logs to be processed by specialized systems that can provide valuable insights into application performance and security.

    The focus for logs is more on the aggregation, which leads to searching, storage and other responsibilities.

    ---

    By treating logs as streams, developers can leverage cloud-native tools like Prometheus for more effective telemetry, avoiding the pitfalls of traditional logging methods.

Related Episodes