Skip to content
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

Are you open for a Postgresql client? #110

Open
mariochavez opened this issue May 22, 2024 · 3 comments
Open

Are you open for a Postgresql client? #110

mariochavez opened this issue May 22, 2024 · 3 comments

Comments

@mariochavez
Copy link

I have created a new Postgresql Gush::Client. It is API-compatible with the Redis client.

I have monkey-patched the client since Gush doesn't allow client replacement in our app.

We are still testing this patch, and so far, it looks good.

This addition will require changing Gush to allow Client swapping by configuration.

@pokonski
Copy link
Contributor

pokonski commented May 22, 2024

I have considered using SQL databases as storage instead of Redis. Would it work only for Postgres or would it be generic enough to support everything ActiveRecord does?

@mariochavez
Copy link
Author

I don't use any Postgresql-specific features, MySQL, or SQLite3 support to store JSON documents, so it should work on ActiveRecord.

Let me extract and clean up my code, and I can start with a PR for code Review and Discussion.

@incorvia
Copy link

@mariochavez curious how that's working out? I'd be interesting in trying that out as well

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

No branches or pull requests

3 participants