---
name: middleware-experiments
description: Use when designing Middleware evaluation: applications above, platforms below, overload, failure, and price of the abstraction. Covers LLM serving and agents. Does not log runs.
---

# Middleware experiments

Use this to test the contract.

Call: https://middleware-conf.github.io/2027/call-for-papers/

## Four questions each layer must answer

**1. What does it cost when it is not needed?** One request, no contention, no failure. Added microseconds, bytes, and dollars against writing it by hand.

**2. What does it give when it is needed?** The scenario from page 1, at the scale people run.

**3. Does it hold over what varies?** At least two things below (clouds, kernels, accelerators, networks) and two above (applications not written by you). A layer tested on one of each is a feature.

**4. How does it break?** Overload beyond saturation, partial failure, slow node, network partition, version skew, misbehaving tenant. What does the program above see, compared with what the contract says?

## Load

Open loop for services. Sweep beyond the knee. Percentiles with counts. Bursts as in a real trace, named. Warm and cold. For serverless: cold start distribution and cost per million invocations. For event systems: fan-out, ordering under reconnection, slow subscribers.

## LLM serving

Time to first token and between tokens, at percentiles, by prompt and output length. Goodput under a stated objective. Trace of arrivals and lengths, not a constant. Quality unchanged: token-for-token equal, or measured on a task. Baseline: the current release of the common engine with the features people enable. Memory and cost per token. Multi-tenant fairness.

## Agents

Task success by external check, cost and number of calls, behaviour under tool failure and malicious content, isolation between tenants, recovery in the middle of an effect. Idempotence of actions: show what happens when the runtime retries a payment.

## Trust

Confidential and decentralized systems: state the adversary, then test the cost under it. Leave the enclave on for all runs being compared.

## Energy and carbon

Measured where, including idle machines kept for elasticity. If carbon, intensity source and time.

## Deployment papers

Months, scale, incidents, configuration drift, effort to migrate, people's time. Alternatives tried and dropped, with data. Weight of lessons counts more than speed.

## Big ideas

One experiment that would embarrass the idea if it failed. Say the result.

## Usability

If you claim easier, show it: lines changed in programs of others, tasks by people who did not build it, errors made.

## Output

```text
[Middleware evidence] cost when idle <x> · gain when needed <x>
[Below] <two> · [Above] <two, not ours>
[Breakage] overload, partial, skew, tenant: seen by program = contract? <y/n each>
[Load] open loop, trace <x>, beyond knee
[LLM/agent] TTFT, goodput, quality equal, retries safe
[Lessons] <n with data> / not deployment
[Ease] shown by <x> / not claimed
```

## Reverify each cycle

- Criteria of your paper type.
