The hosts discuss their recent trip to Chicago and the idea of what happens in Chicago stays in Chicago. They talk about versioning their infrastructure and running multiple apps. They explore enhancing ChangeLog++ and solving security concerns in open source dependencies. They discuss managing projects with Socket and Neon, as well as the challenges with Fastly CDN and the possibility of building their own CDN. They explore building a CDN with Cloudflare and Fastly, and the frustrations with existing CDNs. The hosts debate the pros and cons of building a CDN and discuss technical challenges with Elixir configuration and SSL. They discuss the impact of a cookie on response times and mention upcoming episodes and a farewell message.
Read more
AI Summary
AI Chapters
Episode notes
auto_awesome
Podcast summary created with Snipd AI
Quick takeaways
Migrating to Neon.tech improved query optimization, reducing the number of selects and mitigating latency impact.
Exploring the use of read replicas in Neon.tech to improve performance and app presence globally.
Considering building an in-house CDN using Nginx instances or an embedded partnership with Cloudflare.
Positive experience with Fly.io for infrastructure needs, potential partnership, and curiosity about future developments.
Deep dives
Latency Increase and Query Optimization
After migrating Postgres to neon.tech, there was an increase in latency due to the remote nature of the connection. However, queries were optimized, reducing the number of selects from 70 to 15, mitigating the impact of the latency increase.
Read Replicas and Distribution
Considering the use of read replicas in neon.tech to improve performance, reducing network latency and distributing app presence globally. This would require further exploration and coordination with neon.tech.
Fast.ly Challenges and Potential Alternatives
Encountering ongoing challenges with Fastly CDN, including a significant increase in cash misses and lack of support. Exploring the possibility of building an in-house CDN using Nginx instances globally or considering an embedded partnership with Cloudflare.
Fly.io's Reliability and Benefits
Highlighting the reliability and benefits of Fly.io in terms of infrastructure and support. Leveraging their services for scalable app deployment and the positive experience with their technology.
Using one password to securely manage secrets
The podcast episode discusses the implementation of using one password to securely manage secrets in their application. They explain how they have a single secret that grants access to all the necessary secrets, which are stored in a dedicated vault in one password's cloud. During boot, the application uses the one password CLI to retrieve the secrets directly from the vault, ensuring that the secrets never leave one password and are only loaded into the application's memory at boot time. This eliminates the need to configure secrets in fly.io and streamlines the process of updating secrets by simply updating them in one password and restarting the application. The hosts also mention their desire to pursue a stronger partnership with one password and potentially have them sponsor the podcast.
Exploring the idea of building their own CDN
The hosts discuss the possibility of building their own content delivery network (CDN) and the implications and responsibilities that come with it. They weigh the pros and cons of building their own CD and the burden it would place on their small team, from maintenance and uptime to costs and managing a CDN as part of their infrastructure stack. They consider the option of partnering with existing infrastructure providers like Cloudflare or exploring other open-source CDN alternatives. The hosts express their enthusiasm for tinkering with the idea of building their own CDN and the potential for sharing their blueprint and promoting it as an open-source project.
Examining the use of Fly.io and Neon for infrastructure
The hosts delve into their experience with using Fly.io and Neon for their infrastructure needs. They mention the positive aspects of using Fly.io, such as its sponsorships, reliable performance, and potential for a partnership with the company to showcase their ideas. They also discuss how Superbase has partnered with Fly.io to offer fully managed Postgres databases on their infrastructure. The hosts express curiosity about potential future developments, including the possibility of Fly.io offering a CDN service and Neon being available on Fly.io. They highlight the abundant choices available to developers and their desire to tinker and experiment with different options to find the best fit for their needs.
It’s our 13th Kaizen episode! We’re back from KubeCon, we’re making goals for the year, we’re migrating to Neon & we’re weighing the pros/cons of building our own custom CDN.
Neon – The fully managed serverless Postgres with a generous free tier. We separate storage and compute to offer autoscaling, branching, and bottomless storage.
Fly.io – The home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.