Skip to content

Instantly share code, notes, and snippets.

View c0achmcguirk's full-sized avatar

Paul M Oliver c0achmcguirk

View GitHub Profile
@c0achmcguirk
c0achmcguirk / HallOfBlame.md
Last active June 11, 2023 19:42 — forked from yorickdowne/HallOfBlame.md
Great and less great SSDs for Ethereum nodes

Overview

Syncing an Ethereum node is largely reliant on IOPS, I/O Per Second. Budget SSDs will struggle to an extent, and some won't be able to sync at all.

This document aims to snapshot some known good and known bad models.

For size, 2TB come recommended as of mid-2022. 1TB can work for now but is getting tight.

High-level, QLC and DRAMless are far slower than "mainstream" SSDs.

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
/* Extend the Underscore object with the following methods */
// Rate limit ensures a function is never called more than every [rate]ms
// Unlike underscore's _.throttle function, function calls are queued so that
// requests are never lost and simply deferred until some other time
//
// Parameters
// * func - function to rate limit
// * rate - minimum time to wait between function calls
// * async - if async is true, we won't wait (rate) for the function to complete before queueing the next request