Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Developing Eventbrite with Docker

Developing Eventbrite with Docker

A talk I gave at the SF Django meetup for January 2016

Andrew Godwin

January 28, 2016
Tweet

More Decks by Andrew Godwin

Other Decks in Programming

Transcript

  1. Andrew Godwin @andrewgodwin
    Docker
    DEVELOPING
    Eventbrite
    WITH
    flickr.com/photos/st3f4n/

    View full-size slide

  2. Eventbrite is a monolith

    View full-size slide

  3. Eventbrite is a monolith
    Dev env is a monolith

    View full-size slide

  4. One Vagrant box
    2 - 12 hour rebuild time

    View full-size slide

  5. Services! Separate codebases!
    ...way more requirements

    View full-size slide

  6. Also, I'm running a VM and
    this annoys me a lot.

    View full-size slide

  7. The Docker project begins!

    View full-size slide

  8. Eventbrite is a lot more complex.

    View full-size slide

  9. Over 120 containers.

    View full-size slide

  10. Problems with core Docker

    View full-size slide

  11. SSH Keys
    One per engineer, no common ones

    View full-size slide

  12. Garbage collection
    A *clean* image set for us is over 1000 image layers

    View full-size slide

  13. Profiles
    You don't want to run it all

    View full-size slide

  14. Centralised Dockerfile loc'n
    Some containers use multiple repos

    View full-size slide

  15. Rebuilding still takes a while!

    View full-size slide

  16. ...but we can make servers do it

    View full-size slide

  17. Future Plans
    Docker image mirrors in each office
    Better network management for containers
    Shared/remote containers to lower RAM use
    Parallel container startup

    View full-size slide

  18. Thanks.
    Andrew Godwin
    @andrewgodwin

    View full-size slide