-
Notifications
You must be signed in to change notification settings - Fork 48
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
How are you using Polo? #19
Comments
We gonna use to allow customers dump their data from our web application (www.runrun.it). |
@khani3s that is really cool! |
|
Polo is great, thanks! |
Staging and development
4.2.3
50MB
Postgres
15
Tiny bit because one model in particular, i.e. Project, can belong to 2 separate models. When I first used this, I picked a random sample of each table and specified the Project dependency in only one of them, and as a result ended up with quite a few orphaned records. I don't know what the best way is to sample correctly to ensure you're not omitting all the dependent records in your sample.
Not yet.
Rake task.
Just the rake task. I run it manually right now.
None of the above. I'm just connecting to the staging DB and running the SQL script. |
I've just open sourced a tool we've been using internally for a month or two largely built around Polo, called Brillo. It uses Polo to make prod db scrubs > uploading them to S3 > download them to dev machines > load db. It used to take us over an hour to load a "lightweight" copy of our DB with 4% of our biggest tables on a dev machine. Now with Polo we just take the last 1000 records from a few tables, and crawl their associations. Loads are down to < 10 minutes. Thank you for making an awesome gem, and getting me to contribute to open source myself for the first time ever :) |
|
I'm curious to know what cool stuff people are using Polo for.
No need to answer everything, but I would love to know how people are using the library so we know what to prioritize.
Thank you for using Polo <3
The text was updated successfully, but these errors were encountered: