Urgent.News

What's breaking now, across thousands of outlets.

Tech

bitcask-kv: مخزن key/value مبني على الـ log بلغة Rust، من الورقة العلمية

مخزن المفتاح/القيمة (key/value store) يبدو أبسط قاعدة بيانات ممكنة: put و get و delete . الصعوبة ليست في الـ API. الصعوبة فيما يحدث حين تنقطع الكهرباء في منتصف كتابة، وحين تكبر ملفات البيانات بلا نهاية لأن القيم القديمة لا تُستردّ مساحتها، وحين يُعاد تشغيل البرنامج وعليه أن يجد كل مفتاح من جديد. ورقة Bitcask، المكتوبة لقاعدة البيانات Riak، تجيب عن الثلاثة بفكرة واحدة: لا تعدّل البيانات في مكانها…

Original Arabic Read in English

Bitcask-kv is a key/value store built on a log, written in Rust, and inspired by the Bitcask paper for the Riak database. The simplicity of its API lies in its put, get, and delete functions. The real challenge comes from handling write failures, ever-growing data files that never reclaim space, and the need to rebuild each key from scratch after a restart.

Bitcask answers these challenges by never modifying data in place, instead appending logs and maintaining an in-memory index. The paper is concise, making it an accessible starting point for storage experiments. Bitcask-kv is a Rust implementation featuring append-only files, a memory-based hash index, merge/compaction, fast startup via hint files, and recovery from corrupted writes. These features constitute the core of the system.

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

This story

This is one outlet's version. Read the fullest account.

Every outlet that reported this, and when →

Read the original at dev.to →

More in Tech

How I Keep a Short-Drama Directory Searchable Without Inventing Data

Search directories become unreliable when the source data changes faster than the pages built from it. I ran into that problem while building ShortDramaBuzz, an independent directory for short-form…

  • ShortDramaBuzz maintains searchable directory by treating each catalog as an adapter.
  • Daily refreshes paired with checks for duplicate IDs, stale snapshots, and broken links.
  • Public methodology documented to build trust and ensure provenance.

regex-engine: Building a regex engine from scratch in Rust, without backtracking

Regular expressions are tools we use without questioning how they work. Then comes a day when a pattern like (a+)+$ meets a long input, and an entire service freezes.

  • regex-engine is a ground-up Rust implementation of regex engine without catastrophic backtracking
  • Developed to handle complex patterns like (a+)+$ efficiently in long inputs
  • Uses automata mechanisms and linear methodology for inputs regardless of pattern complexity

A Wallet Is Not a Risk Score: Why Blockchain AML Needs Context, Not Just Labels

AMLdark · Screen TRC20 USDT addresses for free Live AML screening for Tron-based USDT addresses against OFAC designations, Tether's freeze list and darknet datasets. Free tier included.

  • Blockchain addresses are evidence, not complete risk assessments
  • Risk labels hide specific reasons for transaction risk
  • Contextual analysis is crucial for informed AML decision-making

More from Thursday 19 November →