Karyo
Documentation/ Extended user guide

Order streaming

Karyo 2.1.1rendered at build time
On this page

Order streaming releases New orders to picking by itself, in timed batches, so pickers get a steady flow and nobody releases each order by hand. If stock is short, Karyo keeps trying, marks the order when it takes too long, and stops when it takes far too long. Streaming does not recover a stopped order by itself. A person presses Retry. It sends no email or message of its own.

Switch it on

A Company administrator who holds settings.manage switches Order streaming on. Open Admin > Capabilities, turn on the Order streaming row, press Review change, read the preview, and press Apply change. Nothing is reinstalled and no data moves.

Nothing streams until you do two more things:

  1. Turn on the streaming switch, karyo.streaming.enabled. It is off by default. It is in the Streaming group of Admin > System properties, and in a Facility's own settings under Warehouse > Facilities. It is per Facility. The Streaming page shows Enabled or Disabled.
  2. Give a strategy the STREAM release mode. On Warehouse > Strategies, edit an order strategy and set Release mode to STREAM (the Progression group). Four fields appear:
Field Default Meaning
Stream batch size 50 Orders released in one batch. Karyo keeps it between 1 and 1000.
Stream max wait (seconds) 30 How long before a partial batch is released, and before a short order is marked.
Stream abandon (seconds) 1800 How long a short order is retried before it stops. Never less than the max wait.
Stream timing strategy time-size The only built-in rule. It releases on size or on time.

Saving the strategy on another release mode keeps any of these four values you have set, so a switch back to STREAM needs no re-entry. Karyo checks every 5 seconds by default. Whoever runs the installation sets that with KARYO_STREAMING_INTERVAL.

Reading the page needs operations.view. Retry needs operations.execute. A streamed order is pushed to picking like Release to picking, so the Facility needs a pack staging location.

What appears when it is on

  • Fulfillment > Streaming in the sidebar and the command palette, at /streaming.
  • The STREAM option in Release mode on Warehouse > Strategies, with the four fields.
  • The karyo.streaming.enabled switch in the Streaming group of the settings lists. It stays listed when streaming is off, so you can switch it off.
  • A Streaming section on an order, once the order carries a streaming mark: Release mode override, First attempt, Escalated or Stalled. This section does not depend on the switch. An order can also carry a per-order override of STREAM, set through the API only.

Using it

How an order streams

  1. A New order on a STREAM strategy waits. A New order with the STREAM override waits too.
  2. On each check, Karyo releases a batch when the waiting orders reach the batch size. It also releases when the oldest waiting order was created at least the max wait ago.
  3. Release reserves stock, as Release on Orders does. If the whole order is reserved, Karyo pushes it to picking at once.
  4. If stock is short, the order stays Released with pending lines. Karyo retries it on every check.

An order released by hand first is left alone. A streamed order never joins a wave.

Read the Streaming page

Open Fulfillment > Streaming. The page refreshes every 10 seconds. The table has one row for each strategy whose mode is STREAM, or that has orders in any count. Timing not resolved means the timing strategy key is not one Karyo has. Karyo skips that strategy and logs it once.

Count What it means
Eligible New orders waiting for the next batch.
Waiting Released, still short of stock, and tried again on every check. Less than the max wait has passed since the first attempt.
Escalated Still short after the max wait. Karyo marks the order once and keeps trying.
Stalled Karyo stopped trying. The release failed outright, or the abandon time passed, or the strategy no longer streams.
Push failed The whole order is reserved (Processable), but the hand-off to picking failed.

The other columns are Batch / wait / abandon, Last flush, and Batches / released / pushed (1h), the last hour of batches.

Work the buckets

Under Orders, the chips Waiting, Escalated, Stalled and Push failed list the orders. The page opens on Stalled. Each row shows the order, customer, priority, state, first attempt and pending lines.

  • Stalled: find the cause. Short stock needs a receipt or a count first. Then press Retry. Karyo clears the marks, starts the clock again and puts the order back in the pool. Retry works only for a stalled order that is New or Released.
  • Push failed: open the order and press Release to picking, as in Pick an order.
  • Waiting and Escalated need no action unless they stay. Escalated orders still retry.

When you switch it off

The Streaming page and its sidebar and palette entries go. The STREAM option is no longer offered to a strategy that does not already use it. Streaming has no open-work rule: the page goes at once, even with stalled orders. Nothing is deleted. The routes stay callable, so an integration can still read the buckets and retry.

The switch is separate. If karyo.streaming.enabled is on, streaming keeps running while the capability is off. The preview warns of it. Turn the switch off in the settings, where it stays listed.

Next