Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Packaging and Shipping Rails Applications in Docker By Allan Espinosa You’re very happy as a Rails developer for drinking the Docker Kool-aid. You just need to toss a Docker image to your Ops team and you're done! However, like all software projects, your Docker containers start to decay. Deployment takes days to occur as you download your gigantic Docker image to production. Everything’s on fire and you can’t launch the rails console inside your Docker container. Isn’t Docker supposed to take all these things away? In this talk, I will discuss some Docker optimizations and performance tuning techniques to keep your Rails packaging and shipping pipeline in shape. Help us caption & translate this video! http://amara.org/v/JXxu/
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In his presentation at RailsConf 2016, Allan Espinosa discusses strategies for packaging and shipping Ruby on Rails applications using Docker. He emphasizes the need for optimizations and performance tuning to enhance both the deployment process and application performance. Espinosa, drawing from his extensive operations engineering background, highlights the importance of continuous feedback from production to refine application performance. Key discussion points include: - **Optimization Techniques**: Espinosa argues that optimizing Rails applications involves improving overall customer experience through better response times, efficient middleware, and fine-tuning server settings alongside optimizing SQL queries. - **Effective Logging and Instrumentation**: He stresses the significance of integrating logging mechanisms and application metrics to gauge user interactions, which informs scaling decisions based on real user data. - **Streamlined Deployment Process**: The speaker points out that slow deployments can negate optimization efforts. He suggests streamlining the deployment pipeline, leveraging Docker to minimize deployment times, and using build caching effectively. - **Managing Dependencies**: Espinosa emphasizes that developers must manage external dependencies, advocating for a strategy that involves vendoring where possible and configuring proxy services for faster local access to dependencies. - **Building Docker Images**: He explains how to structure a Dockerfile for Rails applications, promoting practices that lead to quicker builds by organizing files in a way that maximizes cache efficiency. - **Testing and Quality Assurance**: He advises running thorough tests on Docker images before deployment to ensure they are production-ready. - **Graceful Degradation**: The importance of implementing strategies for applications to maintain functionality during failures is highlighted, promoting resilience in the face of issues. - **Importance of Infrastructure**: Espinosa concludes by advising that a reliable infrastructure is foundational, noting that understanding the underlying principles of the technologies used helps developers adapt over time. Overall, the presentation teaches that while Docker simplifies packaging and shipping applications, optimizing the performance of Rails applications and refining the deployment process remain essential for maintaining effective operational workflows.
Suggest modifications
Cancel