Optimize AutoMQ’s broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.
AutoMQ enhances server performance through methods like read/write efficiency optimization and resource isolation, ensuring stable and efficient operation.
Users should adjust parameters based on their hardware environment and business scenarios.
Memory-related Parameters
s3.stream.allocator.policy
Configure the memory allocation strategy for AutoMQ. It is advisable to use POOLED_DIRECT to alleviate GC pressure.
s3.wal.cache.size
Manage the size of the Log Cache, which influences the maximum size of cached data during Tail Read (hot reads).
s3.block.cache.size
Control the size of the Block Cache; it influences the maximum size of data cached during Catch-up Read (catch-up read, cold read). In Catch-up Read scenarios, consider appropriately increasing this value.
s3.wal.upload.threshold
Manage the amount of data AutoMQ accumulates in the Log Cache before triggering an S3 upload. It is advisable not to exceed 1/3 of s3.wal.cache.size.
Recommended Parameter Values
When the memory allocation strategy is POOLED_DIRECT, the sum of s3.wal.cache.size and s3.block.cache.size should be about 1/2 of MaxDirectMemorySize (if MaxDirectMemorySize is large, it can be slightly increased).
-
Tiny
Small
Medium
Large
Physical Memory
4 GiB
8 GiB
16 GiB
32 GiB
s3.stream.allocator.policy
POOLED_DIRECT
POOLED_DIRECT
POOLED_DIRECT
POOLED_DIRECT
-XX:MaxHeapSize
1g
2g
6g
12g
-XX:MaxDirectMemorySize
1500m
3g
6g
14g
s3.wal.cache.size
524,288,000
1,073,741,824
2,147,483,648
6,442,450,944
s3.block.cache.size
104,857,600
536,870,912
1,073,741,824
4,294,967,296
s3.wal.upload.threshold
62,914,560
357,913,941
536,870,912
536,870,912
Network-related Parameters
s3.network.baseline.bandwidth
The baseline for assessing local network bandwidth should be the network’s stable capability to achieve both outbound and inbound bandwidth.Since the server internally performs operations such as writing the WAL, S3, and Compaction, each data write from a client translates into three network writes by the server. By considering the business’s read/write ratio, you can ultimately determine the maximum write load a single machine can manage.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AutoMQ Documentation","colors":{"primary":"#2449D4","light":"#2449D4","dark":"#2449D4"},"logo":{"light":"https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/logo/automq-black.svg?fit=max\u0026auto=format\u0026n=s9vNxeyMGZ1r1DRV\u0026q=85\u0026s=bcc93ae74a4143ae2b7602497b7b354b","dark":"https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/logo/automq-white.svg?fit=max\u0026auto=format\u0026n=s9vNxeyMGZ1r1DRV\u0026q=85\u0026s=209c336f52b4021f2e991e10d07613ae"},"favicon":"https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/logo/favicon.svg?fit=max\u0026auto=format\u0026n=s9vNxeyMGZ1r1DRV\u0026q=85\u0026s=d736b0934a674250c9dbe95a5f642fb9","appearance":{"default":"light","strict":true},"navbar":{"links":[{"icon":"github","href":"https://github.com/automq/automq","label":"Github"}],"primary":{"type":"button","label":"automq.com","href":"https://www.automq.com"}},"footer":{"socials":{"slack":"https://go.automq.com/slack","telegram":"https://t.me/+VgqhN9wqBGIzYmU1","x":"https://x.com/AutoMQ_Lab","github":"https://github.com/automq/automq","linkedin":"https://linkedin.com/company/automq"}},"icons":{"library":"lucide"},"integrations":{"ga4":{"measurementId":"G-4F3BX9DFG9"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Github","icon":"github","href":"https://github.com/automq/automq"},{"anchor":"Slack","icon":"slack","href":"https://go.automq.com/slack"},{"anchor":"Telegram","icon":"Telegram","href":"https://t.me/+VgqhN9wqBGIzYmU1"},{"anchor":"Blog","icon":"newspaper","href":"https://www.automq.com/blog"}]},"languages":[{"language":"en","href":""},{"language":"cn","href":"zh/automq/what-is-automq/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"automq","hasAudioNarration":false,"actualSubdomain":"automq","customDomains":["docs.automq.com"],"gitSource":{"type":"github","owner":"automq","repo":"sitebox","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10bb6d9ffae5051c402d30"},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b128081fcf853516559502d","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"cn","tag":"AutoMQ BYOC","count":127},{"language":"en","tag":"AutoMQ BYOC","count":116},{"language":"en","tag":"AutoMQ Open Source","count":61},{"language":"cn","tag":"AutoMQ Open Source","count":57},{"language":"en","tag":"Kafka Connect","count":48},{"language":"cn","tag":"Kafka Connect","count":48},{"language":"en","tag":"Sink Connectors","count":26},{"language":"cn","tag":"Sink Connectors","count":26},{"language":"en","tag":"Source Connectors","count":19},{"language":"cn","tag":"Source Connectors","count":19},{"language":"cn","tag":"快速开始","count":16},{"language":"en","tag":"Integrations","count":14},{"language":"en","tag":"Getting Started","count":12},{"language":"cn","tag":"生态集成","count":12},{"language":"en","tag":"Architecture","count":11},{"language":"cn","tag":"管理环境","count":11},{"language":"cn","tag":"技术架构","count":11},{"language":"cn","tag":"安装 BYOC 环境","count":9},{"language":"en","tag":"Appendix","count":8},{"language":"en","tag":"Eliminate Inter-Zone Traffics","count":8}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@automq.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"static/style.css","content":"#content-area{word-break:keep-all;white-space:normal;overflow-wrap:normal}header div:nth-child(2) p{display:none}.emphasize-placeholder{background-color:#e0f2ff;border:1px solid #2d64eb;padding:2px 6px;border-radius:4px;font-family:monospace;cursor:pointer;display:inline-flex;align-items:center}.emoji-flip{display:inline-block;transform:scaleX(-1);font-size:0.8em;margin-left:4px}"}]}
{"page":{"pagePath":"automq/deployment/performance-tuning-for-broker","slug":"/automq/deployment/performance-tuning-for-broker","pageMetadata":{"title":"Performance Tuning for Broker","description":"Optimize AutoMQ's broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.","href":"/automq/deployment/performance-tuning-for-broker"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Optimize AutoMQ’s broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`AutoMQ enhances server performance through methods like read/write efficiency optimization and resource isolation, ensuring stable and efficient operation.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Users should adjust parameters based on their hardware environment and business scenarios.`})}),`\n`,_jsx(Heading,{level:`2`,id:`memory-related-parameters`,children:`Memory-related Parameters`}),`\n`,_jsx(Heading,{level:`3`,id:`s3-stream-allocator-policy`,children:`s3.stream.allocator.policy`}),`\n`,_jsxs(_components.p,{children:[`Configure the memory allocation strategy for AutoMQ. It is advisable to use `,_jsx(_components.code,{children:`POOLED_DIRECT`}),` to alleviate GC pressure.`]}),`\n`,_jsx(Heading,{level:`3`,id:`s3-wal-cache-size`,children:`s3.wal.cache.size`}),`\n`,_jsx(_components.p,{children:`Manage the size of the Log Cache, which influences the maximum size of cached data during Tail Read (hot reads).`}),`\n`,_jsx(Heading,{level:`3`,id:`s3-block-cache-size`,children:`s3.block.cache.size`}),`\n`,_jsx(_components.p,{children:`Control the size of the Block Cache; it influences the maximum size of data cached during Catch-up Read (catch-up read, cold read). In Catch-up Read scenarios, consider appropriately increasing this value.`}),`\n`,_jsx(Heading,{level:`3`,id:`s3-wal-upload-threshold`,children:`s3.wal.upload.threshold`}),`\n`,_jsxs(_components.p,{children:[`Manage the amount of data AutoMQ accumulates in the Log Cache before triggering an S3 upload. It is advisable not to exceed 1/3 of `,_jsx(_components.code,{children:`s3.wal.cache.size`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`recommended-parameter-values`,children:`Recommended Parameter Values`}),`\n`,_jsxs(_components.p,{children:[`When the memory allocation strategy is `,_jsx(_components.code,{children:`POOLED_DIRECT`}),`, the sum of `,_jsx(_components.code,{children:`s3.wal.cache.size`}),` and `,_jsx(_components.code,{children:`s3.block.cache.size`}),` should be about 1/2 of `,_jsx(_components.code,{children:`MaxDirectMemorySize`}),` (if `,_jsx(_components.code,{children:`MaxDirectMemorySize`}),` is large, it can be slightly increased).`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsxs(_components.th,{children:[`-`,_jsx(`br`,{})]}),_jsxs(_components.th,{children:[`Tiny`,_jsx(`br`,{})]}),_jsxs(_components.th,{children:[`Small`,_jsx(`br`,{})]}),_jsxs(_components.th,{children:[`Medium`,_jsx(`br`,{})]}),_jsxs(_components.th,{children:[`Large`,_jsx(`br`,{})]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Physical Memory`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`4 GiB`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`8 GiB`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`16 GiB`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`32 GiB`,_jsx(`br`,{})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`s3.stream.allocator.policy`,_jsx(`br`,{})]}),_jsxs(_components.td,{children:[`POOLED_DIRECT`,_jsx(`br`,{})]}),_jsxs(_components.td,{children:[`POOLED_DIRECT`,_jsx(`br`,{})]}),_jsxs(_components.td,{children:[`POOLED_DIRECT`,_jsx(`br`,{})]}),_jsxs(_components.td,{children:[`POOLED_DIRECT`,_jsx(`br`,{})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`-XX:MaxHeapSize`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`1g`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`2g`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`6g`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`12g`,_jsx(`br`,{})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`-XX:MaxDirectMemorySize`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`1500m`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`3g`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`6g`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`14g`,_jsx(`br`,{})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`s3.wal.cache.size`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`524,288,000`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`1,073,741,824`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`2,147,483,648`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`6,442,450,944`,_jsx(`br`,{})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`s3.block.cache.size`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`104,857,600`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`536,870,912`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`1,073,741,824`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`4,294,967,296`,_jsx(`br`,{})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`s3.wal.upload.threshold`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`62,914,560`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`357,913,941`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`536,870,912`,_jsx(`br`,{})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[`536,870,912`,_jsx(`br`,{})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`network-related-parameters`,children:`Network-related Parameters`}),`\n`,_jsx(Heading,{level:`3`,id:`s3-network-baseline-bandwidth`,children:`s3.network.baseline.bandwidth`}),`\n`,_jsx(_components.p,{children:`The baseline for assessing local network bandwidth should be the network’s stable capability to achieve both outbound and inbound bandwidth.`}),`\n`,_jsx(_components.p,{children:`Since the server internally performs operations such as writing the WAL, S3, and Compaction, each data write from a client translates into three network writes by the server. By considering the business’s read/write ratio, you can ultimately determine the maximum write load a single machine can manage.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Performance Tuning for Broker","description":"Optimize AutoMQ's broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.","href":"/automq/deployment/performance-tuning-for-broker"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Memory-related Parameters","slug":"memory-related-parameters","depth":2,"children":[{"title":"s3.stream.allocator.policy","slug":"s3-stream-allocator-policy","depth":3,"children":[]},{"title":"s3.wal.cache.size","slug":"s3-wal-cache-size","depth":3,"children":[]},{"title":"s3.block.cache.size","slug":"s3-block-cache-size","depth":3,"children":[]},{"title":"s3.wal.upload.threshold","slug":"s3-wal-upload-threshold","depth":3,"children":[]},{"title":"Recommended Parameter Values","slug":"recommended-parameter-values","depth":3,"children":[]}]},{"title":"Network-related Parameters","slug":"network-related-parameters","depth":2,"children":[{"title":"s3.network.baseline.bandwidth","slug":"s3-network-baseline-bandwidth","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/automq/48fec8bab1afa455/content/monitor.js","/_mintlify/custom/automq/c09aa9839083e17a/content/hubspot.js","/_mintlify/custom/automq/786ace9ed17adbd7/content/luckyorange-tracking.js"],"subdomain":"automq","siteName":"AutoMQ Documentation","title":"Performance Tuning for Broker - AutoMQ Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/automq/deployment/performance-tuning-for-broker","matchLevel":0},"cn":{"href":"/zh/automq/deployment/performance-tuning-for-broker","matchLevel":1}}},"lastModified":"2026-12-04T08:57:51.190Z","originalFileLocation":"automq/deployment/performance-tuning-for-broker.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Optimize AutoMQ\u0026#x27;s broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AutoMQ Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Performance Tuning for Broker - AutoMQ Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Optimize AutoMQ\u0026#x27;s broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AutoMQ Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://automq.mintlify.site/_mintlify/api/og/v2?division=Deployment\u0026amp;title=Performance+Tuning+for+Broker\u0026amp;description=Optimize+AutoMQ%27s+broker+performance+with+memory+and+network+tuning%2C+leveraging+cloud-native+scalability+and+Kafka+compatibility+for+efficient+resource+allocati\u0026amp;theme=a9c70ef017645a82054ccd60\u0026amp;signature=a13835313c96e3a82761d36a6f5e363c135927a2fccf20161996172f4384c4d7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Performance Tuning for Broker - AutoMQ Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Optimize AutoMQ\u0026#x27;s broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://automq.mintlify.site/_mintlify/api/og/v2?division=Deployment\u0026amp;title=Performance+Tuning+for+Broker\u0026amp;description=Optimize+AutoMQ%27s+broker+performance+with+memory+and+network+tuning%2C+leveraging+cloud-native+scalability+and+Kafka+compatibility+for+efficient+resource+allocati\u0026amp;theme=a9c70ef017645a82054ccd60\u0026amp;signature=a13835313c96e3a82761d36a6f5e363c135927a2fccf20161996172f4384c4d7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/automq/ZRmM16tNeY4WJ6hO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AutoMQ Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2449D4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/automq/deployment/performance-tuning-for-broker.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.automq.com/zh/automq/deployment/performance-tuning-for-broker\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.automq.com/#organization\",\"name\":\"AutoMQ Documentation\",\"url\":\"https://docs.automq.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/logo/automq-black.svg?fit=max\u0026auto=format\u0026n=s9vNxeyMGZ1r1DRV\u0026q=85\u0026s=bcc93ae74a4143ae2b7602497b7b354b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.automq.com#website\",\"name\":\"AutoMQ Documentation\",\"url\":\"https://docs.automq.com\",\"publisher\":{\"@id\":\"https://docs.automq.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker#webpage\",\"url\":\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker\",\"name\":\"Performance Tuning for Broker\",\"description\":\"Optimize AutoMQ's broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.\",\"dateModified\":\"2026-12-04T08:57:51.190Z\",\"isPartOf\":{\"@id\":\"https://docs.automq.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Deployment\",\"item\":\"https://docs.automq.com/automq/deployment/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Performance Tuning for Broker\",\"item\":\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker#article\",\"headline\":\"Performance Tuning for Broker\",\"name\":\"Performance Tuning for Broker\",\"description\":\"Optimize AutoMQ's broker performance with memory and network tuning, leveraging cloud-native scalability and Kafka compatibility for efficient resource allocation.\",\"url\":\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker\",\"mainEntityOfPage\":{\"@id\":\"https://docs.automq.com/automq/deployment/performance-tuning-for-broker#webpage\"},\"dateModified\":\"2026-12-04T08:57:51.190Z\",\"publisher\":{\"@id\":\"https://docs.automq.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.automq.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AutoMQ Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AutoMQ Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/automq/deployment/performance-tuning-for-broker.md","siteName":"AutoMQ Documentation","nav":{"global":{"anchors":[{"anchor":"Github","icon":"github","href":"https://github.com/automq/automq"},{"anchor":"Slack","icon":"slack","href":"https://go.automq.com/slack"},{"anchor":"Telegram","icon":"Telegram","href":"https://t.me/+VgqhN9wqBGIzYmU1"},{"anchor":"Blog","icon":"newspaper","href":"https://www.automq.com/blog"}]},"languages":[{"language":"en","tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":""}]},{"tab":"AutoMQ Open Source","icon":"github","groups":[{"group":"What is AutoMQ?","icon":"book","pages":[{"title":"Overview","href":"/automq/what-is-automq/overview"},{"title":"Difference with Apache Kafka","href":"/automq/what-is-automq/difference-with-apache-kafka"},{"title":"Difference with Tiered Storage","href":"/automq/what-is-automq/difference-with-tiered-storage"},{"title":"Compatibility with Apache Kafka","href":"/automq/what-is-automq/compatibility-with-apache-kafka"},{"title":"Licensing and Enterprise Features","href":"/automq/what-is-automq/licensing-and-enterprise-features"}]},{"group":"Getting Started","icon":"play","pages":[{"title":"Deploy Multi-Nodes Test Cluster on Docker","href":"/automq/getting-started/deploy-multi-nodes-test-cluster-on-docker"},{"group":"Explore AutoMQ","pages":[{"title":"Example: Partition Reassignment in Seconds","href":"/automq/getting-started/explore-automq/example-partition-reassignment-in-seconds"},{"title":"Example: Continuous Data Self-Balancing","href":"/automq/getting-started/explore-automq/example-continuous-data-self-balancing"},{"title":"Example: Self-Balancing when Cluster Nodes Change","href":"/automq/getting-started/explore-automq/example-self-balancing-when-cluster-nodes-change"}]}]},{"group":"Deployment","icon":"wrench","pages":[{"title":"Overview","href":"/automq/deployment/overview"},{"title":"Deploy Multi-Nodes Cluster on Linux","href":"/automq/deployment/deploy-multi-nodes-cluster-on-linux"},{"title":"Deploy Multi-Nodes Cluster on Kubernetes","href":"/automq/deployment/deploy-multi-nodes-cluster-on-kubernetes"},{"title":"Deploy Multi-Nodes Cluster on Kubernetes with Strimzi","href":"/automq/deployment/multi-nodes-cluster-with-strimzi"},{"title":"Introduction and Deployment Recommendations for AutoMQ Open Source Image","description":"AutoMQ offers cloud-native scalability and Kafka protocol compatibility, enabling flexible deployments in complex environments with Kubernetes lifecycle tools for efficient resource management.","href":"/automq/deployment/deployment-recommendations"},{"title":"Performance Tuning for Broker","href":"/automq/deployment/performance-tuning-for-broker"},{"title":"Performance Tuning for Client","description":"Optimize AutoMQ for peak performance with its cloud-native scalability and Kafka compatibility, ensuring cost efficiency and enterprise-grade low-latency support.","href":"/automq/configuration/performance-tuning-for-client"},{"title":"AutoMQ Benchmark","href":"/automq/deployment/automq-benchmark"}]},{"group":"Migration","icon":"arrow-left-right","pages":[{"title":"Overview","href":"/automq/migration/overview"},{"title":"Migrating from Apache Kafka to AutoMQ","href":"/automq/migration/migrating-from-apache-kafka-to-automq"}]},{"group":"Observability","icon":"telescope","pages":[{"title":"Overview","href":"/automq/observability/overview"},{"title":"Integrating Metrics with Prometheus","href":"/automq/observability/integrating-metrics-with-prometheus"},{"title":"Dashboard Configuration","href":"/automq/observability/dashboard-configuration"},{"title":"Prometheus Metrics","href":"/automq/observability/prometheus-metrics"}]},{"group":"Architecture","icon":"landmark","pages":[{"title":"Overview","href":"/automq/architecture/overview"},{"group":"S3Stream Shared Streaming Storage","pages":[{"title":"Overview","href":"/automq/architecture/s3stream-shared-streaming-storage/overview"},{"title":"S3 Storage","href":"/automq/architecture/s3stream-shared-streaming-storage/s3-storage"},{"title":"WAL Storage","href":"/automq/architecture/s3stream-shared-streaming-storage/wal-storage"}]},{"group":"Technical Advantage","icon":"atom","pages":[{"title":"Overview","href":"/automq/architecture/technical-advantage/overview"},{"title":"5x Catch-up Read Efficiency","href":"/automq/architecture/technical-advantage/5x-catch-up-read-efficiency"},{"title":"Continuous Self-Balancing","href":"/automq/architecture/technical-advantage/continuous-self-balancing"},{"title":"Native Compatible with Apache Kafka","href":"/automq/architecture/technical-advantage/native-compatible-with-apache-kafka"},{"title":"Partition Reassignment in Seconds","href":"/automq/architecture/technical-advantage/partition-reassignment-in-seconds"},{"title":"Scale-out/in in Seconds","href":"/automq/architecture/technical-advantage/scale-outin-in-seconds"},{"title":"Stateless Broker","href":"/automq/architecture/technical-advantage/stateless-broker"}]}]},{"group":"Table Topic","icon":"text-search","pages":[{"title":"Overview","href":"/automq/table-topic/overview"},{"title":"Table Topic Quick Start","href":"/automq/table-topic/table-topic-quick-start"},{"title":"Table Topic Configuration","href":"/automq/table-topic/table-topic-configuration"}]},{"group":"Eliminate Inter-Zone Traffics","icon":"audio-lines","pages":[{"title":"Overview","href":"/automq/eliminate-inter-zone-traffics/overview"},{"title":"Broker Configuration","href":"/automq/eliminate-inter-zone-traffics/broker-configuration"},{"title":"Client Configuration","href":"/automq/eliminate-inter-zone-traffics/client-configuration"},{"title":"Monitor Inter Zone Traffic","href":"/automq/eliminate-inter-zone-traffics/monitor-inter-zone-traffic"}]},{"group":"Integrations","icon":"blocks","pages":[{"group":"Data Analysis","pages":[{"title":"Apache Doris","href":"/automq/integrations/data-analysis/apache-doris"},{"title":"Databend","href":"/automq/integrations/data-analysis/databend"},{"title":"Flink","href":"/automq/integrations/data-analysis/flink"},{"title":"RisingWave","href":"/automq/integrations/data-analysis/risingwave"},{"title":"StarRocks","href":"/automq/integrations/data-analysis/starrocks"}]},{"group":"Data Integration","pages":[{"title":"Airbyte","href":"/automq/integrations/data-integration/airbyte"},{"title":"Debezium","href":"/automq/integrations/data-integration/debezium"}]},{"group":"Kafka UI","pages":[{"title":"Kafdrop","href":"/automq/integrations/kafka-ui/kafdrop"},{"title":"Redpanda Console","href":"/automq/integrations/kafka-ui/redpanda-console"}]},{"group":"Observability","pages":[{"title":"Flashcat","href":"/automq/integrations/observability/flashcat"},{"title":"Guance Cloud","href":"/automq/integrations/observability/guance-cloud"},{"title":"Prometheus/VictoriaMetrics","href":"/automq/integrations/observability/prometheus"}]},{"group":"Storage","pages":[{"title":"RustFS","href":"/automq/integrations/storage/rustfs"},{"title":"Tigris","href":"/automq/integrations/storage/tigris"}]}]},{"group":"Configuration","icon":"settings","pages":[{"title":"Broker and Controller Configuration","href":"/automq/configuration/broker-and-controller-configuration"},{"title":"Object Storage Configuration","href":"/automq/configuration/object-storage-configuration"}]},{"group":"Releases","icon":"git-merge","pages":[{"title":"Software Artifact","href":"/automq/releases/software-artifact"},{"url":"https://github.com/AutoMQ/automq/releases/","title":null,"href":"/automq/releases/release-notes"}]},{"group":"Benchmarks","icon":"chart-spline","pages":[{"title":"AutoMQ vs. Apache Kafka Benchmarks and Cost","href":"/automq/benchmarks/automq-vs-apache-kafka-benchmarks-and-cost"}]},{"group":"Reference","icon":"book-marked","pages":[{"title":"Glossary","href":"/automq/reference/glossary"}]}]},{"tab":"AutoMQ BYOC","icon":"cloud","pages":[{"title":"AutoMQ BYOC","href":"/automq-cloud/overview/what-is-automq-cloud"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/zh/automq/deployment/performance-tuning-for-broker"}]}]},"basePath":"","title":"Performance Tuning for Broker - AutoMQ Documentation","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}