-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add PDO storage adapter. #157
Conversation
8979034
to
c6a53bd
Compare
Hey @slashrsm, this looks amazing! Could you maybe make the CI Pass and add the new adapter to the Readme? |
Thank you for your feedback @LKaemmerling! I think that I fixed everything that originated in this PR. The remaining failures seem to be unrelated. Do you want me to set up MySQL based tests in GH actions as well? |
Yes it would be good to have the tests for MySQL as well - maybe also we should support Postgres? (Shouldn't be a big effort) |
@LKaemmerling I updated GH actions to run both SQLite and MySQL tests. It appears that you need to approve the changed job. |
Signed-off-by: Janez Urevc <janez@tag1.com>
Signed-off-by: Janez Urevc <janez@tag1.com>
Signed-off-by: Janez Urevc <janez@tag1.com>
Signed-off-by: Janez Urevc <janez@tag1.com>
Signed-off-by: Janez Urevc <janez@tag1.com>
Signed-off-by: Janez Urevc <janez@tag1.com>
Signed-off-by: Janez Urevc <janez@tag1.com>
Signed-off-by: Janez Urevc <janez@tag1.com>
Signed-off-by: Janez Urevc <janez@tag1.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great job! Thank you!
Awesome! Thank you! |
We have a use case where we need to use a database as a storage backend - yes, we are aware that this won't be as performant as Redis or APC. Unfortunately we are not able to use either of those. And we are expecting a limited number of metrics.
The provided adapter passes the standard test suite with both SQLite and MySQL. The latter obviously won't run on GH actions, but I am happy to add that configuration if the maintainers will show preparedness to merge this.