Nischal Khanal
Systems & Performance Engineer
Software Engineer exploring systems, market infrastructure, and performance engineering
Featured Projects
High-Performance TCP Order Matching Engine
The vertical efficiency problem: processing a high-volume, concurrent, and stateful stream of sequential financial network transactions without introducing latency fluctuations or performance stalls caused by operating system kernel overhead, thread context-switching, lock contention, and dynamic heap memory fragmentation.
What I'm up to now?
View what I'm focused on right now →Recent Writing

Python GIL Trap in Low-Latency Async Pipelines
Jun 17, 2026Takeaway:We stopped market-volatility event loop freezes by micro-batching Pydantic payloads into a single GIL-efficient thread handoff for flatline reliability

Stabilizing a High-Frequency Trading Gateway: How We Reclaimed Our Event Loop Under Extreme Market Volatility
Jun 15, 2026Takeaway:Fixed trading pipeline message drops by replacing blocking writes and GIL-heavy validation with an async micro-batching architecture

The Packet Was Already Late Before My Application Saw It
Jun 2, 2026Takeaway:Today I followed a market data packet from the network card all the way to the application and realized that latency can appear long before our code even starts running.