art-in / microcosm

notebook as a graph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ui lags when opening ideas

art-in opened this issue · comments

too much time spent in database task:

(opening idea in zen mode)

before

hot action is set-mindset-focus-idea, which updates focusIdeaId in current mindset.

lots of mindset revision ids are sent to server database:

before_network

mindset is the only document which is updated frequently (focusIdeaId, etc.), that's why is has so many revisions (up to 1K).

the solution is probably to get rid of old revisions through couchdb/pouchdb compaction.