typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
191 stars 44 forks source link

Connection latency is multiplied by Type Browser, freezing up the UI for extended periods #840

Open alexjpwalker opened 3 months ago

alexjpwalker commented 3 months ago

Problem to Solve

When connecting to a database with high network latency (~150ms) the whole UI freezes up for extended periods on, e.g. opening a session. It would appear that Type Browser needs to do quite a few network roundtrips in order to load and make the UI available for use.

Proposed Solution

Either we optimise Type Browser, or we find a way to populate Type Browser as a background job.