<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github---lauriewired-tailslayer-library-for-reducing-tail-latency-in-ram-reads-8dwpcngqv" -->

---
title: GitHub - LaurieWired/tailslayer: Library for reducing...
description: Tailslayer is a C++ library that reduces tail latency in RAM reads caused by DRAM refresh stalls. It works by replicating data across multiple independent DRAM...
canonical: https://daily.dev/posts/github---lauriewired-tailslayer-library-for-reducing-tail-latency-in-ram-reads-8dwpcngqv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub - LaurieWired/tailslayer: Library for reducing tail latency in RAM reads | daily.dev
og:description: Tailslayer is a C++ library that reduces tail latency in RAM reads caused by DRAM refresh stalls. It works by replicating data across multiple independent DRAM...
og:url: https://daily.dev/posts/github---lauriewired-tailslayer-library-for-reducing-tail-latency-in-ram-reads-8dwpcngqv
og:image: https://api.daily.dev/og/posts/8dwPCngqV.png
og:image:alt: GitHub - LaurieWired/tailslayer: Library for reducing tail latency in RAM reads
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub - LaurieWired/tailslayer: Library for reducing tail latency in RAM reads

**[Lobsters](https://daily.dev/sources/lobsters)** · 3 min read · 51 upvotes · 4 comments

## Summary

Tailslayer is a C++ library that reduces tail latency in RAM reads caused by DRAM refresh stalls. It works by replicating data across multiple independent DRAM channels with uncorrelated refresh schedules, using undocumented channel scrambling offsets compatible with AMD, Intel, and Graviton processors. When a read request arrives, it issues hedged reads across all replicas and uses whichever responds first. The library exposes a template-based HedgedReader API where users provide a signal function (to determine when to read) and a work function (to process the result). It handles address calculation and core pinning internally, acting as a hedged vector with logical indices.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/LaurieWired/tailslayer>

## Community discussion

Top comments from developers on daily.dev.

**@bluearmadillo** · 1 upvotes

> Duplicate data in memory? In this economy??

**@oxi1337** · 0 upvotes

> i mean you also waste cpu resources + memory just to get out extra perf while reading a chunk of memory X times in parallel? I dont get the practical use case for this

## Similar posts on daily.dev

- [Tail Control: The Counterintuitive Engineering of Reliable Agentic Workflows](https://daily.dev/posts/tail-control-the-counterintuitive-engineering-of-reliable-agentic-workflows-xl1si9fcr) · Towards Data Science · 1 upvotes · 0 comments
- [Saving another 100TB of RAM with math \(and Rust\)](https://daily.dev/posts/saving-another-100tb-of-ram-with-math-and-rust--vnv8imyss) · Cloudflare · 110 upvotes · 18 comments
- [Stragglers, Not Failures: How Adaptive Hedged Requests Reduce p99 Latency by 74 Percent](https://daily.dev/posts/stragglers-not-failures-how-adaptive-hedged-requests-reduce-p99-latency-by-74-percent-fzqj0vvpb) · InfoQ · 0 upvotes · 0 comments
- [Lorenz and Little: How Much Does Your Tail Cost?](https://daily.dev/posts/lorenz-and-little-how-much-does-your-tail-cost--hpbw4tkdv) · Marc Brooker · 1 upvotes · 0 comments

---

Tags: [#c](https://daily.dev/tags/c), [#c++](https://daily.dev/tags/c++)

[View this post on daily.dev](https://daily.dev/posts/github---lauriewired-tailslayer-library-for-reducing-tail-latency-in-ram-reads-8dwpcngqv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"GitHub - LaurieWired/tailslayer: Library for reducing tail latency in RAM reads","url":"https://daily.dev/posts/github---lauriewired-tailslayer-library-for-reducing-tail-latency-in-ram-reads-8dwpcngqv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github---lauriewired-tailslayer-library-for-reducing-tail-latency-in-ram-reads-8dwpcngqv"},"datePublished":"2026-04-09T04:38:37.302Z","dateModified":"2026-04-09T04:39:05.803Z","description":"Tailslayer is a C++ library that reduces tail latency in RAM reads caused by DRAM refresh stalls. It works by replicating data across multiple independent DRAM...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/58d2b1a133a4ba287ba3840aa9e3e8f7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/58d2b1a133a4ba287ba3840aa9e3e8f7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":4,"discussionUrl":"https://daily.dev/posts/github---lauriewired-tailslayer-library-for-reducing-tail-latency-in-ram-reads-8dwpcngqv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":51},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":4}],"keywords":"c,c++","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"GitHub - LaurieWired/tailslayer: Library for reducing tail latency in RAM reads"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/github---lauriewired-tailslayer-library-for-reducing-tail-latency-in-ram-reads-8dwpcngqv","comment":[{"@type":"Comment","text":"Duplicate data in memory? In this economy??","datePublished":"2026-04-12T07:23:58.528Z","url":"https://daily.dev/posts/8dwPCngqV#c-FLI08J1Ym","author":{"@type":"Person","name":"AF","url":"https://daily.dev/bluearmadillo","image":"https://lh3.googleusercontent.com/a/AAcHTtfDa7Qw_gzkc6o-v6JKDotCv9CTzg2b0nSuVIV5QHawVIo=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"i mean you also waste cpu resources + memory just to get out extra perf while reading a chunk of memory X times in parallel? I dont get the practical use case for this","datePublished":"2026-04-13T14:15:43.190Z","url":"https://daily.dev/posts/8dwPCngqV#c-ymiARQYPi","author":{"@type":"Person","name":"oxi","url":"https://daily.dev/oxi1337","image":"https://lh3.googleusercontent.com/a/ACg8ocIr4BAUvgphpiBonyjHf56zTDzZ5phEghIqLVZxIFyCnTHUC5ln=s96-c"}}]}
```

