One read of a file that is on another computer

6 min read | KEIBIDROP Series | November 2026

By Marius-Florin Cristian

When an application reads a file in the KEIBIDROP Teleport folder, the read either hits the cache copy on your own disk or fetches one block from the friend's device, and a stream keeps blocks ahead of the reader, so only the bytes an application reads cross the link. An agent read 1 MB out of a 256 MB file on the other machine and 16.8 MB crossed the wire, 6.25% of the file, which is the 16 MiB read-ahead block around the read plus the hash stream, measured on one Mac through our bridge on 3 September 2026. A random 2 MiB read on the mount took 0.26 s at the median on an idle 200 ms link, one round trip plus 80 ms of transfer.

A read either finds its bytes on your disk or asks the friend for one block

Each read goes through the file system layer, which keeps a cache copy of every remote file it has served and a bitmap of the pieces that have arrived. Press Play, or step with Next and Back, the arrow keys or space; every step is written out below the drawing.

Application Your cache Friend read(offset) hit: local copy miss: one block its own file bitmap marks it blocks ahead jump: a round trip siblings, one call

  1. An application reads a range of a file in the Teleport folder, and the kernel passes the read to the file system layer.
  2. The layer checks the file's bitmap; when the pieces of the range are already here, it reads its cache copy and the read never leaves the machine.
  3. On a miss it asks the friend's device for one block around the read, over the encrypted session.
  4. The friend's device reads its own file and sends the bytes back.
  5. The bytes land in the cache copy and the bitmap marks their pieces, so the next read of that range is a hit.
  6. While an application reads a file front to back, read-ahead keeps blocks ahead of it, so most reads find their bytes waiting.
  7. A read far from the last one, a jump, costs one round trip and one block, whatever the size of the file.
  8. The first small file read in a folder brings its small siblings with it in one call, so a walk of many small files does not pay one round trip per file.

Marius described the same flow in his Pass the SALT talk:

"So like the flow that I demoed and you saw it was like whatever high level app goes to the kernel and then if it's a local cache hit like the block of the file, it's on disk. It will just read it locally as fast as it can. Otherwise it will have to wait for a network trip to fetch it."

The cache copy fills piece by piece, and only what the application reads arrives

The drawing below shows one file as a row of pieces. Read on moves the application one piece further, Jump sends it far from its last read, and Read again goes back to a piece it already read. A piece that is in the cache copy is read on your disk; any other piece costs a request across the link and the piece coming back, and read-ahead asks for the next pieces before the application gets there. The count of pieces, the lead and the timing are drawn for the eye.

Your cache copyon your disk Friend's fileon their disk one link the file, piece by piece not here yet on the way in the cache copy read by the application

The application has read the first three pieces from the cache copy. Read-ahead already brought the next two, and the sixth is on its way from the friend.

One file, piece by piece. A hit is read on your disk; a miss costs one round trip; read-ahead keeps pieces in front of a reader that moves forward.

A hit costs the local disk, a miss costs one round trip, and a stream rides ahead

In the table below, each row is one kind of read with what it costs and the measurement behind it, with its conditions.

ReadWhat it costsMeasured
Hita read of the cache copy on your own disk; nothing crosses the linkno network in the path
Miss, a jumpone round trip and one blocka random 2 MiB read took 0.26 s at the median on an idle 200 ms link, one round trip plus 80 ms of transfer; Singapore Windows Server reading a Timisoara Linux box, two trials per cell
Streamblocks kept ahead of the readeran agent read 1 MB of a 256 MB file and 16.8 MB crossed the wire, 6.25% of the file: one 16 MiB read-ahead block plus the hash stream; one Mac through our bridge, 3 September 2026
Many small filessiblings come in one callwalking 2,000 small files over an intercontinental link took 12 minutes with the warmer off and 33 seconds with it on, for 0.03% more bytes; the same build both ways, baseline 3 runs, warm 1 run

A jump joins the same queue as the read-ahead blocks of a stream. Under a 2 GB sequential read on the same 200 ms link the median jump was 0.28 s direct and 0.48 s through the bridge, and the slowest of 48 jumps took 1.0 s direct and 4.7 s through the bridge, in two trials per cell. Opening or seeking a file does not wait behind a large background transfer, because a separate lane carries those short reads; the post on a seek over a full WAN link has the whole run. Marius named the trade-off in the same talk:

"So the thing is you cannot actually pre-fetch things too aggressively because then you run out of wire space."

Limits. A random jump costs a round trip, and on a 200 ms link that is the floor of its wait; reads near the last one ride on read-ahead.

The friend's device must be online for bytes that have not been fetched yet. Bytes already read stay in the cache copy and read at disk speed.

The 0.6.0 pull request says: "A first read of a file starts faster." This page shows the reads of 0.5.1; the 0.6.0 change comes with its own numbers when they are measured.

A file opens in place, and only the bytes you read travel

how to open a file without downloading it

Open it from the friend's folder in the KEIBIDROP Teleport folder, as you open any local file. The application reads what it needs, and each read fetches only the block around it, so a large file opens without a full download first.

How to access files on a different computer on the same network?

Pair the two computers in KEIBIDROP; on the same network they find each other directly, and the shared folder of one appears in the Teleport folder of the other. Reads then work as on this page, with the local network in place of the WAN.

How to share very large files over the internet?

Share the folder instead of sending a copy. The friend opens the file in place and only the parts their application reads cross the link, so a 256 MB file read in one place costs one block, as the table shows.

Checked on 30 November 2026 against KEIBIDROP 0.5.1 and the 0.6.0 pull request.

Related: how KEIBIDROP works, the series by theme, encryption keys that change during a transfer, 30 MB of small files took 12 minutes while the link sat idle, stream files without downloading on keibidrop.com