Genkidama: P2Pコンテンツキャッシュ共有システム

1,727 views

Published on

第42回情報科学若手の会発表用の資料です

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

No Downloads
Views
Total views
1,727
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Genkidama: P2Pコンテンツキャッシュ共有システム

  1. 1. Genkidama: P2P @syuu1228
  2. 2. • Genkidama • •
  3. 3. Genkidama • • • DHT Genkidama • • ”NicoCache” • DHT ”OverlayWeaver”
  4. 4. Genkidama • •   •
  5. 5. Genkidama Genkidama get/put DHT get/put Web
  6. 6. Genkidama ○ Genkidama get/put DHT get/put Web
  7. 7. NicoCache • • → • →
  8. 8. Genkidama • →DHT get/put DHT
  9. 9. DHT • DHT(Distributed Hash Table: ) • P2P • dht.put(key, value); value = dht.get(key); • DHT join dht.join(bootstrapNode); •
  10. 10. DHT 4bit 12 • • successor(key) • key successor(key) • 12 successor(12) = 13
  11. 11. Overlay Weaver • • • • Genkidama DHT
  12. 12. DHT • get • put • : prefix + ID nc:sm1152439 • : → put
  13. 13. URL • HTTP Genkidama • HTTP URL http://124.32.128.131:50001/nc/sm11152439 • HTTP NicoCache URL
  14. 14. Genkidama ○ Genkidama get/put DHT get/put Web
  15. 15. • • • • DHT →
  16. 16. XMLRPC • IP:port →XMLRPC DB • onlineUsers.fetch() • DHT onlineUsers.register() • cron •
  17. 17. • XMLRPC DB • • • • •
  18. 18. Genkidama ○ Genkidama get/put DHT get/put Web
  19. 19. Web • Genkidama Web Dashboard(http://genkidama.us/) • • Genkidama • • • • IP DB IP
  20. 20. Genkidama GUI • AWT GUI • Dashboard Genkidama GUI • Web Genkidama • JavaScript Genkidama HTTP →JS http://localhost:50001/ URL Genkidama http://localhost:50001/restart GET Genkidama • HTTP → http://genkidama.us/local/ http://localhost: / •
  21. 21. • Genkidama • Genkidama HTTP proxy.pac • • firefox extention
  22. 22. • NicoCache DHT • HTTPServer • XMLRPC • NAT • DHT • Ajax GUI • firefox extention
  23. 23. NAT • UPnP NAT Traversal • ex: A B • → • UDP Hole Punching • HTTP(TCP) • NAT →
  24. 24. DHT • Genkidama join →OverlayWeaver • • •

×