Distributed Lock Plugin
Dependency:
compile "org.grails.plugins:distributed-lock:0.2.2"
Summary
This plugin provides a framework and interface for a synchronization mechanism distributed to multiple server instances. In today's world of horizontal computational
scale and massive concurrency, it becomes increasingly difficult to synchronize operations outside the context of a single computational space (server/process). This plugin aims to make that
easier by providing a simple service to facilitate this, as well as defining an interface for adding low level providers.
Installation
grails install-plugin distributed-lock
Description
This plugin provides a framework and interface for a synchronization mechanism that can be distributed outside the context of the app container it runs in. In today's world of horizontal computational scale and massive concurrency, it becomes increasingly difficult to synchronize operations outside the context of a single computational space (server/process/container). This plugin aims to make that easier by providing a simple service to facilitate this, as well as defining an interface for adding low level providers.In the current release, only a provider for redis currently exists, which depends on the grails-redis plugin. Any other providers are welcome contributions.Usage Documentation: https://github.com/bertramdev/distributed-lock