Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dbless) use LMDB as DB-less backend #8224

Merged
merged 5 commits into from
Mar 31, 2022
Merged

feat(dbless) use LMDB as DB-less backend #8224

merged 5 commits into from
Mar 31, 2022

Commits on Mar 31, 2022

  1. 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>
    dndx and StarlightIbuki committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    b31a296 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd5505f View commit details
    Browse the repository at this point in the history
  3. revert Jenkinsfile change

    dndx committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    0de8a97 View commit details
    Browse the repository at this point in the history
  4. remove unused variable

    dndx committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    335f9bc View commit details
    Browse the repository at this point in the history
  5. revert Makefile

    dndx committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    b54e578 View commit details
    Browse the repository at this point in the history