Ethereum performance in .NET Core
summary
Nethermind is a .NET Core Ethereum client that proves high-performance parity with Go and Rust by shipping concrete optimizations: native C crypto where needed, a custom 256-bit struct plus BigInteger improvements (30–40% on .NET Core 2.1), AVX2 intrinsics, Span/BinaryPrimitives and dotnetty-style pooled buffers. A persistent 100,000-block integration benchmark and live sync peaks of ~17,000 blocks/sec demonstrate real gains; a hand-tuned BLAKE2 compress yields ~20x faster and 30x less allocation versus naive code. State size: ~40 GB across ~300M nodes.
AI-written summary · about
chapters (32)
- 0:00Introduction
- 0:32What is blockchain
- 1:36Traditional distributed systems
- 2:05Blockchain world
- 3:39Dotnet Core
- 4:38Challenges
- 7:13Benchmarks
- 9:19Benchmarking
- 10:32Demo
- 11:48Crypto libraries
- 13:12Cryptography
- 14:31Interactive demo
- 15:22Magic shortcut
- 15:42Efficient cryptography
- 16:52Addition and multiplication
- 20:02Arithmetic code
- 21:49Micro optimizing
- 22:47Big integer improvements
- 24:39Stack on virtual machine
- 25:47Bigendian
- 27:44Overlap Overflow
- 28:27Array Reversal
- 30:14hashing functions
- 31:50cryptographic hash
- 32:20catchak
- 35:18cryptography libraries
- 35:45password hashing
- 36:38Dotnet E
- 38:46Bloom Filter
- 41:36Hash Tree
- 43:22Radix Tree
- 43:56Miracle Tree
related talks
23mHigh Performance Apps with State Channels
46mHigh Performance .NET
47mUnlocking Performance Improvements in .NET
12mWhen each millisecond counts?
11mBuilding the First Real-Time Blockchain
57mPragmatic Performance: When to care about perf, and what to do about it
37mRock Your Code Code and App Performance for Microsoft .Net
01h 00mBuilding ASP.NET Core Kestrel
