ian76/ldlm

By ian76

Updated over 1 year ago

Light weight Distributed Lock Manager server implemented over gRPC

Image
Networking
API management
Data science
0

1.2K

ian76/ldlm repository overview

A Light weight Distributed Lock Manager implemented over gRPC. More information can be found at https://github.com/imoore76/ldlm. The following environment variables are available.

LDLM_LISTEN_ADDRESS - Host and port on which to listen.

LDLM_CONFIG_FILE - Path to configuration file

LDLM_DEFAULT_LOCK_TIMEOUT - The lock timeout applied to all locks loaded from the state file (if configured) at startup

LDLM_KEEPALIVE_INTERVAL - The frequency at which to send gRCP keepalive requests to connected clients.

LDLM_KEEPALIVE_TIMEOUT - The time to wait for a client to respond to the gRPC keepalive request before considering it dead. This will clear all locks held by the client unless LDLM_NO_CLEAR_ON_DISCONNECT is also set.

LDLM_LOCK_GC_INTERVAL - How often to perform garbage collection (deletion) of idle locks.

LDLM_LOCK_GC_MIN_IDLE - Minimum time a lock has to be idle (no unlocks or locks) before being considered for garbage collection. Only unlocked locks can be garbage collected.

LDLM_LOG_LEVEL - Log level of the server. debug, info, warn, or error

LDLM_IPC_SOCKET_FILE - Path to the IPC socket file used for communication with the ldlm-lock command. Set to an empty string to disable IPC.

LDLM_STATE_FILE - The file in which in which to store lock state each time a locking or unlocking operation is performed. If you want ldlm to maintain locks across restarts, point this at a persistent file.

LDLM_NO_CLEAR_ON_DISCONNECT - Disable the default behavior of clearing locks held by clients when a client disconnect is detected.

LDLM_CLIENT_CERT_VERIFY - Require and verify TLS certificates of clients

LDLM_CLIENT_CA - Path to a file containing client CA's certificate. Setting this automatic ally sets LDLM_CLIENT_CERT_VERIFY

LDLM_PASSWORD - Require clients to specify this password

LDLM_TLS_CERT - Path to TLS certificate file to enable TLS

LDLM_TLS_KEY - Path to TLS key file

Tag summary

Content type

Image

Digest

sha256:a334222ba

Size

34.1 MB

Last updated

over 1 year ago

docker pull ian76/ldlm