Espen and the 270 calls: a fisherman asks how fast his catches can follow him
· Kai Gilb

Crate 42 of bananas travels from a farm in Costa Rica to a shop in Oslo, and every stop is written down. This story is about a different traveller: a sea trout, caught on a fly in 2013, which needs to get from a phone to a PC. It turns out that the trout's trip is harder to plan than the banana's.
This is part 1 of a series.
Meet Espen
Espen Marthiniussen is a Norwegian fly fisher with a habit he can't, and won't, break: he wants to catch every species he can on a fly. Sea trout at dawn, mackerel in summer, wrasse, flounder, and the odd largemouth bass in Florida. If it swims and might take a fly, it is probably on his list.
By day he is Project Development Manager at i4 Technology, lives in Tønsberg, and is a linked data and graph database specialist. Which means that when he says "record", he knows exactly what he means. You can meet him on his own MyJackfruit card, which reads from his own vault.
Since 2008 he has logged every catch in his own iPhone app, Fluefiske (Norwegian for "fly fishing"). The counter on his phone says 915. He weighs and measures every fish, and notes the water temperature, the weather, the tide and the fly. That is 18 years of data most anglers only wish they had, and the stories it tells afterwards about when, where and on which fly are half the fun.

Now he is rebuilding that app on GilbPlatform. The idea is simple: his catches belong to him, they are kept in his own vault, and they look the same on his phone and his PC. Lose the phone on a fishing trip, and every catch, photo and note is still there. The app visits; the catches stay in his vault.
Espen is also the reason GilbLife exists. A fishing app needs to know what a fish is, so he started filling in the tree of life on GilbPlatform, and that became GilbLife: a shared vault of living things that any app can point to. Search for "torsk", Norwegian for cod, and you get Atlantic cod, Gadus morhua, with its whole chain from Life down through Chordata, Gadiformes and Gadus. It has one permanent address, life.gilb.com/base/e/44ghqfmp5b5e, which opens as raw linked data, the way a graph database specialist likes it. When Espen logs a cod in Fluefiske, his catch points there. So does anyone else's.

On 14 October at 10:17 a letter from Espen arrived. Eleven questions. Polite, precise and, I have to admit, better measured than most letters I get from people who are paid to measure things.
Espen did the math before I did
A catch is not one record. Each measurement on it (water temperature, air pressure, wind, tide) is its own record, with a note on how it was found. Espen counted:
| What | Records |
|---|---|
| Catches | about 920 |
| Measurements on those catches | about 4,200 |
| Trips, photos, gear, target species | about 100 |
| Total | about 5,300 |
Then he counted what a device had to do to stay in sync with the vault as he understood it:
| Situation | Calls |
|---|---|
| First load on a new phone or PC | about 5,600 |
| Routine sync, one catch changed | about 270 |
| Routine sync, nothing changed | about 270 |
270 calls to learn that nothing happened. On a boat. On mobile data. On a battery. That is a lot of effort to find out that the fish are still where you left them.

What "fast" means, in Espen's own numbers
Before anyone wrote a line of code, Kai-Zen went to work. Kai-Zen is the team of AI agents that runs inside MyJackfruit, each with its own job (a coder, a tester, a concept expert, an architect) and each following GilbPlatform's own written standards step by step. It read both of Espen's letters, read his earlier correspondence so it would not ask him anything he had already answered, checked the platform code, and handed me fourteen clarifying questions to send him. My job was to press send. The most important question: what does "cheap" mean to you? His answer, in his order:
- The fisher never waits. Sync must never slow the start of the app or the camera.
- Battery and mobile data on the water.
- The time a first load takes.
And his "good enough", in numbers:
- A sync with nothing changed: under 2 seconds and a few KB.
- A sync with one catch changed: under 5 seconds.
- A first load on a new device: under 2 minutes at 1,000 catches, under 10 minutes at 5,000.
This is the move that makes systems engineering work. In Planguage, the language my father Tom Gilb and I use for requirements, a wish like "fast sync" becomes a Value with a Scale, a Meter, a Status, a Tolerable level and a Goal. "Fast" cannot be argued with. "Under 2 seconds at 5,000 catches" can be measured, and then it can be met or not.
Kai-Zen measured instead of guessing
Next, Kai-Zen sent its coder agent to find out how GilbPlatform actually behaves today, in production, against Espen's own call pattern. It built a small probe, ran it against the exact revision that is live, and timed real calls to production. Nobody had to ask it to; its standards say a claim is not evidence until it has been run.
That rule earned its keep within the hour. Kai-Zen's first pass only read the code, and reported, among other things, that a version check was missing on one kind of write. When the coder agent ran the same checks on the revision that is actually live, three of those code-read claims turned out to be wrong. Kai-Zen corrected itself in its own log, without being asked. A code read is not evidence until it is run on the code that is live. I knew that. I now know it with a timestamp.
What the measurements showed:
- One call to production takes 124 ms (median, measured, one call at a time). Espen had estimated 300 ms.
- The vault's listing returns the newest changes first, across every type. So a device can stop reading at the first record it already has. A sync with nothing changed costs 2 calls today, not 270. No platform change needed, just a better recipe.
- A first load, opening 5,300 records one by one, would take about 11 minutes. With 8 calls in parallel, about 2.2 minutes. Close to Espen's Goal, but not there.
- And two real gaps that Espen never asked about: a deleted record that is brought back landed in the wrong vault, and a delete did not check that it was deleting the version you last saw.
So the thing Espen thought was the biggest problem was mostly solved by a recipe, and the real problems were somewhere else. That happens a lot. It is why Kai-Zen measures before anyone builds.
Ranking the work: the Value Decision Table
Kai-Zen then put everything GilbPlatform could not deliver that day into a Value Decision Table. Rows are the Values (Espen's Goals, plus the ones the platform owes every app: your data stays in your vault, a stale write is refused, nothing private is cached on a borrowed PC). Columns are candidate solutions. Each cell says how far a solution moves a Value toward its Goal, and with what evidence. Then value is divided by cost, and the order falls out of the arithmetic, not out of who argues loudest. Including me. Kai-Zen does that arithmetic with a script, so not one percentage in the table is typed in by hand.
Two things made this one unusual:
- Espen ranked the same list with his own AI agent. Both sides now run Kai-Zen. His ranked his needs, mine ranked the platform work, and they met in one table.
- I asked Kai-Zen for a full Sharpen before anything was built. Its architect agent pushed every Value up to the stakeholder it serves and down to the security threats it opens. Six threats were scored, and several of Espen's proposals were reshaped to close them. Example: letting an app choose its own record ids would let a stranger claim an id first, so the safer answer is an idempotency key.
You can read the real thing. Here is the table, printed exactly as Kai-Zen made it, six A3 pages: Value Decision Table 119: third-party sync, ranked (PDF). It is not a marketing document. It is the working table, with every estimate marked as an estimate and every measurement marked with when it was taken.

The first delivery: 3 hours, 12 minutes
Item 1 on the list was not speed at all. It was honesty. Espen has 398 old tide readings from his previous app. Some were calculated from tide tables, some were set by hand with a slider. He checked his own data and found that 75 of the 398 were exactly 0, 25, 50, 75 or 100. Nobody can tell which reading is which.
The vocabulary had no way to say "we have the figure, but we don't know how it was found". So Espen had stopped uploading his 910 old catches, because nothing written can be undone, and he did not want to write a guess.
Kai-Zen's concept agent wrote the term notStated and a type for his old tide figure, ran them through GilbPlatform's typing gate, shipped them to the live vocabulary, and then read them back from production to prove they were really there. Kai-Zen checked that read-back a second time on its own before it told me it was done. The question was first raised at 10:17. The answer was live in production, and read back, at 13:29. Question to production: 3 hours and 12 minutes. From the moment Espen said it blocked him to live: 26 minutes, including one hold I asked for on purpose so the Sharpen could run first.
The scoreboard
This series ends when Espen's Goals are met in production, and only measured numbers count. Here is where we start:

In Planguage terms: Tolerable is the level below which we have failed, Goal is where we stop spending on it. The same numbers as a table:
| Value | Espen's Goal | Status on day 1 |
|---|---|---|
| Sync, nothing changed | under 2 s | 2 calls, about 0.25 s with the new recipe (projected from measured 124 ms per call) ✅ |
| Sync, one catch changed | under 5 s | under 1 s, projected ✅ |
| First load, 1,000 catches | under 2 min | about 2.4 min ❌ |
| First load, 5,000 catches | under 10 min | about 13 min ❌ |
| Upload of 910 old catches | unblocked | unblocked on day 1 ✅ |
| A restored catch lands in your own vault | always | not yet; the fix is being tested ❌ |
Next in the series: the restore fix, a delete that respects your last read, and fields in the listing, which is what should bring a first load at 5,000 catches from about 13 minutes to a few calls. Kai-Zen will measure every step on production before I tell you it is done.
Update, 20 October: part 2 is out, with Espen's measured numbers: Espen, part 2: from 6 minutes to 1 minute 11 seconds.
The fish are on his list. The platform is just trying to keep up with him.
Kai Gilb
