-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multiple subscriptions backends #3
Comments
Thinking about is, and I agree with this. At first I was thinking that including code to another DB will make the lambda heavier, but in facts we're using the same lambda that serves the application... So it wouldn't change anything ! Should not be that hard to make it an option with a config file. |
@Adesin-fr Just hoping it doesn't add too much complexity to the codebase (and to the usage of the package) - we also need to handle deployment, which probably means making So, for me personally this one wouldn't be top priority - DynamoDB is only used here as a piece of "infrastructure", I think I've never even looked at how it works or what's in it - "it just works" ... but, if you can do it in a clean and relatively simple way, then yes by all means, be my guest, definitely not against it :) Which databases would be a "compelling" alternative for DynamoDB, for this use case - @georgeboot @Adesin-fr ? |
IMHO it won't add so much complexity : We have to
Nothing to change to serverless.yml : if you add the DDB resource to it, so serverless will create it, if not, then it won't do anything. No added complexity here. The idea behind this is not to replace something that just works with something else because "we are dev, so why not", but to replace a service we have to pay for with another service we already paid for : on my use-cases, 100% of my projects already have a RDS Mysql that I pay even when not used, so not having to pay an extra (a few cents, ok ...) for DynamoDB is a win ;) But you are also right, this one is not a top priority, I prefer to fix bugs first ! |
@Adesin-fr Okay, yes that makes sense: "The idea behind this is not to replace something that just works with something else because "we are dev, so why not", but to replace a service we have to pay for with another service we already paid for" I think you have a point there ... let's keep this issue open then, and we (or you) can work on it when we have time! |
Currently, this package depends on DynamoDB for it's subscription storage.
We should consider allowing multiple storage backends, and probably supply both a Eloquent and DynamoDB out of the box, and let people decide which one to use.
The text was updated successfully, but these errors were encountered: