• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Social apps & social scalability
 

Social apps & social scalability

on

  • 832 views

Presentation I made in the Mar del Plata Developers Conference in 2011 about social apps, and social scalability.

Presentation I made in the Mar del Plata Developers Conference in 2011 about social apps, and social scalability.

Statistics

Views

Total Views
832
Views on SlideShare
832
Embed Views
0

Actions

Likes
1
Downloads
18
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

    Social apps & social scalability Social apps & social scalability Presentation Transcript

    • We’re hiring! Social Apps And Social Scalability Matias Paterlini AltodotTuesday, December 6, 11
    • <?php echo “Hola Mundo!!!”; ?>Tuesday, December 6, 11
    • about me...Tuesday, December 6, 11
    • • CTO & Co-founder at Altodot (creators of The Fan Machine) • Former CTO & Co-founder at Virtualinmobiliario.com • Former CTO & Co-founder at Xristianos Producciones • Jóven Empresario Bonaerense 2008 • Head at Emprendedores CristianosTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • What we doTuesday, December 6, 11
    • Social Apps!!!Tuesday, December 6, 11
    • What???Tuesday, December 6, 11
    • Web or desktop applications connected to Social NetworksTuesday, December 6, 11
    • Which social Networks?Tuesday, December 6, 11
    • Facebook Twitter Orkut Google + Sonico Foursquare Google Linkedin Hi5Tuesday, December 6, 11
    • Most Annoying API award?Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Some Facts...Tuesday, December 6, 11
    • TwitterTuesday, December 6, 11
    • • 500K users in Argentina • 0,56 % of users produce 50% of the content. • The majority uses SmartPhones • Users with more than 10 friends: 60% • Users with more than 130 friends (media at Facebook), 20%.Tuesday, December 6, 11
    • Open SocialTuesday, December 6, 11
    • • 1,6 Billion Users world wide (several times duplicated people) • 100x “Social networks” implemented • Orkut still leading at Brazil • Just launched Open Social 2Tuesday, December 6, 11
    • FacebookTuesday, December 6, 11
    • • 750+ MM Users • +18 Million in Argentina (85% penetration) • +1 M Active Users in Argentina in May • 50% of active users login every day • average user has 130 friends • Billion dollars businessTuesday, December 6, 11
    • • devs from 190 countries • 20 million installs every day • 250 million uses FB Connect every day • 10K websites integrated every day • 900 million open graph objects • 70 translationsTuesday, December 6, 11
    • What can we do?Tuesday, December 6, 11
    • TwitterTuesday, December 6, 11
    • REST API Real Stream API Search APITuesday, December 6, 11
    • Any limits?Tuesday, December 6, 11
    • 350 Authorized Requests per hourTuesday, December 6, 11
    • Deal with it...Tuesday, December 6, 11
    • Some SamplesTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • THE Social NetworkTuesday, December 6, 11
    • FacebookTuesday, December 6, 11
    • Social GraphTuesday, December 6, 11
    • Tuesday, December 6, 11
    • THE PlatformTuesday, December 6, 11
    • Graph API REST API ADS API Facebook Credits Graph API explorer XFBML Javascript SDK (FB Connect) Social Plugins Places APITuesday, December 6, 11
    • THE ProtocolTuesday, December 6, 11
    • Open GraphTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Graph APITuesday, December 6, 11
    • Objects ReferenceTuesday, December 6, 11
    • Objects Handling: POST, GET, DELETETuesday, December 6, 11
    • Public info, private infoTuesday, December 6, 11
    • Objects ConnectionsTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • REST ApiTuesday, December 6, 11
    • Javascript SDKTuesday, December 6, 11
    • Ads APITuesday, December 6, 11
    • Social ChannelsTuesday, December 6, 11
    • Canvas PageTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • FanPage Tabs (apps)Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Feed Stories on WallsTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Facebook ConnectTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Otras ideas...Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Social PluginsTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Like BoxTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Like and Send ButtonTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Live StreamTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Comments BoxTuesday, December 6, 11
    • Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • Social ScalabilityTuesday, December 6, 11
    • The Fan Machine ScalabilityTuesday, December 6, 11
    • The Friendfeed approachTuesday, December 6, 11
    • Horizontal ScalabilityTuesday, December 6, 11
    • Static File Caching Web Server 1 Web Server 2 Web Server 3 Data Caching Database 1 Database 1 (replicated DB)Tuesday, December 6, 11
    • What about the DB?Tuesday, December 6, 11
    • Static File Caching Web Server Web Server Web Server 1 2 3 (Transaccional, read-write) Data Caching Master Slave Slave Database Database Database (read) (read)Tuesday, December 6, 11
    • DB scalling issues...Tuesday, December 6, 11
    • Tuesday, December 6, 11
    • • MAAAAANY RecordsTuesday, December 6, 11
    • • MAAAAANY Records • Caching not enoughTuesday, December 6, 11
    • • MAAAAANY Records • Caching not enough • Alters lock tables for hours!Tuesday, December 6, 11
    • • MAAAAANY Records • Caching not enough • Alters lock tables for hours! • Maintenance IssuesTuesday, December 6, 11
    • • MAAAAANY Records • Caching not enough • Alters lock tables for hours! • Maintenance Issues • Que haces si se corrompe la base porque alguien se engancha el cable de la luz con el pié???Tuesday, December 6, 11
    • Possible solutions...Tuesday, December 6, 11
    • Hbase MongoDB Cassandra Membase SimpleDB NoSQL BigData CouchDB Hipertable RaptorDBTuesday, December 6, 11
    • NoSQL = No Trust!Tuesday, December 6, 11
    • THE approachTuesday, December 6, 11
    • MySQLTuesday, December 6, 11
    • Sharded MySQL databasesTuesday, December 6, 11
    • MySQL emulating NoSQL over Sharded DatabasesTuesday, December 6, 11
    • If( MySQL == NoSQL) { die(‘WTF???’); }Tuesday, December 6, 11
    • Documents = EntitiesTuesday, December 6, 11
    • One Table for entities, many tables for indexes.Tuesday, December 6, 11
    • How does it look like?Tuesday, December 6, 11
    • File Caching Web Server Web Server Web Server 1 2 3 Data Caching Databases Server 1 Shard 1 Shard 4 Shard 10 Shard 7 Shard 2 Shard 5 Shard 11 Shard 8 Shard 3 Shard 6 Shard 12 Shard 9 } Databases Database BackupsTuesday, December 6, 11
    • Static File Caching Web Server Web Server Web Server Web Server 1 2 3 3 DB 1 DB 1 DB 1 DB 1 Shard 1 Shard 3 Shard 6 Shard 9 Shard 2 Shard 4 Shard 7 Shard 10 Shard 3 Shard 5 Shard 8 Shard 11 Database Backups per ShardTuesday, December 6, 11
    • THE Benefits...Tuesday, December 6, 11
    • • Server maintenance per shard • Data Maintenance Per shard • NO table alters • Easy recovery • Easy scalability • Easy migration to other No-SQL data enginesTuesday, December 6, 11
    • Questions? Matias Paterlini matias@altodot.com @paterlinimatias We’re hiring!!!Tuesday, December 6, 11