Skip to content

Cold dataset open takes 6-7s on network-attached volumes (Railway) β€” consider dataset/manifest cachingΒ #329

Description

@bobsch-io

Hi Andrew! πŸ‘‹ Bobsch here.

Quick disclaimer up front: I honestly have no clue whether this is a real issue on your side β€” my AI assistant (Fable 5) pinned this down while we were chasing latency in our app and suggested reporting it upstream. Sharing it in case it's helpful; feel free to close if it's expected behavior.

Setup: omnigraph-server v0.7.0, cluster mode (--cluster), deployed on Railway with a network-attached volume at /var/lib/omnigraph/cluster. Cedar policy enabled, bearer-token auth.

Measurements from real production use:

Operation Network volume (Railway) Local disk
First read after a branch create/open (cold) 6–7 s milliseconds
Warm reads 80–200 ms ~10 ms
Branch merge ~1.4 s fast
Network RTT (keep-alive) ~23 ms β€”

The wire is innocent (23 ms RTT) β€” the cost profile points at many small Lance/manifest file operations against the network volume on a cold dataset open. Our workaround is a client-side keep-warm sweep so humans never hit the cold path, which works fine, but it treats the symptom.

Suggestion: cache opened datasets/manifests in memory server-side (or batch the small reads on open), so cold opens on network-attached storage don't multiply the per-file latency.

Happy to provide detailed timings or logs if useful. Thanks for Omnigraph β€” the branch/merge model is carrying our whole human-in-the-loop workflow. πŸ™

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions