During a migration from one server to another I used nfs to mount the remote older server to the new server to rsync content across faster. After the process was completed I deleted the older server, but didn’t unmount the drive before hand. Because of this, every time that I tried to ls on the… Continue reading df -h hanging on Ubuntu
Category: DevOps
Implementing 429 retries and throttling for API rate-limits
This is a cracking article/tutorial about how to handle requests made to a third party API that is rate limited. Learn how to handle 429 Too Many Requests responses when consuming 3rd party APIs. — Read on www.useanvil.com/blog/engineering/throttling-and-consuming-apis-with-429-rate-limits/
Setting up a full archive Ethereum node with GETH
In a previous article I started building out the Erigon ETH node. After reading a little bit about Erigon and some issues that were being reported when using the full archive node of Erigon with Graph Indexes I decided to switch to the “slower-to-index” archive using GETH instead. Here are the steps I went through.… Continue reading Setting up a full archive Ethereum node with GETH
Setting up a Full Erigon Ethereum Node
While it is certainly possibly to use tools like Infura and Alchemy to make requests against the blockchain, sometimes you want to have your own Ethereum Archive Node to query. This is the case for The Graph endpoint that we are putting togethr to power the NFTX front end. While we have an enterprise account… Continue reading Setting up a Full Erigon Ethereum Node
Improve 3rd party API performance
This is a work in progress…. https://developers.cloudflare.com/workers/examples/bulk-origin-proxy https://developers.cloudflare.com/workers/examples/cors-header-proxy Returning basics: https://developers.cloudflare.com/workers/examples/return-json Suite of functions that can help (too prerolled but bits to copypasta) https://github.com/markusahlstrand/cloudworker-proxy
Connecting to MongoDb from Heroku after deployment
I have a little node script which checks the holdings of some vaults every day and writes them to a MongoDb cluster. This was an improvement over manually adding the value of each item every day into a Google Sheet because It takes 5 minutes to do everyday, so that’s 35 minutes a week, or… Continue reading Connecting to MongoDb from Heroku after deployment