Episode 22
Running migrations in production with Patryk Bąk
November 17th, 2020
40 mins 10 secs
About this Episode
We talk with Patryk Bąk about running migrations in production. For production systems where downtime or service interruptions are a problem, we sometimes need to take special care when migrating data structures or the data itself. Patryk shares some valuable tips and techniques along with examples of when to use them. We chime in with war stories, our own tips, and mistakes we've made. A great resource when migrating data in your own systems. Check it out!
Show Notes online - http://podcast.thinkingelixir.com/22
Elixir Community News
- https://github.com/phoenixframework/phoenix_live_view/pull/1184 – LiveView uploads officially lands in master
- https://github.com/mcrumm/live_upload_example – LV upload example
- https://github.com/phoenixframework/phoenix_live_view/blob/master/guides/client/uploads-external.md – LV upload guide for client side
- https://github.com/phoenixframework/phoenix_live_view/blob/master/guides/server/uploads.md – LV upload guide for server side
- https://getoban.pro/ – Oban Pro v0.5.1 adds cancel support and a new Workflow module
- https://github.com/axelson/dep_viz – Jason Axelson launched DepViz
- https://dep-viz.herokuapp.com/ – DepViz online
- https://www.codebeambr.com/ – CodeBEAM Brazil happened - look for videos soon?
Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at show@thinkingelixir.com
Discussion Resources
- https://patrykbak.com/2020/06/15/why-should-not-you-use-elixir-code-in-database-migrations.html
- https://patrykbak.com/2020/05/28/how-to-migrate-live-production-data.html
- https://appunite.com – AppUnite
- https://dashbit.co/blog/automatic-and-manual-ecto-migrations
- https://www.postgresql.org/docs/9.2/sql-createview.html – PostgreSQL views
Guest Information
- https://twitter.com/patrykbak91 – on Twitter
- https://github.com/patrykbak91 – on Github
- https://patrykbak.com – Blog
Find us online
- Message the show - @ThinkingElixir
- Email the show - show@thinkingelixir.com
- Mark Ericksen - @brainlid
- David Bernheisel - @bernheisel
- Cade Ward - @cadebward