You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've noticed some unused and potentially broken backend code in our project. Despite considering PebbleDB as a better replacement, we are still using GoLevelDB.
When we attempt to integrate Gno with other platforms like WASM or build it with new constraints, we encounter issues related to Cgo or advanced OS features used by those dependencies.
We have an excellent tm2/pkg/db library that abstracts the database concept and enables easy configuration. However, instead of providing configurable flags, we've hardcoded the backend selection in multiple places.
Here's my suggested plan:
Ensure that our current target environments use sensible defaults (e.g., GoLevelDB everywhere or different backends for computers and WASM) - already in progress in feat: make gnovm wasm-friendly #1012.
Add any missing drivers, including Pebble, and conduct thorough benchmarks and stability checks.
Switch the default to the best new drivers for a trial period.
Clean up all other unused backends.
This plan aims to improve database backend handling and enhance overall project stability and performance.
The text was updated successfully, but these errors were encountered:
Regarding the current and past discussions: #1012, #1008, #130, #305, #131, #196, #197, #1009.
We've noticed some unused and potentially broken backend code in our project. Despite considering PebbleDB as a better replacement, we are still using GoLevelDB.
When we attempt to integrate Gno with other platforms like WASM or build it with new constraints, we encounter issues related to Cgo or advanced OS features used by those dependencies.
We have an excellent
tm2/pkg/db
library that abstracts the database concept and enables easy configuration. However, instead of providing configurable flags, we've hardcoded the backend selection in multiple places.Here's my suggested plan:
This plan aims to improve database backend handling and enhance overall project stability and performance.
The text was updated successfully, but these errors were encountered: