You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys! In one of blog posts I noticed that ton storage is gonna be decentralized replacement of CDN, but CDN is serving millions of files, is ton storage implementations (ton-storage-daemon / tonutils storage) capable to serve thousands / hundreds thousands / millions of bags, did you load test it or maybe anyone is running provider (as I understood it is based on ton storage daemon) with a lot of bugs?
I noticed in provider setup that it goes with 100 contracts / bags by default but value seems too low to build a decentralized CDN. I tried to experiment myself with 2 daemons running on the same machine (different ports) and in one I created a lot of bags (started with ~1000) and in another one initiated download of them by bagID (add-by-hash), and I noticed only 9 bags were downloaded right away, others were stuck in resolving (fetching header) state or downloading with 0 bytes. Tried also tonutils-storage implementation, it works much better ~100-200 bags were downloaded right away and then it continued to download them but slowly.
Anyway looks like single daemon will be unable to serve millions uploads to other nodes concurrently, so it is needed to multiplex it with multiple instances, so actual question is how many bags / active uploads one ton storage instance can handle? Or what's count of bags can be served by CPU core?
The text was updated successfully, but these errors were encountered:
Hi guys! In one of blog posts I noticed that ton storage is gonna be decentralized replacement of CDN, but CDN is serving millions of files, is ton storage implementations (ton-storage-daemon / tonutils storage) capable to serve thousands / hundreds thousands / millions of bags, did you load test it or maybe anyone is running provider (as I understood it is based on ton storage daemon) with a lot of bugs?
I noticed in provider setup that it goes with 100 contracts / bags by default but value seems too low to build a decentralized CDN. I tried to experiment myself with 2 daemons running on the same machine (different ports) and in one I created a lot of bags (started with ~1000) and in another one initiated download of them by bagID (add-by-hash), and I noticed only 9 bags were downloaded right away, others were stuck in resolving (fetching header) state or downloading with 0 bytes. Tried also tonutils-storage implementation, it works much better ~100-200 bags were downloaded right away and then it continued to download them but slowly.
Anyway looks like single daemon will be unable to serve millions uploads to other nodes concurrently, so it is needed to multiplex it with multiple instances, so actual question is how many bags / active uploads one ton storage instance can handle? Or what's count of bags can be served by CPU core?
The text was updated successfully, but these errors were encountered: