Repository navigation
How scalable is Spegel? #1338
|
Hi, we're evaluating Spegel for p2p caching and I'm looking into its scalability. I previously ran it at n=400 with good results, and based on my understanding of Spegel/Kademlia, it should scale to n=10k–100k smoothly. I’d welcome your thoughts and am happy to run benchmarks and share results with your guidance. @phillebaba do you know who might be the right people for this discussion? |
Replies: 2 comments 3 replies
|
Great question — here's what the architecture suggests, with the caveat that I haven't tested at that scale myself. Provider record churn: every node continuously advertises which image layers it holds. At 10k+ nodes with high pod churn, the volume of DHT writes could become significant. Bottom line: The DHT layer should scale to your targets in theory, but the project's own README notes it's focused on homelab and individual contributor use cases. There are no public benchmarks I'm aware of at n=10k. Your offer to run benchmarks and share results would be genuinely valuable — especially if you include DHT routing latency and provider advertisement overhead as metrics alongside pull times. |
|
Spegel uses libp2p-kad for the content discovery component which is also used in IPFS and other projects, that have proven it can run at very large scales. The content discovery is just one component of the image distribution and there can be other bottlenecks in the system. It sounds like you are trying to achieve a large scale enterprise deployment of Spegel for 1000+ node clusters. If you are looking for enterprise support you can reach out to contact@kvick.dev to discuss the matter further. |
Spegel uses libp2p-kad for the content discovery component which is also used in IPFS and other projects, that have proven it can run at very large scales. The content discovery is just one component of the image distribution and there can be other bottlenecks in the system.
It sounds like you are trying to achieve a large scale enterprise deployment of Spegel for 1000+ node clusters. If you are looking for enterprise support you can reach out to contact@kvick.dev to discuss the matter further.