1"use strict";(self.webpackChunkrabbitmq_website=self.webpackChunkrabbitmq_website||[]).push([["12693"],{82944(e,t,s){s.r(t),s.d(t,{assets:()=>u,contentTitle:()=>n,default:()=>c,frontMatter:()=>o,metadata:()=>a,toc:()=>l});var a=s(16787),r=s(74848),i=s(28453);let o={title:"How Are The Messages Stored? Not in Memory!",tags:["Classic Queues","Quorum Queues","Streams"],authors:["kura"],image:"./classic-queues.png"},n,u={image:s(3175).A,authorsImageUrls:[void 0]},l=[];function m(e){let t={p:"p",...(0,i.R)(),...e.components};return(0,r.jsx)(t.p,{children:"It's time to retire the myth that RabbitMQ stores messages in memory. While it was true in the early days of RabbitMQ,\nand an option for the last 10 years, modern RabbitMQ versions almost always write messages\nto disk right away. In this blog post we review how different queue types store messages but the short answer is: not in memory!"})}function c(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(m,{...e})}):m(e)}},3175(e,t,s){s.d(t,{A:()=>a});let a=s.p+"assets/images/classic-queues-899b1a1caebc83614d77525cf6f9d800.png"},28453(e,t,s){s.d(t,{R:()=>o,x:()=>n});var a=s(96540);let r={},i=a.createContext(r);function o(e){let t=a.useContext(i);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function n(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),a.createElement(i.Provider,{value:t},e.children)}},16787(e){e.exports=JSON.parse('{"permalink":"/blog/2025/01/17/how-are-the-messages-stored","editUrl":"https://github.com/rabbitmq/rabbitmq-website/tree/main/blog/2025-01-17-how-are-the-messages-stored/index.md","source":"@site/blog/2025-01-17-how-are-the-messages-stored/index.md","title":"How Are The Messages Stored? Not in Memory!","description":"It\'s time to retire the myth that RabbitMQ stores messages in memory. While it was true in the early days of RabbitMQ,","date":"2025-01-17T00:00:00.000Z","tags":[{"inline":true,"label":"Classic Queues","permalink":"/blog/tags/classic-queues"},{"inline":true,"label":"Quorum Queues","permalink":"/blog/tags/quorum-queues"},{"inline":true,"label":"Streams","permalink":"/blog/tags/streams"}],"readingTime":13.74,"hasTruncateMarker":true,"authors":[{"name":"Micha\u0142 Kuratczyk","url":"https://github.com/mkuratczyk","socials":{"github":"https://github.com/mkuratczyk","linkedin":"https://www.linkedin.com/in/mkuratczyk/","mastodon":"https://fosstodon.org/@kura","bluesky":"https://bsky.app/profile/mkuratczyk.bsky.social"},"imageURL":"https://github.com/mkuratczyk.png","key":"kura","page":null}],"frontMatter":{"title":"How Are The Messages Stored? Not in Memory!","tags":["Classic Queues","Quorum Queues","Streams"],"authors":["kura"],"image":"./classic-queues.png"},"unlisted":false,"prevItem":{"title":"Tanzu RabbitMQ 3.13.8 is released","permalink":"/blog/2025/02/07/tanzu-rabbitmq-3.13.8-is-released"},"nextItem":{"title":"Security Best Practices: epmd","permalink":"/blog/2024/12/18/epmd-public-exposure"}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.