• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,192
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
4
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. CPAN realtime feed Tatsuhiko Miyagawa YAPC::Asia 2009 lightning talks
  • 2. CPAN authors? (upload your module now)
  • 3. What happens when a new module is uploaded to CPAN
  • 4. PAUSE Perl Author Upload Server
  • 5. Author: uploads a module
  • 6. 5s
  • 7. PAUSE: index the module
  • 8. ~30s
  • 9. QA mirrors: fetches the diff
  • 10. ~20s
  • 11. QA mirrors: reindex
  • 12. 1 hour
  • 13. Other mirrors: rsync diffs
  • 14. 1~24 hour
  • 15. Users: update CPAN.pm cache
  • 16. 24 hours (default)
  • 17. Upload (10s) PAUSE index (30s) QA mirrors sync (20s) QA reindex (1h) rsync mirrors (~24h) CPAN cache (~24h)
  • 18. ~48 hours
  • 19. Not cool.
  • 20. A solution: CPAN Realtime feed
  • 21. friendfeed.com/cpan
  • 22. The bot Fetching QA’s diffs
  • 23. Upload (10s) PAUSE index (30s) QA mirrors sync (20s) QA reindex (1h) rsync mirrors (~24h) CPAN cache (~24h)
  • 24. FriendFeed: XMPP, APIs, Feeds PubSubHubbub
  • 25. cpanf (App::CPAN::Fresh)
  • 26. Install CPAN modules via real time feeds
  • 27. DEMO (might fail.)