~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
70 lines · 2.8 KB Raw History
{
	"name": "acc-0014",
	"description": "Acceptance 0014: a refused accept (409 CapacityExceeded) falls back to the next bid; concurrent rentals never overcommit a bidder.",
	"actions": [
		{
			"entry": "run",
			"label": "Run 0014",
			"description": "Three rentals on three one-VM bidders: refusals, the fallback, all Held, all released."
		},
		{
			"entry": "concurrent",
			"label": "Run 0014 concurrent",
			"description": "Four rentals on two two-VM bidders: all Held, no overcommit (vCPUs, memory, guest quota), every accept re-sent 5 times (one VM each), all released, every released accept re-sent, then the same round again: all Held with no wait."
		},
		{
			"entry": "exhausted",
			"label": "Run 0014 exhausted",
			"description": "Three rentals on two one-VM bidders: two Held, the third refused by both, its new RFP fails at once."
		},
		{
			"entry": "overcommit",
			"label": "Run 0014 overcommit",
			"description": "One bidder filled to its committed vCPUs (cores x cpu-overcommit): two 2-vCPU guests Held at 2:1, the third refused capacity; at 1:1 the second."
		},
		{
			"entry": "abandon",
			"label": "Run 0014 abandon",
			"description": "An accept whose record is not there (a requester that deleted it) is retried a bounded number of times and abandoned by the bidder: one bidder_accept_abandoned, no retry log after it."
		},
		{
			"entry": "impossible",
			"label": "Run 0014 impossible",
			"description": "A request no bidder can ever take (more vCPUs than any offering's maxCpus; nestedVirt when none offers it; a deadline that passes before the RFP) fails fast naming why; it never waits for capacity."
		},
		{
			"entry": "giveup",
			"label": "Run 0014 giveup",
			"description": "Bidders full, a rental with a short --expires-in waits in rounds and fails at its deadline: gave up waiting for capacity."
		},
		{
			"entry": "wait",
			"label": "Run 0014 wait",
			"description": "Bidders full, a rental waits for capacity; a filler is released and the rental is Held within about a backoff."
		},
		{
			"entry": "backtoback",
			"label": "Run 0014 back to back",
			"description": "Six small VMs one after another on one bidder: every one Held, none ended before it came on network."
		}
	],
	"calls": [
		"computer.socialweb.test.request.start",
		"computer.socialweb.test.request.release",
		"computer.socialweb.test.request.records",
		"computer.socialweb.test.bidder.logCount",
		"computer.socialweb.test.bidder.logLines",
		"computer.socialweb.test.bidder.submitAccept",
		"computer.socialweb.test.bidder.meminfo",
		"com.atproto.repo.getRecord",
		"com.fedfork.exec.kube.list",
		"com.fedfork.exec.kube.get",
		"computer.socialweb.test.assert.recordsGone"
	],
	"hooks": [
		{
			"nsid": "computer.socialweb.test.assert.recordsGone",
			"reason": "every contract record, RecordNotFound"
		}
	]
}