Build real-time applications on any backend with Replicache and Fly, run Cron on Fly, two LiveWire how-tos, and learn how Fly reluctantly built its Postgres database service.
Ok, it’s been longer than a week since the last update because a lot of us at Fly were enjoying some time with 🦃, 🥧, and 👨👩👧👦. Let’s get to it!
Real-Time Collaboration With Replicache and Fly-Replay
Dov Alperin wires up Replicache to WebSockets to show how any framework and Fly can be used to build realtime web applications. Check it out if you aspire to build the next Figma.
Read Real-Time Collaboration With Replicache and Fly-Replay
The Laravel team at Fly continues to crank out some pretty great tutorials.
Streaming to the Browser With LiveWire
Use WebSockets to stream content from the server to a persons web browser. Chris Fidao walks through an example that shows how a log file could be streamed from a server to anybody watching it from a browser.
Read Streaming to the Browser with LiveWire
Offloading Data Baggage with LiveWire
When paginating large datasets between the server and browser, you don’t want to load so much data that the users browser slows down and becomes unresponsive. Kathryn Anne Tan shows how this data can be unloaded so that the people using your website don’t have to deal with all your baggage.
Read Offloading Data Baggage with LiveWire
Supercronic on Fly
In September, Fly Machines got a way to run tasks periodically either “monthly”, “weekly”, “daily”, and “hourly; however, there is no way to control the precise time those jobs run because it’s a hard problem to solve at scale.
Now there’s a guide for those who need more precise control over cron that runs on both versions of the Fly Apps platform. Brad Gessler runs through how to wire up Superchronic in your Fly Dockerfiles and deploy cron to production.
Read Supercronic on Fly
Postgres on Fly
Did you know that Fly actually wants you to use off-platform database services, like RDS, CrunchyData, or PlanetScale? Well then how the heck did we end up building Fly Postgres!? Chris Nicoll and Shaun Davis walk down memory lane and chronicle how it all happened.
Read How We Built Fly Postgres
P.S. If you’re CrunchyData, PlanetScale, or a cloud infrastructure provider you should run your infrastructure on Fly.
If you’re in the northern hemisphere, stay warm! See you on the next edition of The Logbook.