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

Using Postgresql or Mysql with Ponzu #213

Closed
koreset opened this issue Dec 29, 2017 · 5 comments
Closed

Using Postgresql or Mysql with Ponzu #213

koreset opened this issue Dec 29, 2017 · 5 comments

Comments

@koreset
Copy link

koreset commented Dec 29, 2017

Hey there,
Stumbled upon Ponzu via CMS searches and I am impressed with the great work. One question though... How do I swop out the embedded DB with a db of my own (Postgresql or Mysql)?
Is there any extensive configuration or rework that I need to do to make this happen?
Would the system/db package be a good place to start?

@nilslice
Copy link
Contributor

Hi @koreset -

Thank you for the kind words - I'm glad you found Ponzu and I hope it is useful to you!

We have had a bit of discussion on other issue threads about support for other databases, but there hasn't yet been any concrete work to start support. Currently, only the embedded BoltDB is supported, but as you mention, the system/db pkg is where you'd want to begin looking.

Also, there is currently no built in way to provide configuration options at runtime to the system except through the admin config in the UI, which is probably not how you want to provide DB host/user/password details. Just something to keep in mind in case you do start investigating how SQL database support could work.

I'd be happy to work with you on this, so please keep me updated with your ideas or thoughts.

Thanks!

@silbinarywolf
Copy link

Adding this related thread for reference:
#202

@olliephillips
Copy link
Contributor

Closing this issue. No activity. Please reopen if need to.

@hubyhuby
Copy link

hubyhuby commented May 13, 2020

Hi @olliephillips ,
Thanks for this great work.
I am interested to know the status of this feature request.

With bolt, Ponzu is a good match for prototyping API.

Now if you want to get into production and scale, you need to scale the database.... and then get connected to things like mysql postgres or anything else ;)

Especially EVERY computer devs know SQL and can jump in your project with Mysql / postgres.
Using bolt is nice, but will retain Ponzu from beeing used by the many ...
Maintenance costs on real production apps will grow fast.

@olliephillips
Copy link
Contributor

Hey @hubyhuby I can't take much credit for Ponzu my contributions don't amount to much. @nilslice is the man.

Re this feature, nothing has moved here. There's a general hiatus on submissions pending go modules support and improvements to the CI/CD piece. I don't know where that work is up to.

I would expect however that the work to implement support for a new DB would need help from the community and those that need this support. There are no plans to add further DB providers that I am aware of.

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

5 participants