Contenu connexe
Plus de Takuya ASADA (20)
Genkidama: P2Pコンテンツキャッシュ共有システム
- 6. Genkidama
○
Genkidama get/put
DHT
get/put Web
- 9. DHT
• DHT(Distributed Hash Table: )
• P2P
•
dht.put(key, value); value = dht.get(key);
• DHT
join dht.join(bootstrapNode);
•
- 10. DHT
4bit 12
•
• successor(key)
• key successor(key)
• 12 successor(12) = 13
- 12. DHT
•
get
• put
• : prefix + ID nc:sm1152439
• :
→
put
- 13. URL
• HTTP
Genkidama
• HTTP URL
http://124.32.128.131:50001/nc/sm11152439
• HTTP NicoCache
URL
- 14. Genkidama
○
Genkidama get/put
DHT
get/put Web
- 16. XMLRPC
• IP:port
→XMLRPC DB
• onlineUsers.fetch()
• DHT onlineUsers.register()
• cron
•
- 17. • XMLRPC DB
•
•
•
•
•
- 18. Genkidama
○
Genkidama get/put
DHT
get/put Web
- 19. Web
• Genkidama Web Dashboard(http://genkidama.us/)
•
• Genkidama
•
•
•
• IP
DB IP
- 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. • Genkidama
• Genkidama HTTP proxy.pac
•
• firefox extention
- 22. • NicoCache DHT
• HTTPServer
• XMLRPC
• NAT
• DHT
• Ajax GUI
• firefox extention
- 23. NAT
• UPnP NAT Traversal
•
ex: A B
• →
• UDP Hole Punching
• HTTP(TCP)
• NAT
→
- 24. DHT
• Genkidama
join
→OverlayWeaver
•
•
•