![Page 1: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/1.jpg)
Rapidly Building & Deploying Scalable Web ProductsKeith Fitzgerald2001 University of ScrantonCTO TicketLeap.com@ghostrocket
![Page 2: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/2.jpg)
Quick History
2001-2006: Primarily Java Development for DoD. RIA Development in JS/HTML/CSS/Flash
2006-2009: Mixed Language Development. Java & .NET. Architected Production Stack for NFL.com Team Web Properties
2009-Present: Technical Lead on TicketLeap.com. Python/Django running on AWS. Featured in AWS Case Study and various PR efforts.
![Page 3: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/3.jpg)
Goal of this Talk
Architectures Scale, not Prorgramming Languages/Frameworks.
Scale slides both ways. We can run a replica of the TicketLeap stack at $100/mo.
Launching a product that can scale upon traction has never been easier.
Whoever iterates the fastest wins.
![Page 4: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/4.jpg)
what does this do for me now?
![Page 5: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/5.jpg)
TicketLeap StoryTeam of 4 Developers and 1 QA vs our competitors teams of 40+ devs.
Hobby projects gave me the knowledge/comfort to roll this architecture.
We don’t own a single server (everything hosted)
Spent the time upfront to standup a Continuous Deployment system and process.
Major releases every month and minor releases a few times a week.
Can scale on demand or automatically.
![Page 6: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/6.jpg)
Let’s get started
![Page 7: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/7.jpg)
Source Control / Bug Tracking
What is Git?
http://github.com offers hosted revision control, bug tracking, wikis, and a great workflow for integrating/patching open source libraries.
Pricing Starts at $7/mo. Free for open source projects.
![Page 8: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/8.jpg)
Continuous Integration
What is Continuous Integration?
http://integrityapp.com/
Cost $0 (open source and can be hosted for free.)
![Page 10: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/10.jpg)
Heroku
Think of Heroku as Cloud Middleware.
Great place to get started without having to deal with the complexities of AWS EC2.
Easy integration with Git/GitHub.
Dead Simple Deployment/Scaling
Cost $0 for prototypes, $15/mo per background worker
![Page 11: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/11.jpg)
Persistence
PostGres/MySQL -> available via Heroku or AWS
NoSQL -> many products/providers. MongoHQ for MongoDB, Cloudant for Couchdb, Cassandra.IO for Cassandra, etc
$20-$60/mo
![Page 12: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/12.jpg)
S3/CloudFront
Never ever ever serve static files out of your application
S3 is priced at $0.125/mo per GB
CloudFront is $0.0075 per 10k HTTP/S requests
![Page 13: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/13.jpg)
Frameworks
Rails/Django/Node/CodeIgniter
Twitter Bootstrap
![Page 14: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/14.jpg)
Scaling
Databases can be sized vertically with a few commands. Partitioning schemes or horizontal scaling techniques are up to you.
Dynos/Workers on heroku are one command.
No Vendor lock in with Heroku. Easy drop into AWS, Joyent, or your own servers
![Page 15: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/15.jpg)
Demo
![Page 16: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/16.jpg)
![Page 17: Rapidly Building and Deploying Scalable Web Architectures](https://reader034.vdocuments.mx/reader034/viewer/2022051516/5598e30f1a28abb77d8b469f/html5/thumbnails/17.jpg)
Questions?