Persistent hyperdb in browser
See original GitHub issueI’ve been trying to get a persistent hyperdb to work in my browser for the past 2 days.
The problem is that hyperdb expects random-access-storage
based storage as its backend, and the only existing implementation that works in the browser is random-access-memory
, which is volatile. This would mean that everytime my browser tab is reloaded it will lose its content and when it connects to peers it will need to be reauthorized.
I’ve tried frankensteining together level-browserify
and random-access-memory
, but this is very error prone. Is there a backend for hyperdb that supports persistent browser storage? or maybe another way of preserving the key and replaying changes without breaking the database?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
is browser supported? · Issue #20 · mafintosh/hyperdb - GitHub
Hi, I just tried to build a browser app with the following code and I have an issue concerning blake2b-wasm wich uses node...
Read more >HyperDB – WordPress plugin
HyperDB is an advanced database class that supports replication, failover, load balancing, and partitioning.
Read more >How to deploy HyperDB – Page 3 - The WP Guru
Easy: open your browser and (hopefully) see your website in full glory. Now head over to your SSH terminal and switch one of...
Read more >Advanced Database classes for WordPress - Mustafa Uysal
Let's talk about WordPress' advanced database classes. I'm explicitly mentioning HyperDB, but there are other alternatives/forks out there;.
Read more >HyperDB failover Delay - WordPress Stack Exchange
We are testing out hyperDB as a solution for automated DB failover for wordpress. The environment in question consists of 2 Backend DBs....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@eklem you can try random-access-web as well: https://github.com/random-access-storage/random-access-web
I can’t quite remember (I never did finish that project) but I think I had success with random-access-idb