
22: Running migrations in production with Patryk Bąk
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 [email protected]
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 - [email protected]
- Mark Ericksen - @brainlid
- David Bernheisel - @bernheisel
- Cade Ward - @cadebward
Get every episode summarized
Each time Thinking Elixir Podcast publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Thinking Elixir Podcast

299: Don't Paste That Into Your Terminal
Thinking Elixir Podcast

298: Hex Gets a Glow Up
Thinking Elixir Podcast

297: JavaScript Joins the BEAM?
Thinking Elixir Podcast

296: OpenAI Chose Elixir and A VM Inside a VMV
Thinking Elixir Podcast