Spaces:
Running
Running
|
Download docs/quickstart.md from pgg-engineering/sincekit: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/spaces/pgg-engineering/sincekit/resolve/main/docs/quickstart.md
- Command line
-
hf download hf://spaces/pgg-engineering/sincekit/docs/quickstart.md
-
curl -L -o quickstart.md https://huggingface.co/spaces/pgg-engineering/sincekit/resolve/main/docs/quickstart.md
1.54 kB
| # Run SinceKit on a workload | |
| Does your live world have many readers with different last-seen revisions, all authorized to see the same keys? This example prepares a single coalesced row array and a prefix length for each of them. | |
| ```sh | |
| git clone --depth 1 https://huggingface.co/spaces/pgg-engineering/sincekit | |
| cd sincekit | |
| make demo check replay | |
| ``` | |
| These commands compile and exercise the native implementation and verify a replay of 24,544 observed model-request completions. The third command prints a three-reader example, test results, and a JSON report. Use a C++17 compiler, Make and Python 3. | |
| To evaluate your own cadence, stream writes and reader cursors to the compiled command. Writes advance the revision by one. | |
| ```sh | |
| printf 'touch 1\ntouch 8\ntouch 1\nerase 8\nplan 0 1 3 4\n' | build/sincekit 16 | |
| ``` | |
| In Python, build the optional extension from this checkout with `python3 -m pip install --no-build-isolation --no-deps ./python`. See the [tested SimPy warehouse integration](../integrations/simpy/README.md) for asynchronous subscribers applying real payloads and checking consistency. | |
| For a benchmark, select a range of reader lags and a proportion of hot keys that match your workload. Measure single-reader pulls, an independently implemented shared-union plan, and the production approach you already use. Record candidate rows, logical deliveries, latency including payload application, and the cases where another method wins. The [performance results](performance.md) provide raw samples and exact baselines. | |