Free forever, no credit card.Get Started for Free →
← All posts
December 4, 2026 · 5 min read

Does Benthos Remember Between Runs? Its Caches Hold Keys. Not the Reasoning.

Does Benthos Remember Between Runs? Its Caches Hold Keys. Not the Reasoning. Benthos, now Redpanda Connect after Redpanda acquired the project in 2024, moves data between systems: an input reads messages, processors transform them, and an output delivers them somewhere else. It can run for weeks as a quiet background pipeline. Then the process restarts for a deploy, a config change, or a host rebuild, and an operator faces a plain question: what, exactly, did the pipeline keep? The honest answe

Does Benthos Remember Between Runs? Its Caches Hold Keys. Not the Reasoning.

Benthos, now Redpanda Connect after Redpanda acquired the project in 2024, moves data between systems: an input reads messages, processors transform them, and an output delivers them somewhere else. It can run for weeks as a quiet background pipeline. Then the process restarts for a deploy, a config change, or a host rebuild, and an operator faces a plain question: what, exactly, did the pipeline keep? The honest answer is precise, useful, and much narrower than the word memory suggests.

The transaction model: delivery without a disk log

Start with what Benthos deliberately does not keep. The pipeline processes and acknowledges messages using an in-process transaction model, with no need for any disk persisted state. A message is tracked from input to output inside the running process, and the input is only acknowledged once the output confirms delivery. Connected to at-least-once sources and sinks, that design delivers at-least-once guarantees even through crashes, without a transaction log on disk to manage.

That is an elegant trade for a stream processor. There is no state directory to back up, no local database to corrupt, and no recovery procedure to rehearse. The cost of the elegance only becomes visible when a question changes shape. The transaction model remembers whether a message was delivered. It does not remember what any step concluded about that message, because delivery was the only job it was given.

The memory cache: a map that resets on restart

The closest thing to a working memory inside a pipeline is a cache resource. Processors can store values in a cache and read them back later, which supports enrichment, lookups, and deduplication while the process runs. The built-in memory cache stores key/value pairs in a map held in memory, and the documentation states the consequence directly: this cache is reset every time the service restarts.

Each item also carries a TTL, set from the moment it was last edited. After that period the item becomes eligible for removal at the next compaction, a cleanup that runs on writes. A default_ttl of 60 seconds, common in deduplication examples, means the pipeline only promises to recognize a repeat for about a minute. The cache can be prepopulated with init_values, fixed pairs written into the config itself, which underlines the point: what survives a restart is what a human wrote in the configuration file, not what the pipeline learned while running.

External cache backends exist for shared or longer-lived storage, and choosing one is a deliberate design step. Out of the box, the memory a pipeline uses while it runs is process memory, and process memory ends with the process.

The dedupe processor: remembering a key, nothing more

Deduplication shows the shape of Benthos memory at its clearest. The dedupe processor stores a key value in a cache using the add operator. If the key already exists in the cache, the message is dropped. If it does not, the message passes and its key joins the cache.

What is remembered is a string: a Kafka key, a message ID, a hash of the content. What is not remembered is everything around it. The cache holds no record of where the first copy was sent, what a downstream step decided, or whether a human later reversed that decision. The cache processor widens the mechanics with set, get, delete, and exists operators and per-key TTLs, but the unit of memory stays the same: a key and a value, held for a configured lifetime, with no history of how the value got there.

Windowed processing follows the same pattern. A system_window buffer holds messages in memory to form tumbling or sliding windows, and after a restart the previous window is not restored; unacknowledged records are simply consumed again. The window is a working surface for the current run, not a record for the next one.

Where the automation around Benthos goes blind

Benthos rarely sits alone. Around a pipeline there is usually a scheduled chain: route the stream, summarize what changed with an AI step, open or update a ticket, notify a channel, decide whether an anomaly deserves a page. Benthos covers the transport part of that chain faithfully. The decision part usually restarts from zero.

An AI step that reviews yesterday's stream receives today's messages and a static prompt. It does not automatically receive the prior run's findings, the duplicate already investigated, the explanation already sent to the team, or the correction an operator made after the last false alarm. Teams bridge that gap with runbooks, pinned messages, and prompt text someone has to remember to update. The bridge holds until a different tool runs the next step and cannot read any of it.

That is the line to draw clearly. A transaction remembers delivery. A cache remembers a key until its TTL or the next restart. A window remembers messages until it closes. None of them gives a set of automations one shared memory that survives across runs and across tools.

One shared memory for the automations around Benthos

That shared layer is what Vilix AI provides. Vilix AI is cloud-hosted with zero infrastructure to run, so an automation gains a memory without gaining another database, cache, or state store to operate. The same memory is reachable everywhere over MCP, so the workflow that summarizes the stream, the assistant that investigates it, and the agent that follows up can all read and write one context instead of three separate ones.

Vilix AI keeps full conversation history, not just extracted facts. For an automation operator that distinction is concrete: the exact wording of an earlier decision, the order in which a diagnosis changed, and the reason a route was abandoned remain available to the next run, instead of being flattened into a cache value that keeps only the final key.

Getting started carries no commitment. Vilix AI offers a free plan forever and a 7-day Pro trial with no card required, and data can be exported or deleted at any time. A practical first step is small: have each run save its closing findings to Vilix AI, so the next run opens with them already loaded.

So, does Benthos remember between runs? It remembers what it was designed to remember: a delivery completed, a key seen recently, a window still open. Everything an automation needs beyond transport still needs a home of its own. Give that home one address every tool can reach, and the next run stops starting blind.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Does Cribl Stream Remember Between Runs? The Persistent Queue Survives on Disk. The Aggregation Starts Over.

Does Cribl Stream Remember Between Runs? The Persistent Queue Survives on Disk. The Aggregation Starts Over. Cribl Stream sits in front of logs, metrics, and traces, routing and shaping events before they reach a destination. Workers restart for configuration changes, upgrades, and rescheduling, so the question that decides whether data survives is exact: what does Cribl Stream still hold after a restart, and what does it rebuild from zero? The documented answer splits cleanly. Events already w

Does Grafana Alloy Remember Between Runs? A Positions File and a WAL Hold the Data. Nothing Holds the Decisions.

Does Grafana Alloy Remember Between Runs? A Positions File and a WAL Hold the Data. Nothing Holds the Decisions. Grafana Alloy is the telemetry collector that replaced Grafana Agent: one process, built from components wired into pipelines, collecting metrics, logs, traces, and profiles and forwarding them to wherever they belong. It restarts constantly in real deployments, for config reloads, upgrades, and pod rescheduling. So the practical question is precise: when Alloy comes back, what does

Does Fluent Bit Remember Between Runs? A SQLite File Holds the Offset. Nothing Holds the Reasoning.

Does Fluent Bit Remember Between Runs? A SQLite File Holds the Offset. Nothing Holds the Reasoning. Fluent Bit is the small telemetry agent that sits on hosts and in clusters, tailing log files, receiving metrics and traces, and forwarding everything onward. It is built to be lightweight and to keep moving. When the process restarts for a deploy, a config reload, or a node rebuild, a precise question follows: what did it actually keep? The answer is well documented, genuinely useful, and much n