-
Notifications
You must be signed in to change notification settings - Fork 146
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
Question regarding single database configuration #507
Comments
Both approaches work, either using only the About the |
Thanks for your fast response! In my opinion just having the
Do you have an opinion regarding Solid Cache and Solid Cable regarding that? Or should I open similar issues on these GitHub projects? |
Yeah, I think having I think the same would apply to Solid Cache and Solid Cable, although I'm not familiar with Solid Cable internals. |
An old version of the solid_cache README mentions
The latest README doesn't mention running on a single database since rails/solid_cache#202 So I guess at least for solid_cache it's better to run with it's own connection pool. |
For a small app running on Heroku I want to use solid_queue (solid_cable and solid_cache as well) with just a single postgres database.
The guide here reccommends to
In other resources (https://briancasel.gitbook.io/cheatsheet/rails-1/setup-solid-queue-cable-cache-in-rails-8-to-share-a-single-database) it is recommended to configure 4 different databases to actually use the same database:
But this leads to very strange behavior, such as
rails db:migrate
creating three identical schemas:db/cable_schema.rb db/cache_schema.rb db/queue_schema.rb db/schema.rb
.So my questions is: When going with the instructions form this repository shouldn't I still have a
connects_to
call inproduction.rb
to ensure that solid_queue uses it's own connection pool? So replacingwith
The text was updated successfully, but these errors were encountered: