Get the latest tech news

Making Castro’s Feeds Update Faster the Lazy Way


Optimizing Castro's worker jobs to get your podcasts to you more quickly

I’m much more comfortable with statically typed languages with meaningful function names, but I worked on performance optimizations for a living at one time so I have some relevant experience. For the vast majority of software systems, open source or otherwise, nobody is monitoring what every line of code in production is doing, so just looking carefully at things with fresh eyes will usually yield something that can be improved. It seems like the issue is ActiveRecord is not always reusing the same connection within a thread and it doesn’t free them very quickly, so releasing it proactively makes a huge difference.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of feeds

feeds

Photo of Castro

Castro

Photo of lazy way

lazy way

Related news:

News photo

Reeder: A New Approach to Following Feeds

News photo

Glance: A self-hosted dashboard that puts all your feeds in one place

News photo

Podcast app Castro now owned by indie developer Bluck Apps