infrastructure of the social highway preview

17
Khan Klatt, VP of Technology, Salad Labs, Inc. Infrastructure of the Social Highway Creators of

Upload: wappow

Post on 22-Apr-2015

299 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Infrastructure of the social highway Preview

Khan Klatt, VP of Technology, Salad Labs, Inc.

Infrastructure of the Social Highway

Creators of

Page 2: Infrastructure of the social highway Preview

#emmecon http://i.khan.org/emmecon-khan

Page 3: Infrastructure of the social highway Preview

Photo Credit:cafeconlecheporfavor @ Flickr

Agenda

Adding Value

Technology Then & Now

A Deeper Dive

Technology

Process

People

Parting Thoughts

Page 4: Infrastructure of the social highway Preview

The good news is that more than ever,

value accrues to those that show up,

those that make a difference,

those that do work that matters.

-Seth Godin

Photo Credit:eat more toast@ Flickr

Page 5: Infrastructure of the social highway Preview

Photo Credit:jacksnell707 @ Flickr

Key Differences between now & 19951. You had to do the full stack, or at least huge part of it.2. Computer hardware was expensive3. Huge lead times to order, receive, install and deploy.4. Programming languages, architectures and frameworks were not as mature

and not as capable.

Page 6: Infrastructure of the social highway Preview

full stack

Page 7: Infrastructure of the social highway Preview

Storage vs.Memory/CPU

Magnitude

Time (Years)

Logarithmic Scale!

Page 8: Infrastructure of the social highway Preview

SaaS = Software as a Service

PaaS = Platform as a Service

IaaS = Infrastructure as a Service

Photo Credit:captpiper @ Flickr

full stack revisited

Page 9: Infrastructure of the social highway Preview

A Few Thoughts on the Cloud (IaaS)

Benefits:• Speed• Cost• Flexibility• Scalability• Elasticity

Detriments:• Less Control• Costly at large scale• Lower Performance

Photo Credit:paul-vallejo @ Flickr

expensive revisited

Page 10: Infrastructure of the social highway Preview

“I Meant To Do That!”

Photo Credit:estherase @ Flickr

Page 11: Infrastructure of the social highway Preview

Photo Credit:m2w2 @ Flickr

If all you’ve got is a hammer…

Ask yourself:

What classes of data do you have?

How consistent does it have to be?

How available does it have to be?

How up-to-date does it have to be?

What’s the breakdown of reads to writes?

What’s your tolerance for operations and DBA overhead?

What’s your tolerance for engineering and development overhead?

How much scalability do you need?

Page 12: Infrastructure of the social highway Preview

Scalability & The Art of Engine Maintenance at 20,000 feet

As the size and transaction volume of the database grows linearly, response times tend to grow logarithmically.

Page 13: Infrastructure of the social highway Preview

Typically (but not always) linear growth tends to be fairly flat, meaning logarithmic scale is expensive.

Scale

Cost

Page 14: Infrastructure of the social highway Preview

Consider the Graph…

Photo Credit:iconolith @ Flickr

Page 15: Infrastructure of the social highway Preview

Photo Credit:maynard @ Flickr

Batch Processing & Machine Learning(Hadoop, MapReduce, Mahout)

Application Cache(memcached) Web Server

(apache)

Application Server(JVM, Ruby on Rails, Symfony)

Data Persistence(ACID, BASE, or Graph)

Putting It All Together

Web Server(nginex)

Page 16: Infrastructure of the social highway Preview

Sprint, Don’t Walk, to Agile*

“The chemistry-building manager takes pains to divide the work into pieces and makes sure that each piece has some substantive demonstration of its own completion.

Such a manager may contrive to deliver a product in twenty versions, even though two are sufficient for upper management and the user. It may even be necessary to conceal some of these interim versions from the client, and build them only for internal confirmation and satisfaction.

Each new version is an opportunity for closure. Team members get warmed up as the moment approaches, they sprint near the very end. They get a high from success. It suffuses them with renewed energy for the next step. It makes them feel closer together.”

Tom DeMarco & Timothy Lister, PeopleWare, 1987

* Unless you are literally going to Mars! Photo Credit:lowercolumbiacollege @ Flickr

Page 17: Infrastructure of the social highway Preview

Creators of

Personal Contact:• Twitter: @khanklatt • Blog: http://www.khan.org• LinkedIn: khanklatt

VP of Technology at Salad Labs, Inc.http://www.saladlabs.comhttp://www.popsalad.com

Photo Credit:vernhart @ Flickr