Skip to content

Conversation

@slashrsm
Copy link
Contributor

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.

@slashrsm slashrsm marked this pull request as draft July 23, 2024 13:24
@slashrsm slashrsm force-pushed the pdo branch 2 times, most recently from 8979034 to c6a53bd Compare July 24, 2024 11:15
@LKaemmerling
Copy link
Member

Hey @slashrsm,

this looks amazing! Could you maybe make the CI Pass and add the new adapter to the Readme?

@slashrsm
Copy link
Contributor Author

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?

@slashrsm slashrsm marked this pull request as ready for review July 29, 2024 07:41
@LKaemmerling
Copy link
Member

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)

@slashrsm
Copy link
Contributor Author

slashrsm commented Aug 2, 2024

@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>
@LKaemmerling LKaemmerling enabled auto-merge (squash) August 5, 2024 07:57
Copy link
Member

@LKaemmerling LKaemmerling left a 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!

@LKaemmerling LKaemmerling merged commit 35d5a68 into PromPHP:main Aug 5, 2024
@slashrsm
Copy link
Contributor Author

slashrsm commented Aug 5, 2024

Awesome! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants