LogoLogo
umh-core
umh-core
  • Introduction
  • Getting Started
  • Usage
    • Unified Namespace
      • Overview
      • Payload Formats
      • Topic Convention
      • Producing Data
      • Consuming Data
    • Data Flows
      • Overview
      • Bridges
      • Stand-alone Flow
      • Stream Processor ๐Ÿšง
    • Data Modeling ๐Ÿšง
      • Data Models ๐Ÿšง
      • Data Contracts ๐Ÿšง
      • Stream Processors ๐Ÿšง
  • Production
    • Updating
    • Sizing Guide
    • Corporate Firewalls
    • Metrics
    • Migration from Classic
  • Reference
    • Configuration Reference
    • Container Layout
    • State Machines
    • Environment Variables
  • UMH Core vs UMH Classic
  • UMH Classic
    • Go To Documentation
  • Ressources
    • Website
    • Blog
Powered by GitBook
On this page
  1. Production

Sizing Guide

Start with โ†’ 2 vCPU ยท 4 GB RAM ยท 40 GB SSD

What that box handles

  • โ‰ˆ 9 bridges instances (e.g. OPC UA โžœ Redpanda) plus one bridge instance that forwards from the local Redpanda to an external MQTT broker

  • โ‰ˆ 900 tags at 1 message / second each

  • Keeps seven days of history under the default cluster retention (log_retention_ms = 7 days)

  • Runs comfortably below 70 % CPU and I/O on a Hetzner CAX21 / CX32-class VM or Raspberry Pi 4

Disk usage in practice

Redpanda writes 128 MiB segments; a segment can be deleted only after it is closed. With Snappy compression, a typical 200 B JSON payload shrinks to โ‰ˆ 20 B. Allowing a 5 GB safety buffer, a 40 GB SSD gives โ‰ˆ 35 GB usable history โ‰™ ~2.8 billion messages.

Need more? Shorten retention (either during install with internal.redpanda.redpandaServiceConfig.defaultTopicRetentionMs or later on the topic level using rpk) or enlarge the disk.

Memory

Component
Rule of thumb

Redpanda

โ‰ˆ 2 GB ยท cores + 1.5 GB head-room (Seastar rule)

Agent + supervision

โ‰ˆ 150 MB

Each extra pipeline

โ‰ˆ 100 MB

CPU

One core is kept busy by Redpanda. One additional core comfortably covers the agent and the first dozen pipelines doing light transforms. Heavy parsing, encryption, or synchronous HTTP calls may warrant more cores or a faster CPU.

Easy vertical scaling

UMH Core is stateless besides the /data volume. To grow:

  1. Stop the container

  2. Move or resize the volume / attach it to a bigger VM

  3. Start the same image โ€” no reinstall or re-configuration required

PreviousUpdatingNextCorporate Firewalls

Last updated 1 day ago