Replies: 3 comments 5 replies
-
Thanks for this very useful rationale and breakdown of costs @il3ven. RPC: I like Ankr and agree with your reasoning. IPFS: It's easy to run an ipfs node, so it might be worth considering that option. Also, if you dump all the CIDs from the current database, you can pin them on your node to preload them. IPFS is really slow, so this could speed up the initial run a lot. Arweave: agree with using the public gateway. There may be a way to run a "light" node with a specific transactions/data-items, but I'm not sure and there would be little advantage since the gateways are free and seem to be pretty fast. |
Beta Was this translation helpful? Give feedback.
-
Great work @il3ven , thanks for pulling all this together. Let's ratify a decision in the Open Office today and work out how we want to put it into operation. |
Beta Was this translation helpful? Give feedback.
-
Thanks for putting this together @il3ven. Excited to see this and happy to support however I can. Some feedback / notes; fly.io Ethereum gateway One suggestion would be to continue to use this service rather than setting up new endpoints. IPFS Gateway Cloudflare has good offering here too, and something I think is already setup for neume. I'd have to doublecheck though. Free Premium ($5/month) Arweave Gateway What we have done on HIFI is to create a edge worker that proxy requests to arweave, cache it in the cloudflare for 10 years. It has worked really good and has resulted in very low latency for arweave-related content. Let me know what you all think. cc @djfnd |
Beta Was this translation helpful? Give feedback.
-
I am starting this thread to discuss about the best way to host neume and allocating funds for it. I think we all agree that the Gitcoin fund is the best for it.
What do we need?
A VM to run the neume crawler with persisted storage
HiFi labs currently uses fly.io which is okay in my opinion. An instance with 2 CPU cores and 4GB RAM should cost us around $30.
I should mention if we go with a VPS like DigitalOcean then managing persistent storage is simple as it is just a linux box. The cost is the same.
Ethereum and Polygon full node
According to my calculations, we require around 100,000 requests to get the crawler upto latest block. Infura provides 25,000 daily requests in their free plan. Their next plan is for $50 which allows 100,000 requests per day. An alternative to Infura is Ankr RPC. Unlike Infura they have a pay as you use pricing system. For 100,000 requests Ankr will charge us $2. My vote is with Ankr.
IPFS Gateway
Infura's free plan provides us with 5GB of bandwidth. I don't know if 5GB is per month or for complete lifetime. Even if it is for the complete lifetime our costs shouldn't be too much. It is a dollar for 12GB of bandwidth. We shouldn't reach the 12GB limit as we only have to download metadata.
Arweave Gateway
There is no service like Infura for Arweave. We can use the public gateway which is fast enough or host our own node.
Final Estimates
$30 (fly.io) + $2 (Full node) + $1 (IPFS) = $33 per month
@reimertz Since you manage the current HiFi instance can you check if my estimates are around the same ballpark or not?
CC: @neatonk @djfnd
Beta Was this translation helpful? Give feedback.
All reactions