Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 70 additions & 2 deletions scripts/sales-lens-rules.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ Flow answers about 15,000 requests a second on a desktop and about 13,000 a seco

## The flow

Five nodes: an HTTP endpoint, three property edits, a reply. Nothing in it is fast on purpose. It's the shape of a small real flow, which is what a benchmark of a flow engine should be about. The load generator is closed-loop: each client sends the next request when the last one came back, so it measures what the far end can absorb and cannot produce the misleading latency an open-loop generator reports when the target falls behind.
Five nodes: an HTTP endpoint, three property edits, a reply. It's the shape of a small real flow, which is what a benchmark of a flow engine should be about. The load generator is closed-loop: each client sends the next request when the last one came back, so it measures what the far end can absorb and cannot produce the misleading latency an open-loop generator reports when the target falls behind.

## Run it yourself

Expand Down Expand Up @@ -349,7 +349,7 @@ Held for 600 seconds, the same command on the same board settles at 11.4k req/s

### What these numbers are not

**HTTP throughput includes the HTTP stack.** On purpose: it's what a client of your flow experiences. It is not a measurement of the scheduler. The engine rows are, with no I/O in the path at all.
**HTTP throughput includes the HTTP stack.** It's what a client of your flow experiences. It is not a measurement of the scheduler. The engine rows are, with no I/O in the path at all.

**One flow shape, one payload size, one concurrency.** A flow doing real I/O, an MQTT publish or a database write, is dominated by the I/O. These numbers are the runtime's own overhead, not a promise about every workload.

