#701 — May 2, 2024 |
|
Ruby Weekly |
Fixing a Footgun in Andrew Novoselac |
Explaining Thruster, 37signals' HTTP/2 Proxy to Speed Up Your App — Available as a gem, though written in Go, Thruster is an HTTP/2 proxy server that addresses some of Puma’s shortfalls around serving assets. Thruster is one of many options, which Bruno explains in this good-enough-to-have-been-a-blog-post discussion. Breno Gazzola |
Memetria: Secure, Scalable Redis Hosting — High performance Redis hosting with large key tracking, detailed metrics, and a superior uptime record. Memetria sponsor |
Ruby Might Be Faster Than You Think — The “Ruby is Slow” mantra is so often chanted that many probably accept it without thought, but here’s a case where some minor tweaks result in Ruby being 5X faster than the compared language. (Say it with me “Ruby is fast enough.”) John Hawthorn |
JRuby 9.4.7.0 Released — The long standing, reliable, and performant JVM-based Ruby implementation takes another gentle step forward with dependency updates and several fixed edge cases. The JRuby Team |
|
📄 Articles, Tutorials & Videos |
Choosing the Right Audit Trail Approach in Ruby — A look across the vast landscape of tools and libraries for keeping tabs on data changes, user activity, console use, and more. Evgeny Li |
Backup Strategies for SQLite in Production — Not Ruby specific, but a fantastic primer to a topic that may begin to affect more Rubyists as the idea of running Rails apps on SQLite in production continues to take off. Mohammad A. Ali |
Free eBook: Advanced Database Programming with Rails and Postgres — Learn about subqueries, materialized views, and custom data types in Postgres & Rails and follow along with our examples. pganalyze sponsor |
Adding Your Ruby Gems to AWS CodeArtifact — Amazon Web Services is showing more love to Ruby by enabling the use of CodeArtfact as a private gem server. You can also set it up to pull gems from upstream sources (like rubygems․org) automatically so you can have your custom and public gems all on one server. Sébastien Stormacq (Amazon) |
Rails, Assets, ActiveStorage and a CloudFront CDN — How to configure your Ruby on Rails app to use Amazon CloudFront for assets as well as ActiveStorage / ActionText. Olly Headey |
📄 AnyCable for Rails: How Does it Improve over Action Cable? Abiodun Olowode 📄 Installing Older Ruby Versions on Ubuntu 24.04 and 22.04 Dean Perry 📄 📄 Using Local Font Files in the Rails 7.1 Asset Pipeline Paul Sadauskas 📄 Rails to Enhance Its Log Output with an SQL Query Count Apoorv Tiwari 📄 Refactoring for Readability in Ruby: A Showcase Dmitrii Krasnov |
🛠 Code & Tools |
XRB: Think ERB But Even More HTML-y — XRB is a simple template engine for Ruby that boasts being 10-20x faster than ERB (not to be confused with Erubi/Erubis, though) with a simpler syntax that’s closer to plain HTML (and which also supports Ruby style Samuel Williams et al. |
rbspy 0.20.0: A Sampling Profiler for Ruby — Provides a way to profile a Ruby app even without having to restart it. v0.20.0 extends support to the latest Ruby versions, including 3.3.1. Evans, Jensen, et al. |
Don't Risk Out of Date Ruby & Rails Versions — Get a free security assessment and discuss how our incremental upgrade service — CodeCare Shield — can improve the speed, security and stability of your app. reinteractive/CodeCare® Shield sponsor |
Karafka 2.4: Advanced Kafka Processing for Ruby and Rails — A significant release for a powerful multi-threaded processing framework to use with the Apache Kafka event streaming system. GitHub repo. Maciej Mensfeld |
💡 If you want to learn more about where you might use Kafka and Karafka, Brad Urani's talk ▶️ Event Streaming Patterns for Ruby Services and Guillermo Aguirre's ▶️ Applying Microservices Patterns to a Modular Monolith may provide inspiration. |
Measured 3.0: Encapsulate Measurements and Their Units — A library from Shopify for storing, manipulating and converting weights, lengths, and volumes in different units. v3.0 adds Rails integration without needing a separate gem. Shopify |
Rackula 1.4: Generate Static Sites from any Rack Middleware — For turning a Rack-powered webapp into a static copy. Samuel Williams |
⚙️ SidekiqJobController – Finer grained, immediate control over job processing. Circle |
|