The AmazonDynamoDBLockClient is a general purpose distributed locking library built on top of DynamoDB. It supports both coarse-grained and fine-grained locking.
I would like to use this library in a SpringBoot service.
Is it a good idea to use the client as a singleton?
I mean, I'll instantiate the client in order to have only one background thread (HeartbeatBackgroundThread) that will check locks.
Is this a good way?
Hi guys,
I would like to use this library in a SpringBoot service. Is it a good idea to use the client as a singleton? I mean, I'll instantiate the client in order to have only one background thread (HeartbeatBackgroundThread) that will check locks. Is this a good way?