<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Richard Lee on Medium]]></title>
        <description><![CDATA[Stories by Richard Lee on Medium]]></description>
        <link>https://medium.com/@richardtylee?source=rss-6b0b8fb68db2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*atEAmQzH9D2J8GaD.</url>
            <title>Stories by Richard Lee on Medium</title>
            <link>https://medium.com/@richardtylee?source=rss-6b0b8fb68db2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 20:39:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@richardtylee/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Riding the Big Blue Whale: Docker Adoption at Scale]]></title>
            <link>https://medium.com/bleacher-report-engineering/riding-the-big-blue-whale-docker-adoption-at-scale-1d231b6e3eb2?source=rss-6b0b8fb68db2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d231b6e3eb2</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[elixir]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[qa]]></category>
            <dc:creator><![CDATA[Richard Lee]]></dc:creator>
            <pubDate>Wed, 17 May 2017 21:34:10 GMT</pubDate>
            <atom:updated>2017-05-19T19:19:16.229Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3HRD6ZCDbL7n2n-YdXbaHg.png" /></figure><p>Bleacher Report was founded in 2007. When we hired our first engineer, we had 50,000 monthly users on our site. Like most startups, we developed our website as a monolithic application, implemented with Ruby on Rails and hosted on Amazon Web Services (AWS). Our engineering team built all the nuts and bolts of our cloud infrastructure using EC2, CloudFormation and Chef.</p><p>Fast-forward to today and we have over 100 million visits each month, mainly driven by the <a href="https://br.app.link/oyMxrpPgiC">B/R app</a>. The app averages 5 million monthly global users. Bleacher Report also sends out over 3 billion push notifications per month. At our peak traffic, we have had over 275,000 concurrent users.</p><p>As our audience and traffic grew, we re-evaluated our codebase and infrastructure. Starting with the most impacted parts of our codebase, we started to break down the monolith into microservices. While we maintain a large Ruby codebase, we’ve expanded into Elixir and NodeJS. In total, we have 25 services and growing. Having started with just one engineer, our team is now over 30 engineers strong.</p><p>Tung Nguyen described our journey at the DockerCon EU 2014 Keynote:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fu7zHUC3dmRg%3Fstart%3D891%26feature%3Doembed%26start%3D891&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Du7zHUC3dmRg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fu7zHUC3dmRg%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/22d1f5ee072c1c3b6bc7ab57e7590349/href">https://medium.com/media/22d1f5ee072c1c3b6bc7ab57e7590349/href</a></iframe><p>To scale our user, service and team growth, we adopted Docker to our software delivery lifecycle (SDLC). This benefited everyone on our team from devs to DevOps to QA.</p><h4>Developer Freedom</h4><p>Our developers want to choose the right tool for the right job. This means choosing the optimal language and framework to implement our services. This also means provisioning all the needed resources, like databases, redis and queues. With Docker, all of this is available to us. From languages like Ruby to queues like RabbitMQ, DockerHub contains all the community-supported building blocks we need.</p><p>For local development, Docker has helped deal with all the versioning of different languages and resources. When I was onboarded to our team, I had to download multiple versions of Ruby. While version managers helped, I still had library collisions, and I was required to switch versions depending on which service I was working on.</p><p>Today, all that is taken care of in my Dockerfile. My docker-compose file orchestrates and provisions my resources like Postgres, Redis and RabbitMQ. I no longer need multiple versions of Ruby, Elixir, NodeJS or Postgres on my local machine to start coding. This empowers developers to jump on any project and contribute right away.</p><p>One major development that really improved our development process was the release of <a href="https://blog.docker.com/2016/07/docker-for-mac-and-windows-production-ready/">Docker for Mac</a> in July 2016 (along with Docker for Windows if that’s your preferred OS). The native development environment is much more stable than the previous iterations. Since Docker is ever evolving, it also automatically keeps our machines up to date.</p><p>While Docker is the standard for our team, it might not fit all development needs. We have a few legacy services that aren’t running on Docker. Rather than <em>dockerizing</em> those services, we determined our time was best spent implementing new services that would eventually sunset the legacy ones. Another case that wouldn’t work well with Docker would be a hot code upgrade in Elixir. Since Docker images are immutable, a build and deploy must occur to upgrade the service. It is possible to do manual hot code upgrades, but the process is very cumbersome. For our use cases, this is acceptable, but we always have these discussions before <em>dockerizing</em> a new service.</p><h4>DevOps Sanity</h4><p>More than any part of our team, our DevOps engineers were the most impacted as we began to create microservices. Creating a stack for a new service was a long back-and-forth process between developers and DevOps. A working system would often take days to construct.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*95orQ9xUW1BotMhU." /></figure><p>These stacks were created using CloudFormation and Chef. They are great tools but not very accessible for developers. DevOps would often take on the responsibility of building and maintaining these stacks. Developers would then submit requests to have these stacks updated as needed. These issues became more compounded when we started to add different languages, frameworks and tools.</p><p>With Docker, the developers are empowered to build the infrastructure stack. Writing a Dockerfile is much more accessible than a chef cookbook. And since the Docker image is used from development to production, there are fewer library and versioning issues that can occur (i.e. fewer “this worked on my machine”<em> </em>type issues). A working stack can often be built in a few hours.</p><p>With developers maintaining their own stacks, our DevOps team became free to construct the tools we need to deploy our services and optimize our SDLC. Rather than focusing on updating stacks, they are able to build the <em>glue to our system</em>.</p><p>Our Lead DevOps Engineer, Benson Wu, described how our team uses Docker at re:Invent 2016:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FBVJ7hTCc2RE%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DBVJ7hTCc2RE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FBVJ7hTCc2RE%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/537701117070fd648f6f5d6e9116bc81/href">https://medium.com/media/537701117070fd648f6f5d6e9116bc81/href</a></iframe><h4>Single Set of Tools</h4><p>As the number of services grew, our QA team began to experience the same challenges as DevOps and dev. Like our DevOps team, QA had to manage an ever-growing book of deployment instructions for each service. In some cases, builds were done locally before being deployed. Like our developers, QA had to support different versions of languages and tools on their local machines.</p><p>With Docker and some great work from our DevOps team, we can now build and deploy any of our branches to any environment using an on-demand remote server. A build is now done through Docker and then deployed to a staging or production environment. Docker gives us a simple, common platform that enables us to do this.</p><h3>Closing</h3><p>Bleacher Report started adopting Docker in 2014. It improved our workflow and allowed us to move fast. We were able to add Elixir and NodeJS into our arsenal without implementing nuts-and-bolts infrastructure similar to what we used for our Rails monolith. Whether you are breaking down your decade-old monolith or expanding your company’s product offering, Docker can help you build at scale.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d231b6e3eb2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bleacher-report-engineering/riding-the-big-blue-whale-docker-adoption-at-scale-1d231b6e3eb2">Riding the Big Blue Whale: Docker Adoption at Scale</a> was originally published in <a href="https://medium.com/bleacher-report-engineering">Bleacher Report Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>