Caching the zettel graph - Neuron

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

felko

I'm starting to feel a little latency when building the zettelkatsen (with >200 zettels), its very bearable but would it be possible to cache the zettel graph so that neuron doesn't need to build the entire zettelkasten every time? Not sure how that would work though

Sridhar Ratnakumar

Yes, assuming that's where the bottleneck is from the profiling data.

Sridhar Ratnakumar

I had made a note in my mind that these kinds of optimization will eventually have to be done as the zettelkasten grows.

Sridhar Ratnakumar

@felko Can you give this branch a try in neuron-mode and let me know if that resolves the performance issues?

Sridhar Ratnakumar

Use neuron query --cached, which should be up to date as long as rib is running somewhere.

Sridhar Ratnakumar

A proper performance fix will be done later (incremental patching of graph in rib server)

felko

I'll have time to work on this in about two weeks, as I am currently in the middle of an exam session

felko

ping me if i forget, my exams end on august 11