Versions 151 to 152
new file, 53 lines
2+
3+`scale.mjs` plays many agents across many projects against an abso open server (`server/`). It talks HTTP directly, as
4+the client does, so one machine can stand in for thousands of agents. Each project is its own Durable Object and its
5+own Artifacts repo, so total pushes a second should grow with the number of projects while each project's own latency
7+
9+
12+ABSO_TOKEN=... node server/scale/scale.mjs --server https://abso.<you>.workers.dev --projects 10 --agents 5
13+node server/scale/scale.mjs --server https://abso.<you>.workers.dev --token-file ~/.abso-open/token --ramp
15+
16+Locally: `cd server && npm run dev` (`wrangler dev --local`, with `ABSO_TOKEN` in `.dev.vars`), then
18+
25+| `--overlap` | 0.2 | The share of rounds that edit one of the first lines of a shared file, `hot.txt`, instead of the agent's own file, so some pushes are held. |
27+| `--ramp` | off | Runs 1×1, 10×5, 50×10, 100×10 and 200×20 in order, one results file per stage, and stops early when errors pass 2%. |
28+| `--concurrency` | 256 | Requests in flight at once, across every agent. When requests a second come near this divided by the latency, the harness is the limit, not the server: raise it (the first ramp used 800). |
34+
36+
38+2. Each round, edits its own file `agents/<agent>.txt`. With the overlap chance, it pulls and changes a line of `hot.txt`
39+ instead. It records the file (`a/<agent>/record`), pushes (`a/<agent>/publish`) and reads its news (`a/<agent>/news`).
40+3. A held push pulls and pushes again once with both sides kept, as `abso push --as-is` does after a pull.
41+
43+
45+
50+- Time to Artifacts: for a sample of projects, it polls `GET /p/<project>/out` until `pushed.version` reaches shared's
51+ version. The server pushes out at most once a minute per project, so expect up to about a minute.
52+
53+The results are JSON in `results/` (summaries, not per-request logs), and a Markdown summary is printed.
- MCP
- compare on this site's /mcp
- CLI
- abso diff 151 152 server/scale/README.md --json
- JSON
- /christopher/abso-core/compare/151..152?file=server%2Fscale%2FREADME.md&format=json