Home / Companies / PlanetScale / Blog / February 2026

February 2026 Summaries

3 posts from PlanetScale

Filter
Month: Year:
Post Summaries Back to Blog
In an innovative experiment, SpacetimeDB demonstrated a video call using a database as a real-time message broker, capturing and encoding browser media into frames, sending them through PostgreSQL, and playing them back on another browser. The implementation, open-sourced on GitHub, was replicated using a SvelteKit frontend, a Node.js WebSocket server, and a $5 PlanetScale PostgreSQL database. This method utilizes logical replication to reliably stream video and audio data by inserting frames into tables and forwarding them through WebSocket, maintaining a 15fps video stream. The setup includes a cleanup job to manage frame storage, ensuring only recent frames are retained. While alternative methods like LISTEN/NOTIFY and unlogged tables were considered, they were dismissed due to limitations and complexities. The experiment exceeded expectations, demonstrating PostgreSQL's capacity to handle real-time video and audio streams, although it is recommended to use WebRTC for practical applications. The project serves as a fascinating exploration of PostgreSQL's capabilities as a real-time backend.
Feb 27, 2026 1,312 words in the original blog post.
Cloudflare's Hyperdrive, a new service designed to optimize MySQL and Postgres database connections, facilitates efficient pooling and rapid queries, enhancing application performance especially when integrated with PlanetScale Postgres Metal. This blog post explores the construction of a real-time application using these technologies, highlighting the benefits of Cloudflare's global network and the use of WebSockets and Durable Objects for real-time updates. The author outlines the challenges and solutions in building a prediction market application, emphasizing the significance of connection pooling, fast data reads, and writes for real-time functionality. The setup demonstrates the advantages of Hyperdrive over direct database connections, offering automated pooling and caching without extensive manual configuration. Additionally, the post discusses the infrastructure's ability to handle high loads through simulations and the importance of monitoring database performance using PlanetScale's tools. It also touches on various best practices and potential improvements for building robust real-time applications, such as sharding Durable Objects and optimizing database queries, while noting the trade-offs inherent in achieving optimal performance and scalability.
Feb 19, 2026 2,537 words in the original blog post.
PlanetScale offers comprehensive migration services for those looking to transition to their fully managed Postgres or Vitess databases, with a focus on minimizing the complexity and downtime typically associated with such processes. Their migration specialists handle every aspect of the transition, from initial assessment and strategy development to the final cutover, ensuring a smooth and secure shift from providers like AWS RDS, Supabase, or Neon. They provide various migration methods, such as simple dump and restore for smaller databases and advanced replication strategies like WAL streaming for larger or more complex migrations. Additionally, PlanetScale offers complimentary migration services for Y Combinator portfolio companies and select high-growth startups, with pricing tailored to the complexity of the workload, database size, and timeline. They also offer self-service options with detailed guides for those who prefer to manage the migration independently.
Feb 13, 2026 382 words in the original blog post.