Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the inner workings of ASP.NET Core's high-performance web server, Kestrel, in this insightful conference talk by ASP.NET team members Damian Edwards and Jon Galloway. Discover the challenges and solutions behind building a cross-platform web server that achieves speeds over 20 times faster than its predecessor. Delve into topics such as garbage collection, memory management, string handling, and the use of libuv for asynchronous, multithreaded network operations. Learn about optimization techniques, including known string handling, ASCII headers, and memory casting, as the speakers demonstrate how Kestrel's architecture and algorithms contribute to its impressive performance in TechPower benchmarks. Gain valuable insights into the development of fast, efficient web servers in .NET and understand the technical decisions that make Kestrel a cornerstone of ASP.NET Core's speed and efficiency.
Syllabus
Introduction
What is Kestrel
TechPower Benchmark
Garbage Collection
Memory
Strings
Known Strings
Demo
libuv
asyncwait
asynchronous
multithreaded
network stack
pipeline
libuv through
algorithms
seek
Systemnumerix
Finding Known Headers
ASCII
headers
resharper
fast code
fixed by rate
casting to memory
final thoughts
Taught by
NDC Conferences