Skip to content

DynamoDB Lock Integration #1858

@natepage

Description

@natepage

Hi there! 👋

I've recently started to run symfony apps in serverless context using AWS Lambda, and more recently came across the need for distributed locks, and was thinking about DynamoDB as a store. After a quick googling session, I came across a Java client from AWS team but nothing in PHP.

I can see that this Java client and distributed locks were mentioned in the issue to introduce support for DynamoDb, and the Laravel Cache using DynamoDB integration mentions using consistent reads to fix "locking" in #1028.

That said, I have a very simple question, is there an existing integration out there to use DynamoDB as a lock store within a Symfony application?

If yes, then please can someone point me to it? Would save me quite a bit of time and effort 😄

If no, here could be the start of a wonderful adventure the following questions could help to shape:

  • Would you consider adding such integration here? In a similar fashion as the DynamoDB session handler?
  • Or would you rather prefer creating a store directly into Symfony Lock component which depends on async-aws DynamoDb client?
  • Or neither of those because you don't see enough value to introduce such functionality in the opensource world 😛

If you made here, then thank you for reading!

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