News for hackers. Stuff that matters.
Re:Run Ordinary Rails Apps Globally (2021) by mrkurt on Wednesday January 26, 2022 @05:38PM (#30093111)
Before we built Fly, I spent a huge amount of time trying to bend CDNs to my will. Fastly's surrogate keys are pretty good _if_ you define a good HTTP cache schema and if every request is worth caching.

My general takeaway was that HTTP is a terrible interface for "programming" things. Worse, the whole stack was difficult to test and inflexible to iterate on. And the apps I've found myself wanting to build lately rarely serve the same HTML twice.

You may find differently, but I strongly believe "just run your app and DB, no other layers" is the simplest possible way to do most full stack work.

Re:Run Ordinary Rails Apps Globally (2021) by sharps_xp on Friday January 28, 2022 @03:36PM (#30120006)
Your response got me to really look at fly...

i have to try it now. After reading the free postgres and last mile redis blog post, i realized something...

I can use probably the most under-used cache stores rails provides: the file_store, which is twice as fast as trying to read from a memcache/redis process. This was not even an option on heroku b/c of the ephemeral file system.