25.11.2014 Views

Conference Notes and Best Practices Release 1.3 ... - Read the Docs

Conference Notes and Best Practices Release 1.3 ... - Read the Docs

Conference Notes and Best Practices Release 1.3 ... - Read the Docs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Conference</strong> <strong>Notes</strong> <strong>and</strong> <strong>Best</strong> <strong>Practices</strong>, <strong>Release</strong> <strong>1.3</strong><br />

More Requests Less Money<br />

History<br />

• Old, Old, HTML<br />

• Perl, Drupal, Rails<br />

Problem<br />

• Ads were gradually going down.<br />

• AWS bills were growing<br />

• Active scaling horizontally<br />

• Had to pay licensing fees for using software<br />

Realizations<br />

• Can’t offer commenting as well as Disqus<br />

• OK if articles dont’ appear right way for entire world as long as it eventually shows up<br />

• A little down time is manageable<br />

Solution<br />

• Managed dedicated server behind Amazon cloudfront<br />

• Use disqus<br />

Arch<br />

• Old arch, multiple high=cpu medium instances, extra large RDS instance<br />

• Over 3000/month<br />

New Arch<br />

• Dedicated server, 16gb RAM, mysql, SSD, Apache Modwsgi<br />

• Cloud instances for forums <strong>and</strong> domains redirects<br />

• Disqus<br />

• Additional cloud instances<br />

• Managed operations services<br />

• 1325/month<br />

Migrating Content<br />

• 60000 raw html articles<br />

• 4.5 million non spam comments<br />

• SQL dump <strong>and</strong> public facing templates only way to get content<br />

24 Chapter 3. <strong>Conference</strong>s

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!