-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dbless) use LMDB as DB-less backend
This PR adds LMDB (Lightning Memory-Mapped Database) support for DB-less. At the same time, the shdict based DB-less storage backend has been retired and removed from the codebase. LMDB has better concurrency characters and is generally much more stable than shdict for storing config data. Because it can be natively accessed from different processes, we also removed the hack that sends the full DB-less config to the stream subsystem, which should improve the stability of DB-less reload at runtime as well. New config options `lmdb_environment_path` and `lmdb_map_size` has been added. Co-authored-by: Suika <xumin.zhou@konghq.com>
- Loading branch information
1 parent
0ab534d
commit 5b7676c
Showing
21 changed files
with
357 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.