IMD SolutionComputing LibraryShop main store

Selection guide

Sizing one PC for InfluxDB, Telegraf, Grafana and Node-RED

Edge computing and IIoT Published 7 min read

Short answer

For one Docker host running InfluxDB, Telegraf, Grafana and Node-RED beside Excel reporting, concurrency decides the hardware: take the eight-core Xeon class over any faster-clocked smaller CPU, open with 16 GB and free memory sockets, and treat three 1 TB drives in RAID 5 as provisional until a measured daily-growth trial sizes the full retention.

On this page
  1. What this host actually has to carry
  2. Cores or clock speed: the CPU decision
  3. Memory: the starting size and the upgrade trigger
  4. Storage: keep the array, size it from measured growth
  5. Where the software path decides before the hardware does
  6. The build sheet
  7. Questions asked

Your platform is sound; the changes are about emphasis, not architecture. The load is 40 buckets of 200 Modbus field values refreshed every 10 seconds — 800 field values per second, a light write rate for InfluxDB 2 — plus up to 25 queries per second, with Grafana, Node-RED and Excel sharing the box. The deciding specification is core count, not clock speed or cache: take the eight-core end of the Xeon class you named, the W-1270p or similar, over any faster-clocked four-to-six-core part. Start with 16 GB bought as two modules, with 32 GB as the planned next step. Keep the three 1 TB drives in RAID 5, but call the array sized only when a measured growth trial gives you gigabytes per day; the field-value count cannot do it.

What this host actually has to carry #

Take your own figures and reduce them: 40 buckets × 200 field values per bucket ÷ 10 seconds = 800 field values per second; across two 365-day years of continuous collection that is 800 × 86,400 × 730 = 50,457,600,000 field values, about 50.5 billion. A field value is not a point and not a request: one point carries several fields, and Telegraf batches many points into each HTTP write, so the request rate sits below the value rate and follows the flush interval, not Modbus.

That total alone says little about hardware. The disk cost of a point is a separate calculation, worked through in what one Telegraf point really costs on InfluxDB disk, and the rate trouble that hurts small edge boxes comes from oversampled PLC data, not from a paced 10-second cycle — sizing an edge PC for oversampled PLC data to InfluxDB covers that case.

The Modbus input plugin, the one that shipped in Telegraf 1.14, reads registers into fields; it does not decide cardinality. Series count follows from your tag set, so keep only stable attributes — the device, the register block — in tags, and never let a value that changes often become one. Slim cardinality is a schema decision, not a plugin feature.

Workload item Your stated figure What actually decides the hardware
Ingest 800 field values per second batched write requests per flush; Modbus poll duration
Retention 2 years measured compressed gigabytes per day, plus index and write-ahead log
Query rate 20-25 queries per second the time range and aggregation inside each query, run concurrently
Cardinality low, via the Modbus plugin the tag design, measured as series count
Co-tenants Grafana, Node-RED, Excel reporting peak concurrent tasks on reporting days

Cores or clock speed: the CPU decision #

Decision: buy the eight-core Xeon you named — W-1270p class — at stock clock, and spend nothing on a faster-clocked smaller part. Clock frequency shortens the latency of work on one thread; cache shortens that thread's memory waits. Neither creates a second thread, and this host always has several runnable: Telegraf's gather loop, InfluxDB's ingest path, the storage engine's compaction running behind it, up to 25 queries in flight, Grafana rendering panels, Node-RED executing flows, Excel recalculating a report workbook, and the Docker engine beneath all of them. A fast core cannot donate its clock to a queue of waiting tasks.

InfluxData's archived hardware-sizing guidelines for InfluxDB OSS make the same call in coarser form: for better performance they recommend 8 GB of RAM and 4 CPUs or more, and at least two cores per node wherever InfluxDB runs clustered — they count processors and never mention frequency or cache. InfluxDB 2 OSS runs the same TSM storage engine those guidelines were written around, so the numbers carry over. By that standard the smallest defensible processor here is a quad-core; the eight-core part buys headroom for the co-tenants, which is exactly where this machine's risk sits.

Memory: the starting size and the upgrade trigger #

Decision: your 16 GB opening is right, bought as two 8 GB modules so two sockets stay free, with 32 GB as the planned next step rather than a maybe. The split works: roughly a quarter keeps InfluxDB comfortable at the guideline's level, a few gigabytes cover Grafana, Node-RED and the Docker engine, and the rest belongs to the operating system and an open Excel workbook. Two observations mean upgrade, not tune: the host pages during query bursts, or the container runtime kills a container that exceeded its memory limit. Set a memory limit per service in the compose file, so InfluxDB's cache growth surfaces as that one container's failure instead of the whole host slowing under Excel.

Storage: keep the array, size it from measured growth #

Decision: keep your three 1 TB drives and the RAID 5, on SSDs, and let a measured growth figure — not the value count — declare the capacity adequate. Three 1 TB in RAID 5 yield 2 TB usable and tolerate one drive failure. The textbook worry about RAID 5, that every small random write becomes up to four I/O operations (read the old data, read the parity, write the new data, write the new parity), does not bite here: Telegraf delivers batched, largely sequential writes at a modest rate. What does deserve respect is the rebuild — after one drive fails you run unprotected until its replacement resynchronizes — and the fact that RAID is not a backup, so export the buckets and dashboards somewhere off this host.

Worked example: the retention window on disk #

