CPAN Realtime feed
Upcoming SlideShare
Loading in...5
×
 

CPAN Realtime feed

on

  • 4,737 views

http://friendfeed.com/cpan

http://friendfeed.com/cpan

Statistics

Views

Total Views
4,737
Views on SlideShare
4,452
Embed Views
285

Actions

Likes
1
Downloads
4
Comments
0

6 Embeds 285

http://coderwall.com 246
http://hiroki.jp 32
http://www.slideshare.net 3
http://test.hiroki.jp 2
http://localhost:3000 1
http://www.linkedin.com 1

Accessibility

Categories

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

CPAN Realtime feed CPAN Realtime feed Presentation Transcript

  • 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.)