Expand Down Expand Up @@ -591,3 +591,71 @@ Bring EtherNet/IP tags into the same namespace as Modbus, OPC UA and MQTT. [Try
Yes. HotLoop ships eighteen native drivers, including OPC UA, Modbus TCP and RTU, MQTT and Sparkplug B, EtherNet/IP, S7comm, MTConnect, BACnet/IP and SNMP. Each driver lists what it was tested against. As a PLC gateway it is a Modbus TCP gateway, an OPC UA gateway, an MQTT Sparkplug B gateway and a Siemens S7 gateway in one program.

## Native drivers`] });

// ---- no "on purpose" on a public page (Patrick 2026-11-28): the fact stays, and where the phrase gave a reason the reason is said as what it buys.
const NOT_RELEASE = /^(?!releases\/)/;
GLOBAL.push(
{ sub: [ws("Flow won't start without three things, and every one of those refusals is on purpose:"), "Flow won't start without three things:"], only: NOT_RELEASE },
{ sub: [ws('What you give up is on purpose:'), 'What you give up:'], only: NOT_RELEASE },
{ sub: [ws('for five reasons, all on purpose.'), 'for five reasons.'], only: NOT_RELEASE },
{ sub: [ws('(the runtime image has none, on purpose),'), '(the runtime image has none),'], only: NOT_RELEASE },
{ sub: [ws("More than people expect, and that's on purpose."), 'More than people expect, so the line is clear for everyone.'], only: NOT_RELEASE },
{ sub: [ws('## Left out on purpose'), '## Routes that need a signed-in person'], only: NOT_RELEASE },
{ sub: [ws('carries no update label, on purpose.'), 'carries no update label, so a database upgrade is always a step you take.'], only: NOT_RELEASE },
{ sub: [ws("does not follow `:stable`, on purpose, and an update that can't start is rolled back."), "does not follow `:stable`, so a database upgrade is always a step you take, and an update that can't start is rolled back."], only: NOT_RELEASE },
{ sub: [ws('The database container does not follow `:stable`, on purpose.'), 'The database container does not follow `:stable`, so a database upgrade is always a step you take.'], only: NOT_RELEASE },
{ sub: [ws('pins `replicaCount: 1` on purpose.'), 'pins `replicaCount: 1`, which keeps a single source of truth for the instance.'], only: NOT_RELEASE },
{ sub: [ws('# Only reachable from this host. /status has no auth, on purpose.'), '# Only reachable from this host, so /status needs no auth.'], only: NOT_RELEASE },
{ sub: [ws('# zero on purpose, the comms websocket is long-lived'), '# zero, because the comms websocket is long-lived'], only: NOT_RELEASE },
{ sub: [ws("That's a call we made on purpose; change the floor"), 'Change the floor'], only: NOT_RELEASE },
{ sub: [ws('Registering is on purpose: a relay'), 'A relay'], only: NOT_RELEASE },
{ sub: [ws('What it costs, on purpose and decided:'), 'What it costs:'], only: NOT_RELEASE },
{ sub: [ws("That's on purpose: one number to ask about"), 'One number to ask about'], only: NOT_RELEASE },
{ sub: [ws("That is on purpose: the entity API uses"), 'The entity API uses'], only: NOT_RELEASE },
{ sub: [ws("That is on purpose: the entity API exists"), 'The entity API exists'], only: NOT_RELEASE },
{ sub: [ws("That is on purpose: a box that is down"), 'A box that is down'], only: NOT_RELEASE },
{ sub: [ws("That's on purpose: nobody upgrades"), 'Nobody upgrades'], only: NOT_RELEASE },
{ sub: [ws('On purpose: it\'s what a client'), "It's what a client"], only: NOT_RELEASE },
{ sub: [ws('On purpose, above.'), 'See above.'], only: NOT_RELEASE },
{ sub: [/(?<=[.!?:])[ \n]+That(?:'s| is) on purpose\./g, ''], only: NOT_RELEASE },
{ sub: [/^That(?:'s| is) on purpose\.[ \n]*/gm, ''], only: NOT_RELEASE },
{ sub: [/,[ \n]+on purpose([,.:;])/g, '$1'], only: NOT_RELEASE },
{ sub: [/[ \n]+on purpose([,.:;)])/g, '$1'], only: NOT_RELEASE },
{ sub: [/[ \n]+on purpose[ \n]+/g, ' '], only: NOT_RELEASE },
);

// ---- the pages that told a reader what they do not do now lead with what they do and how the rest comes.
add('iot/authentication',
{ rewrite: 'What it does not do', text: `- **Lockout follows the account.** A password, or a PIN with its user name, locks out as described in [The lockout](#the-lockout-after-wrong-passwords-and-pins).
- **It signs out when the time is up.** The panel goes back to the PIN field.
- **A panel signed in with a password** (the way a panel had to be run before this) keeps working as it did and still writes as that account. For a shared panel, give the people at it PINs and no standing operator login.
- **A keyboard-style reader is the badge reader.** Permissions are the signed-in person's own.` },
{ sub: [/^### What it does not do$/m, '### What the panel does'] });
add('iot/energy',
{ rewrite: 'What it does not do', text: `* **Name a shift in the request.** A shift is named as \`shift:06:00-14:00\`, on a quarter hour, because the buckets are quarter hours.
* **Demand is the highest quarter hour.** The charge is the highest quarter hour in the window times the price. A utility's ratchets, minimum demands and power factor charges are the utility's to apply to those figures.
* **The tag arrives first.** Add the device (Modbus, MQTT, OPC UA, or Emberburn for a simulated one), then make the meter.` },
{ sub: [/^## What it does not do$/m, '## What you set up'] });
add('iot/weather',
{ rewrite: 'What it does not do', text: `* **Your station's own readings.** Weather is what your station measures, with no forecast service in the way.
* **History is the tag's.** The trend line on the tile is the temperature tag's, and every other tag is in the historian like any other.
* **The station arrives as tags first.** Add its device (MQTT, Modbus or OPC UA), then bind the tags.` },
{ sub: [/^## What it does not do$/m, '## What you get'] });
add('flow/compatibility',
{ rewrite: 'Not supported at all', text: `**Native nodes for the ones a plant leans on.** Modbus, the dashboard nodes (HotLoop Glass), PostgreSQL and e-mail run natively under their own type names: see node-red-types.md. A node that has no native type fails by itself, with its type named, and the rest of the flow starts.` },
{ sub: [/^## Not supported at all$/m, '## Community nodes'] });
add('iot/codesys-screen-import',
{ rewrite: 'What does not come across', text: `Said in the import, one line each, never dropped quietly:

* **Elements with no HotLoop symbol** (a trace, a table, a slider, an image element, and the rest of the toolbox) are listed with the reason, so you place a HotLoop card for each.
* **A variable that is an expression** (\`Temp * 2\`, \`a AND b\`, an array element): HotLoop shows a tag, so add a tag for the expression and point a readout at it.
* **An invisible or toggle color variable on a shape drawn into the background picture** (a pipe, a vessel, a frame): the picture is one image, so the shape stays drawn and keeps its color, and the import says so with the variable.
* **Any other setting driven by a PLC value** (a color variable for the fill, frame or text, a movement, a blink, a text list): the symbol comes across as it was drawn, and the rule is reported when its variable is a plain one.
* **A bezier curve** is drawn as straight lines between its points, and a rotated element keeps its place and is drawn unrotated.
* **The page size**, which the export does not hold: the page is as big as the outermost element, plus a margin.
* **Text longer than 40 characters** is cut, and dials come across as numbers.

The text styles, fonts and colors of the CODESYS style are HotLoop's: the screen
follows HotLoop's theme.` },
{ sub: [/^## What does not come across$/m, '## How the rest comes across'] });

4 changes: 2 additions & 2 deletions scripts/sync-manifest.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ export const PAGES = [
{ product: 'flow', group: 'Nodes', slug: 'flow/typed-wires', repo: 'flow', file: 'README.md', sections: ['Typed wires'], title: 'Typed wires', description: 'Put a JSON Schema on the json node and check messages on a wire, so a wrong shape lands at a Catch node and names every bad field.' },
{ product: 'flow', group: 'Run it', slug: 'flow/mcp', repo: 'flow', file: 'README.md', sections: ['MCP, in both directions'], title: 'MCP, in both directions', description: 'An agent can call a flow as a tool, and a flow can call a tool on any MCP server, with three nodes and one config node.' },
{ product: 'flow', group: 'Nodes', slug: 'flow/compatibility', repo: 'flow', file: 'docs/compatibility.md', title: 'Node-RED compatibility', description: 'Every deliberate divergence from Node-RED, node by node, with the reason, so an imported flow gets the answer it got before.' },
{ product: 'flow', group: 'Run it', slug: 'flow/security', repo: 'flow', file: 'README.md', sections: ['Security posture'], title: 'Security posture', description: 'No login is a startup error, exec ships off, file nodes are fenced, and credentials are encrypted. What Flow refuses and how to opt out on purpose.' },
{ product: 'flow', group: 'Run it', slug: 'flow/security', repo: 'flow', file: 'README.md', sections: ['Security posture'], title: 'Security posture', description: 'No login is a startup error, exec ships off, file nodes are fenced, and credentials are encrypted. What Flow refuses and how to opt out.' },
{ product: 'flow', group: 'Run it', slug: 'flow/configuration', repo: 'flow', file: 'README.md', sections: ['Configuration'], title: 'Configuration', description: 'Every setting Flow reads, its default, its environment override and what a bad value does at startup.' },
{ product: 'flow', group: 'Run it', slug: 'flow/admin-api', repo: 'flow', file: 'README.md', sections: ['The admin API'], title: 'The admin API', description: 'The HTTP and websocket calls the editor and the command line use, what each needs and what it returns.' },
{ product: 'flow', group: 'Run it', slug: 'flow/metrics', repo: 'flow', file: 'README.md', sections: ['Metrics'], title: 'Metrics', description: 'The Prometheus metrics Flow exposes per node, so a backed-up wire or a full inbox shows up on a graph before it shows up as an outage.' },
{ product: 'flow', group: 'Run it', slug: 'flow/stations', repo: 'flow', file: 'docs/stations.md', title: 'Pushing to a tenant\'s stations', description: 'One flow file and its FlowLab diagrams onto every Flow install a tenant runs, one at a time, checked after each, with a failed one put back.' },
{ product: 'flow', group: 'Run it', slug: 'flow/failover', repo: 'flow', file: 'docs/failover.md', title: 'A warm standby with a lease', description: 'Two Flow installs share one job: a lease in PostgreSQL and a fence on every write to equipment, so only one of them writes at a time.' },
{ product: 'flow', group: 'Run it', slug: 'flow/deploying', repo: 'flow', file: 'docs/deploying.md', title: 'Deploying Flow', description: 'Flow on Kubernetes with Helm, on a box with Podman and Quadlet, or with a plain podman run, plus backups and the one secret you must never lose.' },
{ product: 'flow', group: 'Run it', slug: 'flow/troubleshooting', repo: 'flow', file: 'README.md', sections: ['When it refuses to start'], title: 'When it refuses to start', description: 'The startup errors Flow gives on purpose, what each one means and the one-line fix.' },
{ product: 'flow', group: 'Run it', slug: 'flow/troubleshooting', repo: 'flow', file: 'README.md', sections: ['When it refuses to start'], title: 'When it refuses to start', description: 'The startup errors Flow gives, what each one means and the one-line fix.' },
{ product: 'flow', group: 'Project', slug: 'flow/where-it-stands', repo: 'flow', file: 'README.md', sections: ['Where it stands'], title: 'Where Flow stands', description: "What Flow runs against on real equipment, and where it came from before it was HotLoop Flow." },
{ product: 'flow', group: 'Project', slug: 'flow/benchmarks', repo: 'flow', file: 'docs/bench/README.md', title: 'Benchmarks', description: 'Flow\'s measured start time, memory, throughput and latency on a desktop and a Raspberry Pi 5, what the numbers are not, and how to run the same test yourself.' },
{ product: 'flow', group: 'Project', slug: 'flow/building', repo: 'flow', file: 'README.md', sections: ['Building'], title: 'Building Flow', description: 'Build the Flow binary from source: one static binary with the editor inside it, no C library underneath.' },
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ar/business.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ editUrl: false

## ما الذي يُعدّ استخدامًا تجاريًا

أكثر مما يتوقع الناس، وهذا مقصود. إذا كانت شركة أو أي جهة ربحية تشغّله، أو كنت تشغّله لأجلها، فعامله على أنه استخدام تجاري. الاستخدام الداخلي المحض يُحتسب. وعدم تقاضي مال من أحد يُحتسب. وسواء أكسبك HotLoop مالًا أم وفّره لك فلا يدخل في الحساب. من الأفضل أن تعرف ذلك قبل أن تبني أتمتة مصنع كامل على «إنه للاستخدام الداخلي فقط».
أكثر مما يتوقعه الناس، حتى يكون الخط واضحًا للجميع. إذا كانت شركة أو أي جهة ربحية تشغّله، أو كنت تشغّله لأجلها، فعامله على أنه استخدام تجاري. الاستخدام الداخلي المحض يُحتسب. وعدم تقاضي مال من أحد يُحتسب. وسواء أكسبك HotLoop مالًا أم وفّره لك فلا يدخل في الحساب. من الأفضل أن تعرف ذلك قبل أن تبني أتمتة مصنع كامل على «إنه للاستخدام الداخلي فقط».

## الاستعداد

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ar/cascade/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ detail: {"reason": "the line 4 oven needs a setpoint workflow", "method": "POST"
| `change_settings` | `PATCH /api/v1/settings` | `instance.settings` | كتابة |
| `describe_tool_body` | ليس مسارًا: مخطط JSON الذي يقبله متن الأداة | أي مفتاح مسجَّل الدخول | قراءة |

## متروك عمدًا
## المسارات التي تحتاج شخصًا مسجّلًا الدخول

عشرة مسارات ترفض المفتاح بنفسها، لأنها تريد شخصًا مسجَّل الدخول، ولا يتظاهر خادم MCP بخلاف ذلك: إنشاء مفتاح API، وإنشاء مفتاح حساب خدمة، وإنشاء رمز SCIM، وإضافة مزود أسرار خارجي وتغييره وحذفه، وإضافة وجهة سجلات وتغييرها وحذفها، وكلمة مرور الشخص نفسه. المفتاح الذي يستطيع سكّ المفاتيح، أو تغيير وجهة إرسال سجل التدقيق، هو مفتاح مسرَّب يستطيع إبقاء نفسه حيًا. وكل واحد منها سيكون أداة لا تجيب إلا «غير مسموح»، فلا يُعرض أي منها. وكل ما عدا ذلك أداة: سرد وجهات السجلات ومزودي الأسرار ورموز SCIM، وإبطال رمز SCIM، واختبار مزود أو وجهة، وسرد المفاتيح وإبطالها، وفتح webhook الاختبار لسير عمل، وبدء تسجيل دخول OAuth2، الذي يعيد العنوان الذي يفتحه شخص بعد ذلك. ويستطيع المفتاح إبطال نفسه، وهو أول ما ينبغي أن يقدر عليه من يحمل مفتاحًا مسرَّبًا.

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ar/cascade/quadlet.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sudo systemctl enable --now podman-auto-update.timer

لإبقاء التحديثات معلّقة حتى تأذن، اترك المؤقت متوقفًا وشغّل `sudo podman auto-update` عندما تكون جاهزًا. ولتحدث داخل نافذة زمنية فقط، ثبّت `update-window.conf` (يشرح رأس الملف كيف).

هناك أمران لا يستطيع التراجع إلغاءهما. الترحيلات تمضي إلى الأمام فقط، لذلك خذ نسخة احتياطية قبل تفعيل التحديثات. وأي إصدار يغيّر جدولًا بطريقة لا تستطيع النسخة القديمة قراءتها يذكر ذلك في ملاحظات إصداره. والثاني قاعدة البيانات: صورتها مثبّتة على وسم محدد وبلا وسم تحديث، عن قصد. الخادم الجديد الذي لا يبدأ يُلغى بإعادة الصورة القديمة، أما صورة قاعدة بيانات جديدة فقد تبدأ وتغيّر دليل البيانات ثم يتبيّن بعد ذلك أنها خطأ. داخل PostgreSQL 18 يكون ذلك بتعديل الوسم، بعد قراءة ملاحظات الإصدار وأخذ نسخة احتياطية.
هناك أمران لا يستطيع التراجع إلغاءهما. الترحيلات تمضي إلى الأمام فقط، لذلك خذ نسخة احتياطية قبل تفعيل التحديثات. وأي إصدار يغيّر جدولًا بطريقة لا تستطيع النسخة القديمة قراءتها يذكر ذلك في ملاحظات إصداره. والثاني قاعدة البيانات: صورتها مثبّتة على وسم محدد وبلا وسم تحديث،, فترقية قاعدة البيانات خطوة تقوم بها أنت دائمًا. الخادم الجديد الذي لا يبدأ يُلغى بإعادة الصورة القديمة، أما صورة قاعدة بيانات جديدة فقد تبدأ وتغيّر دليل البيانات ثم يتبيّن بعد ذلك أنها خطأ. داخل PostgreSQL 18 يكون ذلك بتعديل الوسم، بعد قراءة ملاحظات الإصدار وأخذ نسخة احتياطية.

في نمط PostgreSQL يكون الخادم وكل worker وحدات منفصلة، فالتحديث الذي لا يبدأ يتراجع عن تلك الوحدة وحدها وليس عن التي بجانبها.

Expand Down
Loading