Developing a Real Time Ad-Server on Heroku    The evolution of an application that today serves 8.5    million requests a ...
Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contai...
Abhinav KeswaniDirector // Principal, Bespoke Solutions@wasabhi
Bry AshmanLead Developer, Bespoke Solutions@yrb
SpotU
SpotU Architecture
Why Heroku?
Diversifying                         Redundancy     Automation                        Disaster Recovery                   ...
BACKUPS?!!?
Heroku Add-Ons // ModularityNew Relic, Sendgrid, RedisToGo,  Postgres, BlitzIO, Scheduler,     Memcache, Papertrail.
CampaignRedirector   Redis              Postgres                     Manager
Backing Services (12factor.net)
Data StoresRedis // Postgres
Redisin memory key:value store  high speed atomic ops   ultimate ‘scratchpad’
Heroku Redis Add-On     RedisToGo   Fast to provision  Options for growth
Redis   Used by resqueUsed for campaign map       Ad cache
PostgresRelational Database of choice
Heroku Postgres  Provisioning    Backups  Follow/Fork   Data Clips
Content   S3Cloudfront
S3   The only option forstoring files in the cloud?
Cloudfront
Nifty Extras: Blitz
BlitzLay siege to your app.
Operational Management       New Relic        Papertrail
New RelicKnow what’s going on when your      app is under siege
PapertrailLogs: streaming, searchable and       actionable events.
Production TraitsArchitectural Evolution
Redis
Messaging // AMQP
Response Cache // Memcache
Data Architecture
MemcacheRedirector   Redis   Campaign   Postgres                     Manager                                  Analytics   ...
Latency // Multi Region
Perspective  1 million requests100ms latency/request ~ 28 hours in transit
MemcacheRedirector   Redis   Campaign   Postgres                     Manager                                Analytics     ...
Abhinav Keswani          Bry AshmanChief Context Switcher,   Chief Worrier,      @wasabhi                @yrb
Developing a Real Time Ad-Server on Heroku
Developing a Real Time Ad-Server on Heroku
Developing a Real Time Ad-Server on Heroku
Upcoming SlideShare
Loading in …5
×

Developing a Real Time Ad-Server on Heroku

1,055 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,055
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
18
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Developing a Real Time Ad-Server on Heroku

  1. 1. Developing a Real Time Ad-Server on Heroku The evolution of an application that today serves 8.5 million requests a week to airline passengers. Abhinav Keswani & Bry Ashman, Trineo Ltd @trineoltd
  2. 2. Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward- looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  3. 3. Abhinav KeswaniDirector // Principal, Bespoke Solutions@wasabhi
  4. 4. Bry AshmanLead Developer, Bespoke Solutions@yrb
  5. 5. SpotU
  6. 6. SpotU Architecture
  7. 7. Why Heroku?
  8. 8. Diversifying Redundancy Automation Disaster Recovery Scale Replication OSTuning DIY? Load Balancing Database Monitoring Networking
  9. 9. BACKUPS?!!?
  10. 10. Heroku Add-Ons // ModularityNew Relic, Sendgrid, RedisToGo, Postgres, BlitzIO, Scheduler, Memcache, Papertrail.
  11. 11. CampaignRedirector Redis Postgres Manager
  12. 12. Backing Services (12factor.net)
  13. 13. Data StoresRedis // Postgres
  14. 14. Redisin memory key:value store high speed atomic ops ultimate ‘scratchpad’
  15. 15. Heroku Redis Add-On RedisToGo Fast to provision Options for growth
  16. 16. Redis Used by resqueUsed for campaign map Ad cache
  17. 17. PostgresRelational Database of choice
  18. 18. Heroku Postgres Provisioning Backups Follow/Fork Data Clips
  19. 19. Content S3Cloudfront
  20. 20. S3 The only option forstoring files in the cloud?
  21. 21. Cloudfront
  22. 22. Nifty Extras: Blitz
  23. 23. BlitzLay siege to your app.
  24. 24. Operational Management New Relic Papertrail
  25. 25. New RelicKnow what’s going on when your app is under siege
  26. 26. PapertrailLogs: streaming, searchable and actionable events.
  27. 27. Production TraitsArchitectural Evolution
  28. 28. Redis
  29. 29. Messaging // AMQP
  30. 30. Response Cache // Memcache
  31. 31. Data Architecture
  32. 32. MemcacheRedirector Redis Campaign Postgres Manager Analytics Logging RabbitMQ ...
  33. 33. Latency // Multi Region
  34. 34. Perspective 1 million requests100ms latency/request ~ 28 hours in transit
  35. 35. MemcacheRedirector Redis Campaign Postgres Manager Analytics Logging RabbitMQ ...
  36. 36. Abhinav Keswani Bry AshmanChief Context Switcher, Chief Worrier, @wasabhi @yrb

×