QSCSCore v1.2 — Distributed Request Demo
QSCSCore v1.2 is the first operational release of the QSCS daemon: a fully static 9 MB binary that boots instantly, loads its internal registries, resolves domains using its own DNS engine, and performs full round‑trip distributed request execution through a deterministic delta substrate.
This version of the QSCSCore daemon handles incremental delta updates and request re‑hydration from local state objects. This time round it will also encrypt the socket connection using identity based key pairs and AES‑256‑GCM cyphers. This allows for automatic socket encryption without the need for domain linked or signed ssl certificates.
It’s a safe, easy to use runtime - no tracking, no external dependencies. Just place it on the same host as yourwebapp, expose port 4443, and serve your application on port 80 via http locally.
Download the QSCSCore v1.2 Demo Binary
You can run the demo yourself using the same binary used to generate the logs below.
Download QSCSCore v1.2 (Linux, static build)
QSCSCore v1.2 — Linux x86_64 static binary
Once downloaded, run:
./QSCSCore
Then in another terminal:
curl --unix-socket /tmp/qscscore.sock http://spook.systems/public/demo -o output.html
Important
The page at:
http://spook.systems/public/demo
is not publicly accessible over the internet.
It is only reachable through QSCS, via the distributed substrate path:
curl → local QSCSCore → Delta → remote QSCSCore → internal web fetch → ResponseDelta → local QSCSCore → curl
There is an API endpoint at the same URI that will allow updates to body and heading1 colours as below:
curl -s --unix-socket /tmp/qscscore.sock \
-X POST -H 'Content-Type: application/json' \
-d '{"bodyColor":"#ffffff","h1Color":"#000000"}' \
http://spook.systems/public/demo
You can use this to test the incremental delta generation and local request rehydration.
If your QSCSCore is running correctly, you will see output very similar to the recorded session below, and output.html will contain the remote demo page.
Note: QSCSCore is a general substrate. You're free to wrap your own URLs or services for testing. If you experiment with it, I'd welcome feedback or support questions via the contact address at the bottom of this page.
QSCSCore v1.2 — Recorded Daemon Output
A real captured session from QSCSCore v1.2 performing a fully encrypted, cross‑node request cycle now includes:
- PeerListener startup on TCP:4443
- Ephemeral X25519 handshake per connection (fresh keypair, shared secret, HKDF session key)
- AES‑256‑GCM frame decryption of inbound Delta frames
- Delta deserialization including protocol, host, and URI
- State persistence into the local stateRegistry + DeltaRegistry
- Full HTTP request rehydration from Delta metadata
- Upstream fetch via internal DNS resolver + raw HTTP client
- Payload indexing + diffing to detect changes
- ResponseDelta generation (full response or NoChange)
- AES‑256‑GCM encrypted return frame sent back to the initiator
- End‑to‑end deterministic round‑trip completed over the QSCS substrate
QSCSCore v1.2 — Daemon Output
Test Case Used in This Demo
The runtime sequence above was generated using a multi‑step test script that exercises both GET and POST flows through the QSCSCore UNIX domain socket.
The script issues:
- GET
http://spook.systems/public/demo
(initial full upstream fetch + full ResponseDelta) - POST
http://spook.systems/public/demo
with JSON body modifying colours (bodyColor,h1Color) - GET
http://spook.systems/public/demo
(incremental delta detection after POST) - GET
http://spook.systems/public/demo
(NoChange response from cache) - POST
http://spook.systems/public/demo
reverting colours to defaults - GET
http://spook.systems/public/demo
(final state verification)
Each request triggers:
- URI + Host parsing
- StateID allocation
- Delta creation and persistence
- DNS resolution via internal resolver
- Encrypted TCP:4443 session establishment
- Delta transmission to remote QSCSCore
- Remote rehydration + upstream fetch
- Payload indexing + diffing
- ResponseDelta or NoChange return
- Local HTTP response reconstruction