---
title: "NOSIBLE Replay Engine: The Firehose as It Happened, 37 Times Faster"
description: "NOSIBLE Replay Engine plays back any past window of the Firehose, in the order documents arrived, 37 times faster than real time, for backtests and simulations."
url: "https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened"
---

[Information Retrieval](https://nosible.com/blog/tag/information-retrieval)

[Web Search](https://nosible.com/blog/tag/web-search)

# NOSIBLE Replay Engine: The Firehose as It Happened, 37 Times Faster

[Matthew Dicks](https://www.linkedin.com/in/matthewdicks98/)

2026-11-23

11 min read

Copy as Markdown

![Two bars on one 24-hour axis: live, 24 hours of the Firehose take 24 hours; replayed 37 times faster, they take 39 minutes.](https://nosible.com/images/2026/11/replay-speed-hero-3640x1560.png)

[Firehose](https://nosible.com/blog/a-firehose-of-the-web-already-enriched) streams the web as it is crawled, but only while you are connected. Miss an hour, or connect for the first time today, and everything before that is out of reach. The Replay Engine fixes that.

The Replay Engine plays back any past window of the Firehose, document by document, in the order they arrived and stamped with when they arrived, 37 times faster than real time. This means you can connect to last Tuesday as if it were happening now.

Our example throughout is Johannesburg's coalition talks. No party won a majority in the city's 4 November local election, so the parties had to negotiate a coalition before the council could elect a mayor. The two leading candidates for mayor were Helen Zille of the Democratic Alliance (DA) and Herman Mashaba of ActionSA, and a [Polymarket market](https://polymarket.com/event/next-mayor-of-johannesburg-20260609220245506) asked which of them would get the job. We used the Replay Engine to rebuild nine days of news about the talks, as it arrived.

Table of contents [What Is the Replay Engine and Why Is It Useful?](https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened#what-is-the-replay-engine-and-why-is-it-useful) [Replaying Johannesburg's Coalition Talks](https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened#replaying-johannesburgs-coalition-talks) [What a Replayed Document Contains](https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened#what-a-replayed-document-contains) [Filtering and Deduplicating the Documents](https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened#filtering-and-deduplicating-the-documents) [The News Flow Over 222 Hours](https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened#the-news-flow-over-222-hours) [Replay Is Best for Backtests and Simulations](https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened#replay-is-best-for-backtests-and-simulations) [Get Access to the Replay Engine](https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened#get-access-to-the-replay-engine)

## What Is the Replay Engine and Why Is It Useful?

Firehose sends each document as soon as it is processed, and you can only resume from a cursor less than 30 seconds old, so you cannot go back to a moment like this one.

At 07:31 UTC on Friday 13 November, Briefly News' [report](https://briefly.co.za/politics/258861-michael-beaumont-multiple-parties-mashaba-moya-johannesburg-tshwane-mayors?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine) reached the Firehose: ActionSA's chairperson said several parties preferred Mashaba as Johannesburg's mayor. That morning, Polymarket's traders put Zille's chance of becoming mayor at about 38%, and after 08:25 UTC her shares did not trade for over ten hours. From 18:49 UTC it fell, to 23% within minutes and about 9% by 21:06. How much should that story have moved your estimate, and when? Answering that, as any backtest must, needs data that shows what was knowable at each moment.

The Replay Engine gives you that data, because both it and Firehose are point in time. Every Firehose document is stamped with `arrived_ms`, the moment it reached the live stream, in UTC milliseconds. Replay sends each document back exactly as a connected client received it, unchanged and in `arrived_ms` order, one WebSocket message (a **frame** ) per document. A backtest can use `arrived_ms` as its clock and never see a document before it was knowable.

That makes replay useful for:

- **Backtesting:** run a strategy over past weeks and let it see only the documents that had arrived at each moment.
- **Simulation:** drive an agent, a dashboard or an alerting system through a past event as if it were live.

Replaying Firehose data through the Replay Engine is 37 times faster than receiving it live. A day that takes 24 hours to stream live takes 39 minutes to replay, and a week 4 hours 32 minutes. Our 222 hours of Johannesburg's coalition talks took 5 hours 37 minutes.

How long a replay takes depends only on the length of the window, not on your filters. Filters decide how much data you download and keep. We estimate the full Firehose for our 222 hours at roughly 300 GiB to download, or about 650 GiB once decompressed. With our server-side filtering, you would only need to download and process 0.25 GiB, or 0.55 GiB decompressed: small enough to work with on a laptop.

You should know

Each API key can run one replay at a time, and a single request can cover a range of up to 24 hours. Firehose went live on 7 November 2026, so for now the archive reaches back to that date. Its schema has evolved since launch, so documents from the first days may lack some fields, such as sentiment.

## Replaying Johannesburg's Coalition Talks

We wanted every document about the talks, with the time it arrived, as a dataset we could later set against Polymarket. We replayed 222 continuous hours, from 16:00 UTC on 11 November to 22:00 UTC on 20 November, in batches of whole hours: 52 requests of one to eight hours each. Ten 24-hour requests would cover the same span.

Here is how to use the Replay Engine to simulate the coalition talks as they happened. You need an API key with Firehose access (see [Get Access](https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened#get-access-to-the-replay-engine) ) and Python with three libraries:

```
pip install websockets zstandard orjson
```

### 1. Connect and authenticate

Open a WebSocket to `wss://firehose.nosible.world/v2.0/replay`, with your API key in an `X-Api-Key` header. Set `max_size=None`, because a single document can be larger than the library's 1 MiB default.

PYTHON / EXAMPLE

Copy code

```
import os
import orjson
from websockets.sync.client import connect

URL = "wss://firehose.nosible.world/v2.0/replay"
API_KEY = os.environ["NOSIBLE_API_KEY"]

ws = connect(URL, additional_headers={"X-Api-Key": API_KEY}, max_size=None)
print(orjson.loads(ws.recv()))
```

9 lines

The server's first message confirms your key:

// authenticated (server sends)

Expand all Collapse all Copy

{

type, can_replay, time_ms

}

"type": "authenticated",

"can_replay": true,

"time_ms": 1795340512109

}

If the key is wrong or not yet approved, the server sends an `error` message instead and closes the connection.

### 2. Send the replay request

Once authenticated, send one replay request as a text message. This is the exact request we sent for one of our hours, 20:00 to 21:00 UTC on 11 November:

PYTHON / EXAMPLE

Copy code

```
NAMES = [
    # Helen Zille
    "helen zille",
    "zille",
    "hellen zille",
    # Herman Mashaba
    "herman mashaba",
    "mashaba",
    "hermanmashaba",
    "herman mashaba-led",
    # ActionSA
    "actionsa",
    "action sa",
    # Democratic Alliance
    "da",
    "democratic alliance",
    "democratic alliance (da)",
    "the democratic alliance",
    "da-actionsa",
    # African National Congress
    "anc",
    "african national congress",
    # Johannesburg
    "johannesburg",
    "joburg",
    "jozi",
    "city of johannesburg",
    "city of joburg",
]

request = {
    "type": "replay",
    "start": "2026-11-11T20:00:00Z",
    "end": "2026-11-11T21:00:00Z",
    "invalid_records": "skip",
    "filters": {"entities": [{"name": name} for name in NAMES]},
}

ws.send(orjson.dumps(request).decode())  # .decode() sends it as text, not bytes
```

39 lines

- `start` and `end` are UTC times that set a range of up to 24 hours. The replay covers documents that arrived from `start` up to, but not including, `end`.
- `invalid_records: "skip"` tells the server to skip any record it cannot read, instead of stopping with an error.
- `filters` takes the same filters as a live [subscription](https://docs.nosible.com/endpoints/firehose-subscribe).

Our request uses an `entities` filter. Each Firehose document lists the people, organisations and places named in it, and the filter keeps a document if one of those matches a name in our list exactly, ignoring case. That is why the list has both `herman mashaba` and `mashaba`: one does not match the other.

Entities were only extracted from English documents until 20 November 2026, so for earlier windows this filter finds English coverage only.

### 3. Receive the messages

The server now sends three kinds of message, until the window is done:

- **A binary frame for each matching document**, in the order the documents arrived.
- **A `progress` text message about every 15 seconds**, with the number of documents scanned so far (`filtered`) and sent (`delivered`).
- **One `replay_complete` text message at the end**, with the final counts.

This is the `replay_complete` for that hour. The server scanned 39,789 documents and sent us 16:

// replay_complete (server sends)

Expand all Collapse all Copy

{

6 keys

}

"type": "replay_complete",

"filtered": 39789,

"delivered": 16,

"skipped_invalid": 0,

"cursor": "eyJ2IjoxLCJyZXF1ZXN0Ijoi…",

"time_ms": 1795340586060

}

Each binary frame holds two parts: a small JSON header and the document, compressed with zstd. The frame starts with the bytes `NFH1` and then the size of the header in 4 bytes, so you can split it like this:

PYTHON / EXAMPLE

Copy code

```
import zstandard

def decode(frame):
    # A frame is: b"NFH1", the header size (4 bytes), the header, the compressed document.
    size = int.from_bytes(frame[4:8], "big")
    header = orjson.loads(frame[8:8 + size])
    document = orjson.loads(zstandard.decompress(frame[8 + size:]))
    return header, document
```

8 lines

### 4. Save the documents

Put together, the steps above make one short script. It takes the window from the command line, connects, sends the request once the server says `authenticated`, and saves each document as one line of JSON in `replay.jsonl`:

PYTHON / EXAMPLE

Copy code

```
import os, sys
import orjson
import zstandard
from websockets.sync.client import connect

URL = "wss://firehose.nosible.world/v2.0/replay"
API_KEY = os.environ["NOSIBLE_API_KEY"]
start, end = sys.argv[1], sys.argv[2]  # e.g. 2026-11-11T20:00:00Z 2026-11-11T21:00:00Z

NAMES = [
    # Helen Zille
    "helen zille",
    "zille",
    "hellen zille",
    # Herman Mashaba
    "herman mashaba",
    "mashaba",
    "hermanmashaba",
    "herman mashaba-led",
    # ActionSA
    "actionsa",
    "action sa",
    # Democratic Alliance
    "da",
    "democratic alliance",
    "democratic alliance (da)",
    "the democratic alliance",
    "da-actionsa",
    # African National Congress
    "anc",
    "african national congress",
    # Johannesburg
    "johannesburg",
    "joburg",
    "jozi",
    "city of johannesburg",
    "city of joburg",
]

request = {
    "type": "replay",
    "start": start,
    "end": end,
    "invalid_records": "skip",
    "filters": {"entities": [{"name": name} for name in NAMES]},
}

def decode(frame):
    # A frame is: b"NFH1", the header size (4 bytes), the header, the compressed document.
    size = int.from_bytes(frame[4:8], "big")
    header = orjson.loads(frame[8:8 + size])
    document = orjson.loads(zstandard.decompress(frame[8 + size:]))
    return header, document

with connect(URL, additional_headers={"X-Api-Key": API_KEY}, max_size=None) as ws:
    with open("replay.jsonl", "ab") as out:
        for message in ws:
            if isinstance(message, bytes):  # one matching document
                header, document = decode(message)
                out.write(orjson.dumps({"header": header, "document": document}) + b"\n")
                continue

            event = orjson.loads(message)
            if event["type"] == "authenticated":
                ws.send(orjson.dumps(request).decode())
            elif event["type"] == "replay_complete":
                print("scanned", event["filtered"], "delivered", event["delivered"])
                break
            elif event["type"] == "error":
                print(event)
                break
```

73 lines

Save it as `replay.py` and run it once per window, one at a time, since each API key can run only one replay at once. Each run appends to the same `replay.jsonl`. To rebuild our full 222 hours, run nine 24-hour windows and a final six-hour one:

```
export NOSIBLE_API_KEY=nos_sk_...
python replay.py 2026-11-11T16:00:00Z 2026-11-12T16:00:00Z
python replay.py 2026-11-12T16:00:00Z 2026-11-13T16:00:00Z
# ... one day at a time ...
python replay.py 2026-11-19T16:00:00Z 2026-11-20T16:00:00Z
python replay.py 2026-11-20T16:00:00Z 2026-11-20T22:00:00Z
```

### 5. Resume if the connection drops

If the connection drops part way through, reconnect and send the same request again with one extra field, `"cursor"`, copied from the header of the last frame you saved. The replay carries on from that document. Two of our 52 windows dropped and finished this way, with nothing lost.

## What a Replayed Document Contains

A replayed frame has the same format as a live one, which the [Firehose post](https://nosible.com/blog/a-firehose-of-the-web-already-enriched) explains field by field. The panel below holds one complete frame from our replay, exactly as the server sent it: IOL's [report](https://iol.co.za/lge2026/2026-11-19-leaked-message-zille-tells-da-caucus-die-is-cast-we-will-be-shut-out-in-gauteng?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine) of a leaked message, allegedly from Zille to her DA caucus, saying "the die is cast" and the party would be shut out of coalitions in Gauteng. Click a field on the left to see that part of it.

JSON / header.facets

Copy JSON

Explore fields header arrived_ms cursor facets time_ms document request page languages full_text snippets statistics entities locations tickers signals ontologies has_tickers complete

```
{
  "header": {
    "facets": {
      "entities": {
        "GPE": [
          {
            "count": 7,
            "max_conf": 1,
            "mean_conf": 0.942,
            "mention_count": 11,
            "min_conf": 0.7324,
            "name": "Gauteng"
          },
          {
            "count": 6,
            "max_conf": 1,
            "mean_conf": 0.9601,
            "mention_count": 7,
            "min_conf": 0.7612,
            "name": "Johannesburg"
          },
          {
            "count": 1,
            "max_conf": 0.9951,
            "mean_conf": 0.9951,
            "mention_count": 1,
            "min_conf": 0.9951,
            "name": "South Africa"
          },
          {
            "count": 4,
            "max_conf": 0.9868,
            "mean_conf": 0.8722,
            "mention_count": 5,
            "min_conf": 0.6982,
            "name": "Buffalo City"
          },
          {
            "count": 1,
            "max_conf": 0.9365,
            "mean_conf": 0.9365,
            "mention_count": 1,
            "min_conf": 0.9365,
            "name": "Soweto"
          },
          {
            "count": 1,
            "max_conf": 0.9033,
            "mean_conf": 0.9033,
            "mention_count": 2,
            "min_conf": 0.9033,
            "name": "eThekwini"
          }
        ],
        "ORG": [
          {
            "count": 1,
            "max_conf": 0.9966,
            "mean_conf": 0.9966,
            "mention_count": 1,
            "min_conf": 0.9966,
            "name": "IOL"
          },
          {
            "count": 11,
            "max_conf": 0.9917,
            "mean_conf": 0.7822,
            "mention_count": 16,
            "min_conf": 0.5273,
            "name": "DA"
          },
          {
            "count": 5,
            "max_conf": 0.979,
            "mean_conf": 0.9373,
            "mention_count": 5,
            "min_conf": 0.7759,
            "name": "ANC"
          },
          {
            "count": 5,
            "max_conf": 0.978,
            "mean_conf": 0.7632,
            "mention_count": 5,
            "min_conf": 0.6499,
            "name": "SACP"
          },
          {
            "count": 4,
            "max_conf": 0.9775,
            "mean_conf": 0.8944,
            "mention_count": 4,
            "min_conf": 0.75,
            "name": "EFF"
          },
          {
            "count": 1,
            "max_conf": 0.8828,
            "mean_conf": 0.8828,
            "mention_count": 1,
            "min_conf": 0.8828,
            "name": "Left Progressive Bloc"
          },
          {
            "count": 4,
            "max_conf": 0.7827,
            "mean_conf": 0.6818,
            "mention_count": 4,
            "min_conf": 0.5811,
            "name": "ActionSA"
          },
          {
            "count": 3,
            "max_conf": 0.6963,
            "mean_conf": 0.6602,
            "mention_count": 3,
            "min_conf": 0.6392,
            "name": "AMM"
          },
          {
            "count": 4,
            "max_conf": 0.6694,
            "mean_conf": 0.5835,
            "mention_count": 4,
            "min_conf": 0.5171,
            "name": "MK Party"
          },
          {
            "count": 3,
            "max_conf": 0.6318,
            "mean_conf": 0.596,
            "mention_count": 3,
            "min_conf": 0.5581,
            "name": "PA"
          },
          {
            "count": 1,
            "max_conf": 0.6094,
            "mean_conf": 0.6094,
            "mention_count": 1,
            "min_conf": 0.6094,
            "name": "Freedom Front Plus"
          }
        ],
        "PERSON": [
          {
            "count": 4,
            "max_conf": 1,
            "mean_conf": 0.8311,
            "mention_count": 5,
            "min_conf": 0.6382,
            "name": "Zille"
          },
          {
            "count": 3,
            "max_conf": 1,
            "mean_conf": 1,
            "mention_count": 3,
            "min_conf": 1,
            "name": "Helen Zille"
          },
          {
            "count": 2,
            "max_conf": 1,
            "mean_conf": 1,
            "mention_count": 2,
            "min_conf": 1,
            "name": "Hellen Zille"
          },
          {
            "count": 1,
            "max_conf": 1,
            "mean_conf": 1,
            "mention_count": 1,
            "min_conf": 1,
            "name": "Geordin Hill"
          },
          {
            "count": 1,
            "max_conf": 1,
            "mean_conf": 1,
            "mention_count": 1,
            "min_conf": 1,
            "name": "Herman Mashaba"
          },
          {
            "count": 1,
            "max_conf": 1,
            "mean_conf": 1,
            "mention_count": 1,
            "min_conf": 1,
            "name": "Solly Mapaila"
          },
          {
            "count": 1,
            "max_conf": 0.9976,
            "mean_conf": 0.9976,
            "mention_count": 1,
            "min_conf": 0.9976,
            "name": "Dr Nasiphi Moya"
          }
        ]
      },
      "has_tickers": false,
      "hash": "B8ek3kWXruYonMUEVIDjbmEG",
      "languages": {
        "en": 0.999,
        "pt": 0
      },
      "locations": [
        {
          "continent": "Africa",
          "country": "South Africa",
          "entity_type": "GPE",
          "lat": -26.08333,
          "lng": 28.25,
          "matched_on": "Gauteng",
          "region": "Southern Africa",
          "source": "ner"
        },
        {
          "continent": "Africa",
          "country": "South Africa",
          "entity_type": "GPE",
          "lat": -26.20227,
          "lng": 28.04363,
          "matched_on": "Johannesburg",
          "region": "Southern Africa",
          "source": "ner"
        },
        {
          "continent": "Africa",
          "country": "South Africa",
          "entity_type": "GPE",
          "lat": -29,
          "lng": 24,
          "matched_on": "South Africa",
          "region": "Southern Africa",
          "source": "ner"
        },
        {
          "continent": "Africa",
          "country": "South Africa",
          "entity_type": "GPE",
          "lat": -26.26781,
          "lng": 27.85849,
          "matched_on": "Soweto",
          "region": "Southern Africa",
          "source": "ner"
        },
        {
          "continent": "North America",
          "country": "United States",
          "entity_type": "GPE",
          "lat": 39.76,
          "lng": -98.5,
          "matched_on": "US",
          "region": "North America",
          "source": "ner"
        }
      ],
      "netloc": "iol.co.za",
      "ontologies": [
        {
          "count": 17,
          "label": "Conflict",
          "max_prob": 0.9998,
          "mean_prob": 0.9832,
          "min_prob": 0.8582,
          "ontology": "media_frame"
        },
        {
          "count": 3,
          "label": "Economic Consequences",
          "max_prob": 0.9996,
          "mean_prob": 0.9304,
          "min_prob": 0.7923,
          "ontology": "media_frame"
        },
        {
          "count": 1,
          "main_class": "Currencies & FX",
          "max_prob": 0.9978,
          "mean_prob": 0.9978,
          "min_prob": 0.9978,
          "ontology": "asset_class",
          "sub_class": "Emerging Market Currencies"
        },
        {
          "count": 1,
          "max_prob": 0.9971,
          "mean_prob": 0.9971,
          "min_prob": 0.9971,
          "ontology": "iab",
          "tier_1": "Business and Finance",
          "tier_2": "Business",
          "tier_3": "Government Business",
          "tier_4": "Government Business"
        },
        {
          "count": 12,
          "label": "anger",
          "max_prob": 0.9955,
          "mean_prob": 0.7888,
          "min_prob": 0.5049,
          "ontology": "ekman7_emotion"
        },
        {
          "count": 3,
          "label": "BusinessEvent",
          "max_prob": 0.9948,
          "mean_prob": 0.9821,
          "min_prob": 0.9734,
          "ontology": "schema_org_event"
        },
        {
          "count": 9,
          "max_prob": 0.9946,
          "mean_prob": 0.8452,
          "min_prob": 0.6435,
          "ontology": "iab",
          "tier_1": "Politics",
          "tier_2": "Civic affairs",
          "tier_3": "Civic affairs",
          "tier_4": "Civic affairs"
        },
        {
          "count": 3,
          "label": "surprise",
          "max_prob": 0.9935,
          "mean_prob": 0.7416,
          "min_prob": 0.5446,
          "ontology": "ekman7_emotion"
        },
        {
          "context": "pro_democracy",
          "count": 3,
          "max_prob": 0.9922,
          "mean_prob": 0.8261,
          "min_prob": 0.5221,
          "ontology": "plover"
        },
        {
          "count": 1,
          "level_1": "arts, culture, entertainment and media",
          "level_2": "mass media",
          "level_3": "online media outlet",
          "max_prob": 0.9914,
          "mean_prob": 0.9914,
          "min_prob": 0.9914,
          "ontology": "iptc_media_topics"
        },
        {
          "context": "economic",
          "count": 2,
          "max_prob": 0.991,
          "mean_prob": 0.9708,
          "min_prob": 0.9506,
          "ontology": "plover"
        },
        {
          "count": 4,
          "level_1": "politics and government",
          "level_2": "election",
          "level_3": "coalition building",
          "max_prob": 0.9866,
          "mean_prob": 0.8191,
          "min_prob": 0.536,
          "ontology": "iptc_media_topics"
        },
        {
          "count": 6,
          "label": "Quote",
          "max_prob": 0.9848,
          "mean_prob": 0.8903,
          "min_prob": 0.7218,
          "ontology": "iptc_genre"
        },
        {
          "count": 4,
          "label": "Curtain Raiser",
          "max_prob": 0.9816,
          "mean_prob": 0.9042,
          "min_prob": 0.8322,
          "ontology": "iptc_genre"
        },
        {
          "count": 7,
          "max_prob": 0.981,
          "mean_prob": 0.8526,
          "min_prob": 0.6012,
          "ontology": "iab",
          "tier_1": "Politics",
          "tier_2": "Elections",
          "tier_3": "Elections",
          "tier_4": "Elections"
        },
        {
          "count": 1,
          "goal": "Partnerships for the Goals",
          "max_prob": 0.9807,
          "mean_prob": 0.9807,
          "min_prob": 0.9807,
          "ontology": "sdgs",
          "target": "17.17"
        },
        {
          "count": 3,
          "goal": "Gender Equality",
          "max_prob": 0.9793,
          "mean_prob": 0.8969,
          "min_prob": 0.7943,
          "ontology": "sdgs",
          "target": "5.5"
        },
        {
          "count": 1,
          "main_class": "Fixed Income",
          "max_prob": 0.9788,
          "mean_prob": 0.9788,
          "min_prob": 0.9788,
          "ontology": "asset_class",
          "sub_class": "Municipal"
        },
        {
          "count": 3,
          "label": "Supported",
          "max_prob": 0.9783,
          "mean_prob": 0.7938,
          "min_prob": 0.5468,
          "ontology": "iptc_genre"
        },
        {
          "context": "election",
          "count": 6,
          "max_prob": 0.9774,
          "mean_prob": 0.7833,
          "min_prob": 0.5609,
          "ontology": "plover"
        },
        {
          "category": "Reputational Risk",
          "count": 2,
          "event": "Disclosed Corporate Secrets Leak",
          "max_prob": 0.977,
          "mean_prob": 0.8989,
          "min_prob": 0.8207,
          "ontology": "nosible",
          "subcategory": "Security Violations"
        },
        {
          "count": 8,
          "label": "Event",
          "max_prob": 0.9765,
          "mean_prob": 0.8213,
          "min_prob": 0.5258,
          "ontology": "schema_org_event"
        },
        {
          "count": 3,
          "label": "Results Listings and Statistics",
          "max_prob": 0.9662,
          "mean_prob": 0.8199,
          "min_prob": 0.7458,
          "ontology": "iptc_genre"
        },
        {
          "count": 1,
          "label": "PublicationEvent",
          "max_prob": 0.9616,
          "mean_prob": 0.9616,
          "min_prob": 0.9616,
          "ontology": "schema_org_event"
        },
        {
          "count": 2,
          "event": "REJECT",
          "max_prob": 0.9502,
          "mean_prob": 0.9094,
          "min_prob": 0.8685,
          "mode": "yield",
          "ontology": "plover"
        },
        {
          "count": 1,
          "goal": "Partnerships for the Goals",
          "max_prob": 0.928,
          "mean_prob": 0.928,
          "min_prob": 0.928,
          "ontology": "sdgs",
          "target": "17.13"
        },
        {
          "count": 1,
          "level_1": "politics and government",
          "level_2": "government",
          "level_3": "political movement and association",
          "max_prob": 0.9143,
          "mean_prob": 0.9143,
          "min_prob": 0.9143,
          "ontology": "iptc_media_topics"
        },
        {
          "count": 1,
          "level_1": "economy, business and finance",
          "level_2": "economy",
          "level_3": "currency",
          "max_prob": 0.8896,
          "mean_prob": 0.8896,
          "min_prob": 0.8896,
          "ontology": "iptc_media_topics"
        },
        {
          "count": 2,
          "level_1": "politics and government",
          "level_2": "government policy",
          "level_3": "local government policy",
          "max_prob": 0.8718,
          "mean_prob": 0.7778,
          "min_prob": 0.6837,
          "ontology": "iptc_media_topics"
        },
        {
          "category": "Business Operations",
          "count": 3,
          "event": "Major Partnership Terminated",
          "max_prob": 0.8618,
          "mean_prob": 0.6927,
          "min_prob": 0.5255,
          "ontology": "nosible",
          "subcategory": "Sales Efforts"
        },
        {
          "count": 2,
          "label": "EventSeries",
          "max_prob": 0.8578,
          "mean_prob": 0.8577,
          "min_prob": 0.8576,
          "ontology": "schema_org_event"
        },
        {
          "count": 1,
          "event": "ACCUSE",
          "max_prob": 0.8462,
          "mean_prob": 0.8462,
          "min_prob": 0.8462,
          "mode": "allege",
          "ontology": "plover"
        },
        {
          "count": 1,
          "max_prob": 0.835,
          "mean_prob": 0.835,
          "min_prob": 0.835,
          "ontology": "iab",
          "tier_1": "Business and Finance",
          "tier_2": "Economy",
          "tier_3": "Currencies",
          "tier_4": "Currencies"
        },
        {
          "count": 1,
          "industry": "Interactive Media & Services",
          "industry_group": "Media & Entertainment",
          "max_prob": 0.825,
          "mean_prob": 0.825,
          "min_prob": 0.825,
          "ontology": "gics",
          "sector": "Communication Services",
          "sub_industry": "Interactive Media & Services"
        },
        {
          "count": 2,
          "goal": "Peace, Justice and Strong Institutions",
          "max_prob": 0.8049,
          "mean_prob": 0.7595,
          "min_prob": 0.714,
          "ontology": "sdgs",
          "target": "16.6"
        },
        {
          "count": 4,
          "level_1": "politics and government",
          "level_2": "government",
          "level_3": "political parties and movements (retired)",
          "max_prob": 0.7834,
          "mean_prob": 0.6909,
          "min_prob": 0.516,
          "ontology": "iptc_media_topics"
        },
        {
          "count": 3,
          "level_1": "politics and government",
          "level_2": "election",
          "level_3": "political candidates",
          "max_prob": 0.7809,
          "mean_prob": 0.7216,
          "min_prob": 0.6347,
          "ontology": "iptc_media_topics"
        },
        {
          "count": 1,
          "goal": "Responsible Consumption and Production",
          "max_prob": 0.7336,
          "mean_prob": 0.7336,
          "min_prob": 0.7336,
          "ontology": "sdgs",
          "target": "12.7"
        },
        {
          "category": "Corporate Governance",
          "count": 1,
          "event": "Designated Successor Named",
          "max_prob": 0.729,
          "mean_prob": 0.729,
          "min_prob": 0.729,
          "ontology": "nosible",
          "subcategory": "Executive Succession"
        },
        {
          "count": 1,
          "label": "Forecast",
          "max_prob": 0.7253,
          "mean_prob": 0.7253,
          "min_prob": 0.7253,
          "ontology": "iptc_genre"
        },
        {
          "count": 1,
          "max_prob": 0.7108,
          "mean_prob": 0.7108,
          "min_prob": 0.7108,
          "ontology": "iab",
          "tier_1": "Business and Finance",
          "tier_2": "Industries",
          "tier_3": "Media Industry",
          "tier_4": "Media Industry"
        },
        {
          "category": "Reputational Risk",
          "count": 1,
          "event": "Investor Sentiment Declined",
          "max_prob": 0.6807,
          "mean_prob": 0.6807,
          "min_prob": 0.6807,
          "ontology": "nosible",
          "subcategory": "Shareholder Sentiment"
        },
        {
          "count": 1,
          "label": "Current Events",
          "max_prob": 0.6799,
          "mean_prob": 0.6799,
          "min_prob": 0.6799,
          "ontology": "iptc_genre"
        },
        {
          "count": 1,
          "label": "SocialEvent",
          "max_prob": 0.6651,
          "mean_prob": 0.6651,
          "min_prob": 0.6651,
          "ontology": "schema_org_event"
        },
        {
          "count": 3,
          "label": "fear",
          "max_prob": 0.6455,
          "mean_prob": 0.5933,
          "min_prob": 0.5555,
          "ontology": "ekman7_emotion"
        },
        {
          "count": 1,
          "label": "sadness",
          "max_prob": 0.6406,
          "mean_prob": 0.6406,
          "min_prob": 0.6406,
          "ontology": "ekman7_emotion"
        },
        {
          "count": 1,
          "label": "happiness",
          "max_prob": 0.6233,
          "mean_prob": 0.6233,
          "min_prob": 0.6233,
          "ontology": "ekman7_emotion"
        },
        {
          "count": 2,
          "goal": "Peace, Justice and Strong Institutions",
          "max_prob": 0.6138,
          "mean_prob": 0.573,
          "min_prob": 0.5322,
          "ontology": "sdgs",
          "target": "16.7"
        },
        {
          "count": 1,
          "level_1": "politics and government",
          "level_2": "government",
          "level_3": "local authority",
          "max_prob": 0.5864,
          "mean_prob": 0.5864,
          "min_prob": 0.5864,
          "ontology": "iptc_media_topics"
        },
        {
          "count": 1,
          "event": "RETREAT",
          "max_prob": 0.5296,
          "mean_prob": 0.5296,
          "min_prob": 0.5296,
          "mode": "resign",
          "ontology": "plover"
        },
        {
          "count": 1,
          "label": "Press-Digest",
          "max_prob": 0.5218,
          "mean_prob": 0.5218,
          "min_prob": 0.5218,
          "ontology": "iptc_genre"
        },
        {
          "context": "political_institutions",
          "count": 1,
          "max_prob": 0.5094,
          "mean_prob": 0.5094,
          "min_prob": 0.5094,
          "ontology": "plover"
        }
      ],
      "published_timestamp": "2026-11-19T16:12:59+00:00",
      "tickers": [],
      "visited_timestamp": "2026-11-19T16:16:31.229100+00:00"
    }
  }
}
```

739 lines

The frame has two parts. The `header` is plain JSON. Its `facets` list the site, the timestamps, and the entities, topics, places and tickers found in the article, so you can decide whether you want the document before you decompress it. The `document` is the whole enriched article: its URL and page details, the full text, 20 snippets, and the entities, ontologies, locations, tickers and signals for the page as a whole.

Three timestamps tell this document's story:

- **Published** at 16:12:59 UTC on Thursday 19 November, by IOL.
- **Crawled** by us at 16:16:31.
- **Arrived** in the live Firehose at 16:16:41 (`arrived_ms`), ten seconds after the crawl and under four minutes after the article went up.

The header's `time_ms` is different: it records when the replay server sent us the frame, on 22 November.

Each of the 20 snippets is enriched on its own. Snippet `CgmSQepeOwi1l4aPsT-uxFwV` carries the news: its topic is coalition building, and the forward-looking model is 99% sure it describes something yet to happen, that the DA "could be shut out of all three Gauteng metros".

## Filtering and Deduplicating the Documents

Server-side filters work as described in the [Firehose post](https://nosible.com/blog/a-firehose-of-the-web-already-enriched): options within one filter combine with OR, and different filters combine with AND. Our request used a single entities filter, so any document that named one of the 21 names came through, including ones that named only Johannesburg.

We wanted some quick filtering to raise the chance that a document was about the talks. We kept documents whose text names the city (Johannesburg, Joburg or Jozi) and also a candidate or party (Zille, Mashaba, ActionSA, Democratic Alliance, DA or ANC). We then dropped repeat crawls of the same page and marked any story that carried an earlier story's headline as syndicated. That left 1,038 stories: 828 first arrivals and 210 syndicated stories. The filter only looks for names, so some of these stories may not be about the talks.

![Four bars on a log scale. The Replay Engine scanned about 8.6 million documents, the server-side filter delivered 7,247, our local filter kept 1,038 stories and 828 of them were first arrivals.](https://nosible.com/images/2026/11/replay-johannesburg-funnel.svg)

## The News Flow Over 222 Hours

With the documents filtered and deduplicated, we can chart the stories our filter kept, as a client connected to the Firehose would have seen them, 15 minutes at a time. Above them is the price of every trade in Polymarket's Mashaba and Zille Yes shares:

![Top: a step line through the price of every Polymarket trade in the Mashaba and Zille Yes shares, in cents per Yes share. Bottom: stacked bars, one per 15 minutes from 16:00 UTC on 11 November to 22:00 UTC on 20 November 2026, of the 1,038 stories kept by our local filter: 828 first arrivals in green and 210 syndicated stories in purple. The tallest bar, at 11:15 UTC on 12 November, is 27 stories, almost all of them the same syndicated wire story. Six lettered markers show when key stories about the talks arrived.](https://nosible.com/images/2026/11/replay-johannesburg-news-flow.svg)

Purple bars are syndicated stories, which had already run elsewhere. The two labelled spikes are wire stories: one on 12 November about the ANC's spokesperson defending Ramaphosa, which reached 51 sites, and one on 18 November about the rand that mentioned the coalition talks, which reached 43.

The markers show when six key stories arrived: Mashaba offered to step aside if Zille did too (A), coalition talks began (B), Mashaba moved closer to an ANC deal (C), the ANC offered ActionSA a deal that would make Mashaba mayor (D), Zille reportedly conceded in a message to her DA caucus (E), and an unsigned deal put Mashaba in line for mayor (F). A replay hands each one back at the same point in the stream as a live client received it.

## Replay Is Best for Backtests and Simulations

Replay is for any team that needs to know what the Firehose would have shown at a given moment: strategy backtests, testing agents and alerts against real events, and reviewing what was knowable during an incident. Teams use [Atlas](https://nosible.com/blog/announcing-atlas-the-point-in-time-knowledge-graph), [World](https://nosible.com/blog/world-v2-0-generally-available) and Search to build their priors. Replay lets them test those priors, and how they update, against exactly what they would have seen on the Firehose at the time, then run the same filters on the live Firehose.

## Get Access to the Replay Engine

Replay access is reserved, like Firehose. Each API key is approved individually. To request access, email [stuart@nosible.com](mailto:stuart@nosible.com).

## References

The news articles used in this post, in the order they were published:

- The Star (12 November 2026). [Mashaba proposes mayoral swap to unlock DA-ActionSA coalition talks](https://thestar.co.za/news/2026-11-12-mashaba-proposes-mayoral-swap-to-unlock-da-actionsa-coalition-talks?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine). Turning point A in the news-flow chart.
- Briefly News (13 November 2026). [Michael Beaumont Says Multiple Parties Prefer Mashaba and Moya as Johannesburg and Tshwane Mayors](https://briefly.co.za/politics/258861-michael-beaumont-multiple-parties-mashaba-moya-johannesburg-tshwane-mayors?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine). The example in our introduction.
- The Citizen (13 November 2026). [Coalition talks begin: Will the DA hand over Zille's head to Mashaba?](https://www.citizen.co.za/news/south-africa/elections/will-the-da-hand-over-zilles-head-to-mashaba?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine). Turning point B.
- IOL (16 November 2026). [Mashaba moves closer to ANC coalition deal as DA risks losing Gauteng's big three metros](https://iol.co.za/news/politics/2026-11-16-mashaba-moves-closer-to-anc-coalition-deal-as-da-risks-losing-gautengs-big-three-metros?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine). Turning point C.
- TimesLIVE (17 November 2026). [ANC offers ActionSA mayorship deal to bypass DA](https://www.timeslive.co.za/politics/2026-11-17-anc-offers-actionsa-mayorship-deal-to-bypass-da?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine). Turning point D.
- News24 (19 November 2026). [Helen Zille concedes defeat in Johannesburg as DA set for opposition benches](https://www.news24.com/southafrica/news/helen-zille-concedes-defeat-in-johannesburg-as-da-set-for-opposition-benches-20261119-0618?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine). Turning point E. Reports a message from Zille to her DA caucus.
- IOL (19 November 2026). [Leaked message: Zille tells DA caucus "Die is cast, we will be shut out in Gauteng"](https://iol.co.za/lge2026/2026-11-19-leaked-message-zille-tells-da-caucus-die-is-cast-we-will-be-shut-out-in-gauteng?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine). The replayed frame we show in full.
- IOL (20 November 2026). [Unsigned coalition deal puts Mashaba in line for Joburg mayor, MK Party for deputy](https://iol.co.za/lge2026/2026-11-20-unsigned-coalition-deal-puts-mashaba-in-line-for-joburg-mayor-mk-party-for-deputy?utm_source=nosible&utm_medium=referral&utm_campaign=nosible-replay-engine). Turning point F.

[All Research](https://nosible.com/blog)

Related Research

![Documents per hour for Nvidia and Jensen Huang in green above sentiment in red and the NVDA share price in white, from 7 to 13 November 2026, with the volume spike and the price drop lining up.](https://nosible.com/images/2026/11/firehose-nvidia-hero-3640x1560.png)

[Information Retrieval](https://nosible.com/blog/tag/information-retrieval)

[Web Search](https://nosible.com/blog/tag/web-search)

### [A Firehose of the Web, Already Enriched with Entities, Tickers, Sentiments, Ontologies, and Locations](https://nosible.com/blog/a-firehose-of-the-web-already-enriched)

2026-11-17

22 min read

![Diagram showing World V1.2 forking into World V2.0 and its nine processing layers.](https://nosible.com/images/2026/10/nosible-world-v2-fork-hero-icons.png)

[NOSIBLE World](https://nosible.com/blog/tag/nosible-world)

[Information Retrieval](https://nosible.com/blog/tag/information-retrieval)

[Web Search](https://nosible.com/blog/tag/web-search)

### [World V2.0 is now Generally Available: A Point-in-Time Database of Global Events](https://nosible.com/blog/world-v2-0-generally-available)

2026-10-28

8 min read

![Atlas Graph Harness workflow: entity and relationship grounding, graph investigation, execution checks, reviewer feedback and delivery of accepted results.](https://nosible.com/images/2026/10/hero-graph-harness.png)

[Trading Signals](https://nosible.com/blog/tag/trading-signals)

[Information Retrieval](https://nosible.com/blog/tag/information-retrieval)

[Web Search](https://nosible.com/blog/tag/web-search)

### [Going From Supply Chains to Trading Signals with a Knowledge Graph You Can Own](https://nosible.com/blog/from-supply-chains-to-trading-signals-a-knowledge-graph-you-can-own)

2026-10-19

7 min read

> NOSIBLE Replay Engine plays back any past window of the Firehose, in the order documents arrived, 37 times faster than real time, for backtests and simulations.

**URL:** https://nosible.com/blog/nosible-replay-engine-the-firehose-as-it-happened
