Skip to content

Can Badger DB be used as a database server in a client/server web based model? #928

@iamtoc

Description

@iamtoc

From the badger docs: "Please note that Badger obtains a lock on the directories so multiple processes cannot open the same database at the same time."

Does this mean that only one client would be able to view/(CRUD) a web page that depends on badger, at a time? Or, is badger basically designed for stand alone/installable apps (ie., where sqlite is normally used)?

This guy seems to have made it work, but how is that even possible provided this stipulation?

My hope is that is can be used as a database server, where multiple users can read and write to the db at the same time, but am unclear as to that possibility based on the condition noted above.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions