Three Ruby Links #2
If I were to recommend three articles published last week to read, here is what I would recommend:
1️⃣ Data Modeling Entitlements and Pricing for SaaS Applications by Garrett Dimon
Garrett explains how the pricing structure chosen will affect the code. He then shares how Flipper is changing its pricing from per-seat to a simpler structure while explaining, with code samples, how to make the code easier to change and simpler. Read the full article
2️⃣ Under the Hood: Enhancing Karafka’s CPU and Memory Efficiency byMaciej Mensfeld
Maciej shares his journey in making performance improvements for memory and CPU at Karakfa. The article contains code samples about shaving memory allocations, reducing monitoring events and optimising time measurements. Read the full article
3️⃣ AI-ification of our TestProf toolkit! by Vladimir Dementyev and Vitalii Yulieff
Evil Martians are presenting here how they used AI to make improvements using TestProf to some RSPec tests. This down-to-earth article shows a concrete refactoring case with a specific prompt and compares various LLMs for the same task. This is a good starting point if you want to use LLMs but want to go beyond the hype to more daily use cases. Read the full article
You can find a lot more articles to read in the full edition of Short Ruby Newsletter at https://newsletter.shortruby.com/p/edition-104
Check out the schedule for https://friendlyrb.com — a conference I co-organize in September this year in Bucharest, Romania. We will have exciting talks and a relaxing atmosphere to meet new Ruby developers.