CPAN realtime feed
       Tatsuhiko Miyagawa
   YAPC::Asia 2009 lightning talks
CPAN authors?
(upload your module now)
What happens
when a new module is
 uploaded to CPAN
PAUSE
Perl Author Upload Server
Author:
uploads a module
5s
PAUSE:
index the module
~30s
QA mirrors:
fetches the diff
~20s
QA mirrors:
 reindex
1 hour
Other mirrors:
  rsync diffs
1~24 hour
Users:
update CPAN.pm cache
24 hours
 (default)
Upload (10s)
PAUSE index (30s)
QA mirrors sync (20s)
QA reindex (1h)
rsync mirrors (~24h)
CPAN cache (~24h)
~48 hours
Not cool.
A solution:
CPAN Realtime feed
friendfeed.com/cpan
The bot
Fetching QA’s diffs
Upload (10s)
PAUSE index (30s)
QA mirrors sync (20s)
QA reindex (1h)
rsync mirrors (~24h)
CPAN cache (~24h)
FriendFeed:
XMPP, APIs, Feeds
 PubSubHubbub
cpanf
(App::CPAN::Fresh)
Install CPAN modules
  via real time feeds
DEMO
(might fail.)
Upcoming SlideShare
Loading in...5
×

CPAN Realtime feed

3,357

Published on

http://friendfeed.com/cpan

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,357
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • CPAN Realtime feed

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

      Clipping is a handy way to collect important slides you want to go back to later.

    ×