athensresearch / athens

Athens is no longer maintainted. Athens was an open-source, collaborative knowledge graph, backed by YC W21
https://athensresearch.github.io/athens
Other
6.31k stars 397 forks source link

Improve Performance for large DBs #570

Open tangjeff0 opened 3 years ago

tangjeff0 commented 3 years ago

After uploading the Roam ego db to my personal Athens db, performance has greatly suffered. It takes over half a second for the page to update after writing a block to datascript. This seems to originate from (anonymous) functions and datascript.pull_api private functions. Images below:

image

image

image

tangjeff0 commented 3 years ago

Big pages are also quite slow. Need to figure out if similar issue. Reagent, Datascript, and parser all have optimizations, but not sure which is the right one to pursue first.

https://discord.com/channels/708122962422792194/709246147549593601/809965655302340621 https://www.loom.com/share/e1044dcaafc34653b612a4ccaf235eaf

sid597 commented 3 years ago

Any updates on this issue?

tangjeff0 commented 3 years ago

@juniusfree is making a dent. He just did #756 and is looking to replace posh with reactive datascript. #1167

sid597 commented 3 years ago

@juniusfree is making a dent. He just did #756 and is looking to replace posh with reactive datascript. #1167

Thats great, is posh not replaced ? A while back someone in discord mentioned they were making progress on this.

tangjeff0 commented 3 years ago

784 #665 @sid597