• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Thin Server Architecture
 

Thin Server Architecture

on

  • 7,990 views

This is my presentation from code|works in NYC 2009 on Thin Server Architecture. The funny animal slides were "sleeper checks" as this was the morning session.

This is my presentation from code|works in NYC 2009 on Thin Server Architecture. The funny animal slides were "sleeper checks" as this was the morning session.

Statistics

Views

Total Views
7,990
Views on SlideShare
7,956
Embed Views
34

Actions

Likes
6
Downloads
126
Comments
0

4 Embeds 34

http://www.slideshare.net 19
https://yabs.io 7
http://www.mitchitized.com 5
http://trilancer.wordpress.com 3

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Thin Server Architecture Thin Server Architecture Presentation Transcript

  • Extreme Scale: Thin Server Architecture Mitch Pirtle codeworks new york city 2009
  • Wha? As website interactivity demands put a bigger strain on your beautiful code, faster internet connections and more website visitors don't make it any easier. There is a way to dramatically drop the overhead of rendering a page, by asking the browser to do all the work. Learn how to scale your applications to absurd extremes with this simple, ingenious concept.
  • Before we begin Coffee? Breakfast?
  • How it all started
  • Internet Web server Data server Data Center
  • Hey, this thing is taking off
  • Internet Web server Data server Data Center
  • Ok, we can handle that
  • Internet Web server Data server Data Center
  • See the pattern?
  • Problems with this approach Ties computation with display Significantly increases load Significantly reduces opportunity to cache IT DOESN’T SCALE
  • But wait, there’s more Most developers suck at design Most designers suck at code We just mixed a huge load of markup and code together in a big, amorphous glop
  • There’s got to be a better way.
  • Thin Server Architecture
  • Wha? Keeps display and logic separate Pulls unique information separately Cache is simpler to implement Cache reused objects separately from dynamic
  • What it looks like
  • TSA to PHP developers M M V V C C PHP PHP Browser
  • Problems solved Seperates display from computational work Simplifies cache implementation Lowers network latency, bandwidth usage Users perceive fast, snappy response Opens the door to rich internet applications (RIA)
  • Great example: Dojo
  • Dojo Toolkit http://www.dojotoolkit.org/
  • TSA is platform agnostic CODE: You can use Perl, Ruby, Python, PHP, etc. CLIENT: You can use Dojo, jQuery, MooTools, etc. DATA: The simpler the better...(next slide, Mitch)
  • Why develop in an object language, just to stuff mismatched chunks of your objects in a non- object data store?
  • MongoDB Document store with speed, scale of key/value and creature comforts of relational systems
  • What MongoDB can do Simplifies development Stores in binary JSON objects Return data directly to browser in JSON Store data, binary objects, whatevah!
  • Time for my favorite game Stump the Nerd™
  • Great resources
  • Thin Server Architecture http://www.thinserverarchitecture.com/ http://www.slideshare.net/rajivmordani/practical-thin- server-architecture-with-dojo-peter-svensson- presentation
  • Rich Internet Applications http://en.wikipedia.org/wiki/Rich_Internet_application
  • Thanks! http://www.spacemonkeylabs.com http://www.mitchitized.com
  • Photo credits Bulldog Frances (stock photo by jaimo) Cat (stock photo by klsa12) Sleepy zoo lioness (stock photo by Meeshoo)