Run the full stack against the real schema and read the InfluxDB data directory daily — the method is spelled out in estimate historian disk space from measured daily growth. Suppose the trial settles at 0.10 GB per day; that is an example figure, and your measurement replaces it. Retained data over the retention window: 0.10 GB/day × 730 days = 73 GB. Add a 25% margin for the index, the write-ahead log, container images and free space: 73 GB × 1.25 ≈ 91 GB. The array's 2 TB usable covers that about twenty times over, so at this ingestion rate capacity was never the real risk; the trial exists to prove it, and to catch a runaway tag before it compounds.

Where the software path decides before the hardware does #

Put all four services on one user-defined Docker network and let Grafana and Node-RED reach InfluxDB by its compose service name, not through a port published to the host. Keep the InfluxDB data on the array as a named volume. If Excel forces a Windows host, Docker Desktop runs the engine inside a WSL2 virtual machine: keep that volume inside the VM's virtual disk — a volume on a Windows-mounted path pushes every write through a network-style file layer — and cap the VM's memory in the WSL2 configuration file so Excel keeps its share. If the reporting can move to another machine, a plain Linux host removes that layer entirely.

Watch two software numbers before blaming hardware. First, the Modbus poll duration: it must finish well inside the collection interval or samples arrive late regardless of database speed, and whether each device sits on serial RTU or Modbus TCP sets how much of that interval the transport itself consumes. Second, Grafana's query concurrency, which follows dashboard refresh rates; a wall of panels refreshing fast is what turns a modest query rate into a scan. Schedule the Excel report refreshes instead of letting them recalculate freely through the working day — a workbook dragging over a full-retention export is the heaviest co-tenant load this host will ever see.

The build sheet #

Part Decision Basis
CPU the eight-core Xeon class you named (W-1270p or similar), stock clock concurrency: the guideline's 4 CPUs or more, plus four co-tenants
Memory 16 GB as two 8 GB modules, two sockets free; 32 GB when paging appears the database's 8 GB comfort level plus Grafana, Node-RED, Docker and Excel
Storage three 1 TB SSDs, RAID 5, about 2 TB usable one-drive fault tolerance; capacity confirmed by the growth trial
Host Linux if Excel can move; otherwise Windows with volumes inside the WSL2 disk keeps the virtualization layer off the write path where possible
Containers per-service memory limits; service-name networking on one Docker network failures stay attributable to one service

If this host mounts in a control cabinet instead of under a desk, specify it as an industrial mini PC of the class decided above — the processor, the free memory sockets and the three drives on this sheet are the requirements to hand over.

Under-sizing this machine would take effort: the write rate is modest, the documented minimums sit well below your plan, and the realistic failure modes — a tag set that multiplies series, one dashboard query scanning the whole retention, Excel quietly claiming the memory — are all software discipline. Buy the cores, keep the memory sockets free, measure the growth, and the workstation you proposed is not overkill; it is the first historian host that will not need rebuilding after its first year.

Questions asked

Does this workstation need a dedicated graphics card?

No. Grafana draws its charts in the browser, and InfluxDB, Telegraf and Node-RED never touch a GPU, so any video output that can display the desktop is enough for the Excel work. Money earmarked for graphics is better spent on a fourth drive kept as a cold spare for the array.

How long should the growth trial run before ordering the drives?

At least two weeks, long enough to include the heaviest reporting day. Record the InfluxDB data directory size daily, take the average daily growth, multiply by 730 for the full retention window, then add the same 25% margin used above. If the daily figure is still climbing at the end, a tag is accumulating values — fix the schema before fixing the drive order.

What proves the memory upgrade is due?

Either of two observations during a query burst: the host paging to swap, or the container runtime killing a container that exceeded its memory limit. Both mean the working set outran physical memory. Move to 32 GB then instead of shrinking caches, because a historian starved of cache slows every dashboard at once.

Should Telegraf run on a separate collection box instead?

Not at this scale. One host with per-service memory limits is simpler and adequate here. The split becomes worth it for two reasons: an edge box keeps sampling alive when the workstation reboots for updates, and it protects polling latency once queries compete with collection. Make it the first split, and only after measurements show that contention.

Keep reading

  • Troubleshooting

    Troubleshoot missing data in a Node-RED InfluxDB Grafana stack

    Work the chain in order: acquisition into Node-RED, the InfluxDB service and its storage mount, the write settings, then the Grafana query. In a 2.x stack most empty panels trace to a wrong token, bucket, URL or a controller clock that stamps points outside the panel's time range.

    Edge computing and IIoT

  • Selection guide

    Which host meets Proficy Historian Edge 2.3 requirements

    Proficy Historian Edge 2.3 requires an x86 host with at least 1 GB of RAM and 8 GB of storage. The AXC F 2152 is an Arm controller with 512 MB of DDR3 SDRAM and a 12 MB data storage system, so it fails all three gates and no network change repairs that. The minimum in-family replacement is the AXC F 3152; the cleaner option is a dedicated x86 edge PC with verified usable RAM and storage.

    Edge computing and IIoT

  • Explainer

    Sizing a self-hosted Node-RED InfluxDB Grafana historian

    Self-hosted on the open-source editions, the software licence cost is zero: a 600-point historian polled once a second tops out at 600 point-samples per second, 51.84 million a day. Size the SSD from a measured pilot week against that ceiling, and treat change-only logging as margin — at this rate capacity, not endurance, sets the drive.

    Edge computing and IIoT