Our great sponsors
-
The source code is here. It not exactly battle-tested, production-grade finely-tuned stuff, but it does some interesting things and it works. The relevant bits are mostly under app/lib, app/channels, and app/reflexes. Feel free to plagiarise it ruthlessly.
-
The KeyDB setup I used was a customised version of this example helpfully provided by Fly.io, deployed in multiple regions alongside the app, with some modest storage volumes attached.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
Whilst the primary motivation for this mini-app was pure curiosity, it was also a nice chance to demonstrate some things that are currently possible with Rails. There was no Javascript written for this app, and the live bits use server-side-rendered HTML. With the advent of Rails 7 and Hotwire, and the availability of libraries like StimulusReflex and CableReady filling out the HTML-Over-The-Wire space, there's a world of new options for building reactive real-time apps without the need for creating a vast, sprawling SPA. Or to put it another way: the hottest new frontend framework is... the backend.
-
KeyDB is a fork of (everyone's favourite cache store) Redis, and it's messaging protocol and API is 100% compatible with Redis. What that means is you can just point any Redis client (like Hiredis or redis-rb) at a KeyDB instance, and it'll Just Work™️, with no changes required. The KeyDB selling points are: 1) multi-threading by default, and a lot of work was ploughed in to high performance around multi-threading in KeyDB, 2) compatible with all the features of regular Redis, 3) some advanced features which Redis only offers in it's paid/enterprise version are included for free in KeyDB, and the big one for me is multi-active replication, which is what I'm playing with here.
-
I've been playing with Fly.io for a while and trying to get my head around it's implications for the general Web Dev landscape. If you haven't heard of it yet, it's a platform that allows deploying apps to multiple datacenters around the world, with Anycast DNS to automatically route incoming requests to the closest datacenter. Pretty edgy. Essentially it provides devs with a set of superpowers that were previously only available to large tech companies.
-
CableReady is a powerful library for doing live DOM updates in Rails apps, and amongst many other things it enables pushing client-side DOM updates from the server-side. It's part of the StimulusReflex stack.