0
• 
• 
• 
• 
• 
• 
• 
• 
     – 


• 
     – 


• 
     – 
• 
     – 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
yusuke@dev:~/work/twib/Twib/trunk$ ls 
bot  cli  etc  migration  schema  web 
• 
• 




 • 
 • 
 • 
• 

Package Twib::CLI::Reader::Feed; 
use JSON::XS; 
use LWP::UserAgent; 

Package Twib::CLI::Reader::Stream; 
use AnyEven...
• 

• 
• 
     – 
• 
     – 
• 
     – 
#API Reader 
my $client = Gearman::Client‐>new; 
$client‐>job_servers(qw|localhost:7003|); 
$client‐>dispatch_background( ...
• 
     – 
     – 

• 
     – 
          • 

     – 
• 
     – 
–    – 
–    – 
–    – 
     – 



     – 
     – 
• 

• 

• 
• 
• 
     – 
• 
     – 
• 
• 
• 
• 
• 
• 

• 
     – 




• 
• 
• 
• 
     – 
     – 
• 
     – 
• 
     – 
• 
YAPC::Asia 2010 Twitter解析サービス
YAPC::Asia 2010 Twitter解析サービス
YAPC::Asia 2010 Twitter解析サービス
YAPC::Asia 2010 Twitter解析サービス
YAPC::Asia 2010 Twitter解析サービス
YAPC::Asia 2010 Twitter解析サービス
YAPC::Asia 2010 Twitter解析サービス
Upcoming SlideShare
Loading in...5
×

YAPC::Asia 2010 Twitter解析サービス

6,289

Published on

0 Comments
10 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,289
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
32
Comments
0
Likes
10
Embeds 0
No embeds

No notes for slide

Transcript of "YAPC::Asia 2010 Twitter解析サービス"

  1. 1. •  •  •  • 
  2. 2. •  • 
  3. 3. • 
  4. 4. •  –  •  –  •  –  •  – 
  5. 5. •  • 
  6. 6. •  •  •  • 
  7. 7. •  •  • 
  8. 8. •  •  •  • 
  9. 9. •  •  •  • 
  10. 10. •  • 
  11. 11. •  • 
  12. 12. yusuke@dev:~/work/twib/Twib/trunk$ ls  bot  cli  etc  migration  schema  web 
  13. 13. •  •  •  •  • 
  14. 14. •  Package Twib::CLI::Reader::Feed;  use JSON::XS;  use LWP::UserAgent;  Package Twib::CLI::Reader::Stream;  use AnyEvent::Twitter::Stream; 
  15. 15. •  • 
  16. 16. •  –  •  –  •  – 
  17. 17. #API Reader  my $client = Gearman::Client‐>new;  $client‐>job_servers(qw|localhost:7003|);  $client‐>dispatch_background( "fetch", $json, {} );  #Worker  my $worker = Gearman::Worker‐>new;  $worker‐>job_servers(qw|localhost:7003|);  $worker‐>register_function( "fetch" => &fetch );  $worker‐>work while 1;  sub fetch {      my $job      = shift;      my $args = $job‐>arg;      $fetcher‐>fetch( decode_json($args) );  } 
  18. 18. •  –  –  •  –  •  –  •  – 
  19. 19. –  –  –  –  –  –  –  –  – 
  20. 20. •  •  •  • 
  21. 21. •  –  •  – 
  22. 22. •  •  •  • 
  23. 23. •  •  •  –  • 
  24. 24. •  •  •  –  – 
  25. 25. •  –  •  –  • 
  1. A particular slide catching your eye?

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

×