Tag: storage

Working on the Tree

Work have now started on version 1.3.50 - The Tree.

I already have a lot of code since my try in 2020 and 2021.
I found that I needed to stop development and to other things like being a father to three Poodle puppues, we moved to a larger apartment that still need a lot of work, there were a pandemic, I operated on my foot, got a Quest 3 and spent time on that, had to learn a lot for work with AI and MongoDb.

One thing that really made the Mojo come back is Junie. The agent coder in PHP Storm. It is a bliss to work with that excellent tool. Saves me hours every day.

(more…)

Speed improvements in release v1.3.7

Today I released all changes I have done to the code since the last release in Januari.

Infohub is much faster now on all browsers. It has been a bit sluggish on Firefox and faster on Brave. But now Firefox render faster than Brave. This is what I have done:

Storage

The storage plugins on the client uses the same flexible system as on the server. You can attach any kind of storage engine just like on the server. Problem is that the browsers only have indexedDb as a storage engine. And on top of that I only use the code for idbkeyval to store the data.

Instead of three layers of plugins I reduced them to one layer. That reduces the number of calls and makes the read/write faster.

I also added a memory cache. If you read data it comes into the memory cache. If you read again you get the data from the memory. Writing data updates the memory cache. This improve read/write speeds.

(more…)