Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
docs(changelog): a faster Carbon
Sidwebworks82a4a5c66468
diff --git a/docs/content/changelog/2026-10-05-a-faster-carbon.mdx b/docs/content/changelog/2026-10-05-a-faster-carbon.mdxnew file mode 100644index 0000000000..4401319e50--- /dev/null+++ b/docs/content/changelog/2026-10-05-a-faster-carbon.mdx@@ -0,0 +1,89 @@+---+title: "A faster Carbon: quicker page loads, lighter navigation, steadier 3D models"+description: "Pages load with far fewer requests, posting runs in the app, and every request is traced with OpenTelemetry."+date: "2026-10-05"+tags: ["performance", "platform", "self-hosting"]+image: "/changelog/2026-10-05-a-faster-carbon.svg"+---++Carbon had been getting slower as companies grew, and most of the wait was the app asking for the same data again. Over the last few days we traced where a page load's time goes and removed the repeats.++## Tracing with OpenTelemetry++This work started from measurement. Carbon's apps, background jobs and the 3D model service now emit OpenTelemetry traces over OTLP, one trace per request, with a span for each loader, database call, storage call and job step. We send ours to Axiom, which is how we found every item below.++Self-hosted installs get the same traces. Tracing is off until you set `OTEL_EXPORTER_OTLP_ENDPOINT`, and any OTLP backend works. The Axiom settings are in `.env.example`.++## Moving between pages++Clicking a tab used to reload everything around it. One click on a part's bill of materials made about 68 data requests, and about 10 of them were for the page you asked for. The surrounding layout now reloads only when something changed, so a click fetches the page and little else.++Links also stopped loading pages you only moved the mouse over. A page now starts loading the moment you press on its link, and opening a record by its bare address goes straight to its details.++## Opening Carbon++The first page after sign-in made 686 requests and downloaded 3.3 MB before you did anything, most of it whole lists of items, customers and suppliers. Those lists are now read in a few requests, and on-hand quantities are fetched only when an item picker is on screen.++The frame around every page, with your companies, permissions and settings, is read in one request where it took nine. Translations ship as a cached file, which took the sign-in page's data from 427 KB to 1.2 KB.++## Record pages++Part, [job](/docs/reference/jobs), [quote](/docs/reference/quotes), [sales order](/docs/reference/sales-orders), supplier quote and [inventory](/docs/reference/inventory) pages asked their questions one after another. They now ask them together, in three steps at most where some took five or more. A part's where-used list and its change notices each take one request.++Bulk actions read what they need once for the whole selection, where they read it again for every row.++## Lists that stay current++Lists and pickers keep what they have already loaded and refresh only when a record behind them changes. A record page listens for changes to that record alone. A change made by someone else still appears without a reload, in the ERP and on the [shop floor](/docs/reference/mes).++## Posting and job creation++Posting [receipts](/docs/reference/receipts), [shipments](/docs/reference/shipments), invoices and payments, creating a job from a [method](/docs/reference/methods), issuing material and recalculating a job used to leave the app for a separate function that paid a network trip for every read. They now run inside the app on a direct database connection. Copying a method onto a job or quote line makes about a third fewer database calls.++A [self-hosted](/docs/platform/self-hosting) install no longer deploys a function per operation. One remains, for search. The [architecture](/docs/building/architecture) page shows the new layout.++## Documents++The [documents](/docs/reference/documents) page waited on its file-type filter, which was slow enough to time out for companies with many documents. The page no longer waits for it, and both the page and the filter are served from a new per-company index.++## Scheduling and planning++The Forecast board in [scheduling](/docs/reference/scheduling) scrolls smoothly on large boards. A schedule run reads every job's rows once, writes a job's operations in one statement, and writes only the operations whose dates moved. The [planning](/docs/reference/planning) run skips companies with nothing to plan.++## 3D models++Converting a CAD model for [assembly instructions](/docs/reference/assembly-instructions) uses far less memory, so large models finish where they used to fail. A 5 MB plate with 1,200 holes needed 6.2 GB to convert. It now needs 840 MB.++Model thumbnails are drawn by the same service, from the viewer's camera angle. A camera button in the viewer toolbar redraws the thumbnail from where you are looking.++## Doing more with less++Carbon is faster than it was a week ago, and it is still far from where we plan to take it.++We could get there sooner by giving each slow piece its own specialised service: a cache here, a queue there, a separate store for search. We choose not to. Carbon is open source, and the people who run it on their own servers matter as much to us as the people on our cloud. Every service we add is one more thing they have to deploy, secure and keep running.++So we keep the list of what Carbon needs short, and get the speed from using it better. Everything above came from fewer requests and better queries, and it reaches self-hosted installs the same day it reaches ours.++<Accordion title="Improvements">++- Slow parts of a page, such as an item's supersession badge and a quote's or purchase order's file list, appear after the page instead of holding it back.+- A page you leave before it finishes loading stops its remaining work.+- The PDF engine loads when you open a PDF, not with every page.+- [Audit log](/docs/reference/audit-log) writes no longer pause other requests.+- Plan checks are remembered for five minutes instead of being read on every request.+- Paged lists no longer count every matching row before showing the first page.+- Refreshing your session no longer reloads the page's data.+- Background jobs such as the notification digest wake only when there is work for them.+- Animations follow your system's reduced-motion setting everywhere, and pages can be zoomed.+- 1,824 missing translations are filled in across 12 languages.++</Accordion>++<Accordion title="Fixes">++- A page that fails to load shows the error in place instead of replacing the whole app.+- Signing in or switching company lands on the page you were headed to.+- The sidebars no longer flicker while a page loads.+- Finalizing an RFQ or a supplier quote either completes fully or changes nothing.++</Accordion>diff --git a/docs/public/changelog/2026-10-05-a-faster-carbon.svg b/docs/public/changelog/2026-10-05-a-faster-carbon.svgnew file mode 100644index 0000000000..ed2c27b585--- /dev/null+++ b/docs/public/changelog/2026-10-05-a-faster-carbon.svg@@ -0,0 +1,30 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 675" fill="none">+ <rect width="1200" height="675" fill="#09090B"/>+ <rect x="170" y="146" width="600" height="400" rx="16" fill="#141518" stroke="#26272B" stroke-width="1.5"/>+ <path d="M170 192 H770" stroke="#26272B" stroke-width="1.5"/>+ <circle cx="198" cy="169" r="4" fill="#2E3036"/>+ <circle cx="216" cy="169" r="4" fill="#2E3036"/>+ <circle cx="234" cy="169" r="4" fill="#2E3036"/>+ <rect x="206" y="214" width="96" height="10" rx="5" fill="#43454D"/>+ <rect x="206" y="236" width="150" height="8" rx="4" fill="#2E3036"/>+ <path d="M206 330 H734" stroke="#212329" stroke-width="1.5"/>+ <path d="M206 390 H734" stroke="#212329" stroke-width="1.5"/>+ <path d="M206 450 H734" stroke="#212329" stroke-width="1.5"/>+ <path d="M206 270 H734" stroke="#43454D" stroke-width="1.5" stroke-dasharray="5 7"/>+ <rect x="218" y="290" width="34" height="220" rx="7" fill="#20232A" stroke="#26272B" stroke-width="1.5"/>+ <rect x="276" y="284" width="34" height="226" rx="7" fill="#20232A" stroke="#26272B" stroke-width="1.5"/>+ <rect x="334" y="287" width="34" height="223" rx="7" fill="#20232A" stroke="#26272B" stroke-width="1.5"/>+ <rect x="392" y="288" width="34" height="222" rx="7" fill="#20232A" stroke="#26272B" stroke-width="1.5"/>+ <rect x="450" y="365" width="34" height="145" rx="7" fill="#2E3036" stroke="#26272B" stroke-width="1.5"/>+ <rect x="508" y="395" width="34" height="115" rx="7" fill="#2E3036" stroke="#26272B" stroke-width="1.5"/>+ <rect x="566" y="421" width="34" height="89" rx="7" fill="#2E3036" stroke="#26272B" stroke-width="1.5"/>+ <rect x="624" y="442" width="34" height="68" rx="7" fill="#2E3036" stroke="#26272B" stroke-width="1.5"/>+ <rect x="682" y="455" width="34" height="55" rx="7" fill="#00B0FF" stroke="#00B0FF" stroke-width="1.5"/>+ <path d="M206 510 H734" stroke="#26272B" stroke-width="1.5"/>+ <rect x="700" y="220" width="330" height="190" rx="20" fill="#1B1C20" stroke="#00B0FF" stroke-width="1.5"/>+ <path d="M776 262 L738 322 H764 L756 368 L796 304 H770 Z" fill="#00B0FF" stroke="#00B0FF" stroke-width="6" stroke-linejoin="round"/>+ <rect x="836" y="278" width="117" height="14" rx="7" fill="#43454D"/>+ <rect x="836" y="312" width="160" height="10" rx="5" fill="#212329"/>+ <rect x="836" y="312" width="59" height="10" rx="5" fill="#43454D"/>+ <rect x="836" y="340" width="110" height="8" rx="4" fill="#2E3036"/>+</svg>diff --git a/docs/scripts/generate-changelog-thumbnail.mjs b/docs/scripts/generate-changelog-thumbnail.mjsindex 5a6bde0b1c..0615491d72 100644--- a/docs/scripts/generate-changelog-thumbnail.mjs+++ b/docs/scripts/generate-changelog-thumbnail.mjs@@ -90,6 +90,24 @@ const M = {dot(574, 232, 5, ACCENT), hr(170, 522, 860)].join("\n");},+ /* Response time falling: tall bars step down to one short accent bar, under the old level. */+ speed: (r) => {+ const heights = [224, 232, 216, 228, 150, 112, 84, 66, 54].map((h, i) => h + (i < 4 ? pick(r, -8, 8) : pick(r, -5, 5)));+ const bars = heights.map((h, i) => {+ const hot = i === heights.length - 1;+ return ` <rect x="${218 + i * 58}" y="${510 - h}" width="34" height="${h}" rx="7" fill="${hot ? ACCENT : i < 4 ? "#20232A" : DIM}" stroke="${hot ? ACCENT : STROKE}" stroke-width="1.5"/>`;+ });+ return [panel(170, 146, 600, 400), chrome(170, 146, 600),+ bar(206, 214, 96, MID, 10, 5), bar(206, 236, 150, DIM, 8, 4),+ ...[0, 1, 2].map((i) => hr(206, 330 + i * 60, 528)),+ ` <path d="M206 270 H734" stroke="${MID}" stroke-width="1.5" stroke-dasharray="5 7"/>`,+ ...bars, hr(206, 510, 528, STROKE),+ panel(700, 220, 330, 190, 20, PANEL2, ACCENT),+ ` <path d="M776 262 L738 322 H764 L756 368 L796 304 H770 Z" fill="${ACCENT}" stroke="${ACCENT}" stroke-width="6" stroke-linejoin="round"/>`,+ bar(836, 278, pick(r, 96, 124), MID, 14, 7),+ bar(836, 312, 160, FAINT, 10, 5), bar(836, 312, pick(r, 44, 64), MID, 10, 5),+ bar(836, 340, 110, DIM, 8, 4)].join("\n");+ },merge: (r) => {const jobs = [0, 1, 2].map((i) => {const y = 206 + i * 100;@@ -236,6 +254,7 @@ const M = {* match is the entry's real subject. "Ramp card transactions, batch materials, …"* is a ledger entry, not a batching one. Tags are a fallback only. */const MOTIFS = [+ ["speed", /faster|speed|performance|latency/i],["dashboard", /dashboard|time clock|timecard|report/i],["gantt", /schedul|capacity|gantt/i],["merge", /batching|batch |merge|consolidat/i],