Urgent.News

What's breaking now, across thousands of outlets.

Tech

I got tired of Redis and Kafka eating my RAM, so I rebuilt them in Rust hitting 1.6M RPS (as a student)

Hey everyone, I’m Yasir. I’m an 18-year-old software engineering student from Pakistan, and for the last few months, I’ve been going down a very deep, very complex rabbit hole: Systems Programming in Rust . When I started learning about distributed systems , I noticed a recurring theme: tools like Apache Kafka and Redis are absolute industry standards, but they come with a catch. Kafka relies…

Yasir, an 18-year-old software engineering student from Pakistan, decided to tackle a challenging project in the world of Systems Programming in Rust. He observed that popular distributed system tools like Apache Kafka and Redis had limitations, such as high memory footprints and performance bottlenecks. To overcome these issues, Yasir set out to create his own infrastructure pieces, Velocity-MQ and VelocityDB, both built entirely from scratch in Rust.

Velocity-MQ is a zero-GC, lock-free message queue (a Kafka alternative), while VelocityDB is a thread-per-core, lock-free in-memory store (a Redis alternative). The key to VelocityDB's exceptional performance lies in its architecture, which includes bypassing the Kernel with io_uring for asynchronous I/O, a thread-per-core model to avoid contention and locks, and lock-free concurrency using ring buffers and atomic pointers.

These design choices resulted in VelocityDB reaching 1.6 million requests per second (RPS) on Yasir's local machine.

Despite being a first-semester CS student, Yasir is eager to engage with the community and welcome feedback on his code. He invites senior Rustaceans, systems engineers, and high-performance backend enthusiasts to review his work, point out any memory ordering flaws, and report bugs. You can find the project on GitHub (https://github.com/developer-yasir/). If you find the project interesting or helpful, Yasir would appreciate a star on the repository to keep him motivated for future developments.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Embiody 0.9 Preview Arrives: The Browser for AI Agents That Don't Slow Down in the Background

Browsers are designed for people; an AI agent can use them, but they don't quite fit. That's why we made one of our own. BrowserDo MCP + Embiody Browser 0.9 Preview has been in closed beta for two…

  • Embiody 0.9 Preview introduces browser for AI agents to work alongside humans
  • IA tabs function maintains full operation even when running in background
  • Anti-bot blocking system prevents browser from being flagged as bot

No space left on device in GitHub Actions

"No space left on device" in GitHub Actions means the runner disk filled up mid-job and the next write failed. Find out which of the three shapes you have, bytes, inodes or watchers, then reclaim…

Testing Passkeys Through a Tunnel: RP ID, Origins, and Why Credentials Don’t Follow You From localhost

You build a passkey flow on http://localhost:3000 . Registration works, login works, and you feel done. Then you open a tunnel so a real phone can try it, and the login screen offers no passkeys at…

  • Passkeys are tied to a specific domain (RP ID), not the app or laptop.
  • Testing through a tunnel changes the RP ID and origin, causing passkeys to be orphaned.
  • Use a stable, named tunnel subdomain to maintain consistent RP ID for passkey authentication.

Docker COPY --from stage not found in CI

A docker COPY --from stage not found does not produce a message about stages, because BuildKit does not treat an unknown name as a mistake.

  • Docker COPY --from stage not found in CI, treated as image reference
  • BuildKit searches for unknown name in registry instead of treating as mistake
  • Numeric index provides explicit error, stage name causes silent registry trip

Supercharge AWS Emulator for AWS CDK Development with cdkd

TL;DR When you use AWS Emulator for development with AWS CDK, combining it with cdkd gives you the following benefits: cdkd automatically configures the connection to AWS Emulator, and environment…

  • cdkd simplifies AWS Emulator integration for CDK development.
  • cdkd configures AWS Emulator connection and resolves Lambda environment variables.
  • cdkd local runs app code locally while emulating or mocking AWS resources.

Our hospital chatbot cheated at its own exams — on purpose

When a hospital rolls out an HIS like InterSystems TrakCare, the knowledge lives in three places: classroom sessions, a Moodle full of training videos, and a pile of assessments everyone must pass.

  • Hospital chatbot trained on Moodle assessments
  • Bot completed 36 assessments to gather answers
  • System designed for Arabic-speaking hospitals

More from Sunday 15 November →