FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Time is of the essence: EBR in High-Performance Databases
How-ToSystems

Time is of the essence: EBR in High-Performance Databases

via Dev.toMatthew Fay1mo ago

"Can I free you?" When writing high-performance engines that are multi-threaded and highly concurrent, one of the interesting problems to solve is memory reclamation. This is something I had to address when building orrp , a high-performance events/analytics database. The nature of the problem is this: Memory gets allocated for some type of structure. In my case, it's a data structure containing a roaring bitmap , which is an implementation of bitmaps that are highly optimized and great for doing set-based calculations (AND/OR etc). static eval_bitmap_t * _and ( eval_bitmap_t * left , eval_bitmap_t * right , eval_ctx_t * ctx , eng_eval_result_t * result ) { ( void ) result ; if ( left -> own ) { // We own Left, so we can mutate it in-place bitmap_and_inplace ( left -> bm , right -> bm ); return left ; } if ( right -> own ) { // We own Right, so we can mutate it in-place bitmap_and_inplace ( right -> bm , left -> bm ); return right ; } bitmap_t * res_bm = bitmap_and ( left -> bm , right

Continue reading on Dev.to

Opens in a new tab

Read Full Article
23 views

Related Articles

The Boring Skills That Make Developers Unstoppable in 2026
How-To

The Boring Skills That Make Developers Unstoppable in 2026

Medium Programming • 12h ago

I Installed This VS Code Extension… and My Code Got Instantly Better
How-To

I Installed This VS Code Extension… and My Code Got Instantly Better

Medium Programming • 14h ago

The Age of Personalized Software
How-To

The Age of Personalized Software

Medium Programming • 16h ago

Automating Checkout Add-On Recommendations in WordPress for WooCommerce
How-To

Automating Checkout Add-On Recommendations in WordPress for WooCommerce

Dev.to • 16h ago

How-To

Start Here: Learning to develop your own way with SCSIC

Medium Programming • 20h ago

Discover More Articles