
Samuel Rossille
Chief Technology Officer
Articles by Samuel
8 articlesPlease Slow Down
API rate limits, explained for junior developers and non-dev builders

Integrating a third-party API is the kind of thing that is easy to get working, but hides a lot of subtleties in the corners. Rate limiting is one of them. Almost everyone learns it the hard way, and in the same order: first you don't know rate limits exist, then you add a retry, then you discover why that retry was a bad idea, and so on, one lesson at a time, each fix revealing the next problem.
Code Review
How AI and humans share the work at Orus

Everybody who writes software with AI agents sees the same thing: code review became the bottleneck. Writing code got cheap. Reading it did not.
AI Agents in Prod
How to build agents that actually work

At Orus, we built an AI agent to handle the termination of a customer's previous insurance contract after they subscribe to a new one. The process covers roughly 500 cases a month. Internal estimates put the previous handling time at 15 to 20 minutes of human work per case.
Reacting to Events
The infrastructure behind side effects in our event-sourced system

In our previous article, we introduced how event sourcing works at Orus. Instead of mutating rows in a database, we append immutable events to an event store. We then derive the current state of any entity (a contract, an invoice, a user, or whatever...) by replaying those events through a reducer.
Event Sourcing
Why and how we built Orus on it

Event sourcing is rarely used as the foundation of the whole system, but at Orus, we had the chance to start from scratch, and think things through before writing the first line of code.
Hiring the Right People
The guidelines I follow as CTO at Orus

At Orus, we pay a lot of attention to recruiting the right people, and it's been my main priority since the beginning.
Actionable Alerts
How to send alerts the person on duty can act on

If you've ever been on duty at a company with a lot of customers and 24/7 activity, chances are that you already found out the hard way what makes an alert actionable.
Future-Proof Unions
Two TypeScript patterns that keep union handling robust

Unions and discriminated unions are great tools that can make the code flexible, while keeping the complexity to a low level. But tiny differences in the style of the code that uses them can make the difference between robust code, and bugs waiting to happen.