WeSearch

Veltrix Was Losing Events in Plain Sight—Heres the Flame Graph That Proved It

·3 min read · 0 reactions · 0 comments · 15 views
#programming#performance#rust
Veltrix Was Losing Events in Plain Sight—Heres the Flame Graph That Proved It
TL;DR · WeSearch summary

Veltrix faced significant performance issues due to high allocation rates in its Java-based system. The team switched to Rust for the trace ingestion layer, resulting in improved latency and reduced memory usage. The changes led to a substantial decrease in event processing time and eliminated garbage collection pauses.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3942594) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } pretty ncube Posted on May 27 Veltrix Was Losing Events in Plain Sight—Heres the Flame Graph That Proved It #webdev #programming #rust #performance The Problem We Were Actually Solving We traced a single match replay request through hy-trace and saw 16 ms stuck in two Java stack frames labeled zio.stream.internal.ZStream$$anon$1.nextBatch.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)