jakob / jakob/Postico

UI lag when updating fields on remote database

Open
#674 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
485
Forks
8
PR merge metrics
No merged PRs in 30d

Description

When trying to update field values on a remote database I am getting a CPU spike and a spinning beachball for a few seconds. I'm not 100% sure but I think this issue started when using this particular remote DB. This doesn't seem to be a problem for local databases.

I do not recall this being an issue on other remote DBs in the past.

Postico: Version 1.5.8 (4819)
Mac OS: 10.14.6 (18G87)
Postgres: 11.5 - this is a managed database on digital ocean

how to reproduce
- change a boolean from true to false
- focus on a text field, update the text, and click off of the row

[Sample of Postico.txt](https://github.com/jakob/Postico/files/3586752/Sample.of.Postico.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the lag using the listed boolean and text-field steps with the attached Sample of Postico.txt, comparing the managed DigitalOcean PostgreSQL database with a local database. Trace the field-update path and profile the CPU spike; done means remote field updates complete without the multi-second beachball.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, postgresql, python
Domain
databases, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.