• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Case Abril: Tracking real time user behavior in websites Homes with Ruby, Sinatra, Heroku, Redis
 

Case Abril: Tracking real time user behavior in websites Homes with Ruby, Sinatra, Heroku, Redis

on

  • 5,381 views

This presentation shows how, in less than 1 month, the Brazilian publishing company Abril build a system to track user visiting in realtime to help publishers decide what would be the best content to ...

This presentation shows how, in less than 1 month, the Brazilian publishing company Abril build a system to track user visiting in realtime to help publishers decide what would be the best content to atract more users to websites. This system uses ruby, sinatra, heroku and redis.

Statistics

Views

Total Views
5,381
Views on SlideShare
2,126
Embed Views
3,255

Actions

Likes
2
Downloads
16
Comments
0

13 Embeds 3,255

http://engineering.abril.com.br 3040
http://gurusp.org 158
http://www.gurusp.org 22
http://www.newsblur.com 10
http://engineering.abril.com.br. 9
http://www.linkedin.com 4
https://www.linkedin.com 3
http://translate.googleusercontent.com 2
http://webcache.googleusercontent.com 2
http://localhost 2
http://placar.abril.com.br&_=1361903675563 HTTP 1
http://news.google.com 1
http://app.brandwatch.com 1
More...

Accessibility

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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Case Abril: Tracking real time user behavior in websites Homes with Ruby, Sinatra, Heroku, Redis Case Abril: Tracking real time user behavior in websites Homes with Ruby, Sinatra, Heroku, Redis Presentation Transcript

  • Case Abril: Click counterLuís Cipriani@lfcipriani (twitter, linkedin, github, ...)21o. GURU (2012-01-28) - Sao Paulo/Brazil
  • ME
  • motivation • hard news • sites Home must be dynamic • knowing what’s hot helps a lot • other advantages could be obtained
  • architecture
  • architecture • triggered with user click on the page
  • architecture
  • architecture • servers click.js • generate metrics dashboard
  • architecture
  • architecture • clean up referer link list periodically • avoid Redis out of memory
  • architecture
  • performance • ~ 650.000 hits/day (only sites home) •17 sites monitored • ~ $823 dolars/month • 15 heroku dynos handling everything
  • performance• GET /click (on average day)• average: 6.8 ms• std deviation: 0.03 ms
  • overall performance
  • performance • GET /dashboard (on average day) • average: 4000 ms • std deviation: 2.4 ms • acceptable by the publishers
  • process performance • continuous deploy • few requirements = focus • 3 developers working 1 month • 2 weeks = initial implementation using Mongo • 2 weeks = refactoring to Redis and improving dashboard load time
  • feedback (from emails) “A sua ferramenta é o que há de bom.” Edna Dantas (redatora chefe Contigo) “Parabéns a você e a sua equipe pelo desenvolvimento desta ferramenta. Ela é uma ajuda e tanto no nosso processo de publicação e edição do site.” Edna Dantas “Nós também estamos viciados no click counter. “ Hoshino (Webmaster Veja)
  • Reformulação Box de Login Abril ID http://engineering.abril.com.br/ ?