SShortSingh.
Back to feed

gRPC over QUIC cuts seek latency 28x but lags TCP on bulk transfers

0
·1 views

Developers testing KeibiDrop, a post-quantum encrypted peer-to-peer filesystem, evaluated replacing gRPC over TCP with gRPC over QUIC to handle IP address changes without dropping connections. Tests were conducted on a 12-core macOS laptop, a 4-core Linux VPS, and a real 72ms round-trip WAN link between Barcelona and the VPS. On the real-world link, a single QUIC stream was up to 16 times slower than TCP for bulk transfers under Wi-Fi packet loss, but random seeks completed in 109ms on QUIC versus roughly 3 seconds on TCP — a 28x improvement — because each seek gets its own independent stream. A teardown deadlock caused by closing a QUIC stream concurrently with a write was identified and fixed by using a stream reset instead of a graceful close. The team settled on a hybrid design: QUIC for interactive on-demand reads where seek isolation and connection migration matter, and TCP for bulk transfers on lossy links.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Python Library Aetherix Lets Developers Build a Live Interactive OS Shell

A developer has demonstrated how to build a functioning interactive shell operating system using Aetherix, a Python-based OS development library, in under 200 lines of code. The shell boots into a live input loop that reads real-time keyboard input and echoes characters to the screen using a VGA terminal cursor. It supports standard typing with Shift key handling, Enter, Backspace, and special function keys for actions like reboot, beep, and shutdown. The resulting disk image can be run in emulators such as QEMU or tested via CPU emulation using the Unicorn engine without a full emulator install. The project serves as a practical milestone example showing core OS features achievable with a high-level scripting language.

0
ProgrammingDEV Community ·

How to Audit Your Website for WCAG Accessibility Compliance

Web Content Accessibility Guidelines (WCAG) 2.1 AA is the current industry standard for website accessibility, with some government sites required to meet WCAG 2.2 AA. A thorough accessibility audit combines automated tools, manual checks, keyboard navigation testing, screen reader evaluation, and real-user testing, since automated tools alone catch only 30–50% of issues. Popular tools include Lighthouse, axe DevTools, and WAVE for automated scanning, while screen readers like NVDA and VoiceOver are used for manual verification. Key areas to test include color contrast ratios, form labels, heading hierarchy, focus management, and modal behavior across devices and zoom levels. Experts recommend embedding accessibility checks throughout the development lifecycle rather than treating it as a final quality-assurance step.

0
ProgrammingDEV Community ·

Vibe Coding Goes Mainstream: 92% of US Developers Use AI Tools Daily by 2026

Coined by AI researcher Andrej Karpathy in February 2025, 'vibe coding' describes a workflow where developers describe software requirements in plain language and let AI generate the code. The term spread rapidly, being named Collins Dictionary's Word of the Year for 2025 and seeing a roughly 2,400% spike in Google search interest. By early 2026, adoption is widespread — 92% of US developers use AI coding tools daily, GitHub reports 46% of new code is AI-generated, and Gartner projects that figure will reach 60% by year-end. The practice has evolved from Karpathy's casual framing into a more structured approach, with developers overseeing AI output through specification, architectural review, and iterative prompting rather than surrendering full control. However, a significant trust gap persists: despite near-universal daily adoption, only 29% of US developers say they actually trust the code these tools produce.