Source

oscon-2011 / index.html

Full commit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Scaling Django Apps</title>

<!-- metadata -->
<meta name="generator" content="S5" />
<meta name="version" content="S5 1.1" />
<meta name="presdate" content="20110728" />
<meta name="author" content="Charles McLaughlin" />
<meta name="company" content="Atlassian" />
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
<!-- style sheet links -->
<link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
<link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
<link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" />
<link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
<!-- S5 JS -->
<script src="ui/default/slides.js" type="text/javascript"></script>
</head>
<body>

<div class="layout">
<div id="controls"><!-- DO NOT EDIT --></div>
<div id="currentSlide"><!-- DO NOT EDIT --></div>
<div id="header"></div>
<div id="footer">
 <a href="https://bitbucket.org/cmclaughlin/oscon-2011">
  bitbucket.org/cmclaughlin/oscon-2011
 </a>
</div>
</div>


<div class="presentation">

<div class="slide">
  <h1>Scaling Django Apps</h1>
  <h4>Lessons learned at Bitbucket</h4>
  <br>
  <h4>Charles McLaughlin</h4>
  <h4>@mclaughlinct</h4>
  <h4>July 28, 2011</h4>
</div>

<div class="slide">
  <h1>Intro</h1>
  <h2>About me</h2>
  <h2>About Bitbucket</h2>
  <h2>About Atlassian</h2>
</div>

<div class="slide">
  <h1>About Bitbucket</h1>
  <h2>Free code hosting for Mercurial DVCS</h2>
  <h2>Launched June 2008 by @jespern</h2>
  <h2>Acquired by Atlassian September 2010</h2>
  <h2>In the last year:</h2>
  <ul>
    <li>Stablized the infrastructure, migrated off EC2</li>
    <li>Grew the team to 7 developers and 1 sysadmin</li>
    <li>Per-user pricing, lots of UI improvements, new features</li> 
  </ul>
</div>

<div class="slide">
  <h1>About Bitbucket</h1>
  <a href="images/bb-compare-view.png" target="_blank">
    <img src="images/bb-compare-view.png">
  </a>
</div>

<div class="slide">
  <h1>About Atlassian</h1>
  <h2>Founded in 2002</h2>
  <h2>Makers of JIRA and Confluence</h2>
  <h2>Strong SAS presense</h2>
  <h2>Offices in Sydney, San Francisco, and Amsterdam</h2>
  <h2>We're hiring!</h2>
</div>

<div class="slide">
  <h1>Our Scale</h1>
  <h2>150,000+ users</h2>
  <h2>200,000+ repositories</h2>
  <h2>3-4 terabytes of data on disk</h2>
  <h2>1 terabyte transferred per month</h2>
  <h2>1000 requests per second</h2>
  <h2>1 million visitors per month</h2>
  <a href="images/ga.png" target="_blank">
    <img src="images/ga.png">
  </a>
</div>

<div class="slide">
  <h1>Our Infrastructure - Frontends</h1>
  <h2>Django</h2>
  <h2>Pgbouncer</h2>
  <h2>Memcached</h2>
  <h2>Gunicorn</h2>
  <h2>Celeryd</h2>
  <h2>Nginx</h2>
  <h2>Supervisord</h2>
</div>

<div class="slide">
  <h1>Our Infrastructure - Backend</h1>
  <h2>PostgreSQL 9</h2>
  <h2>RabbitMQ</h2>
  <h2>Redis</h2>
  <h2>NFS</h2>
</div>

<div class="slide">
  <h1>Our Infrastructure</h1>
  <h2>One size does not fit all, there is no recipe</h2>
  <h2>We've gone from small to medium</h2>
  <h2>Preparing to go from medium to large</h2>
</div>

<div class="slide">
  <h1>Bitbucket at EC2</h1>
  <a href="images/bb-at-ec2.png" target="_blank">
    <img src="images/bb-at-ec2.png">
  </a>
</div>

<div class="slide">
  <h1>Bitbucket Migrated to Contegix</h1>
  <a href="images/hardware-iteration-1.png" target="_blank">
    <img src="images/hardware-iteration-1.png">
  </a>
</div>

<div class="slide">
  <h1>Postgres9 Replication, Sharded Storage</h1>
  <a href="images/hardware-iteration-2.png" target="_blank">
    <img src="images/hardware-iteration-2.png">
  </a>
</div>

<div class="slide">
  <h1>HAProxy</h1>
  <a href="images/hardware-iteration-3.png" target="_blank">
    <img src="images/hardware-iteration-3.png">
  </a>
</div>

<div class="slide">
  <h1>Moar Storage</h1>
  <a href="images/hardware-iteration-4.png" target="_blank">
    <img src="images/hardware-iteration-4.png">
  </a>
</div>

<div class="slide">
  <br/>
  <br/>
  <h3>Questions or comments?</h2>

</div>

</div>
</body>
</html>