Articles

Practical notes on backend architecture, AI engineering, Ruby, Spring Boot, deployment, and the small decisions that make software easier to run.

ruby / algorithms / scheduling

Scheduling time slots with capacity limits in Ruby

In scheduling systems, it’s common to manage time slots that have both capacity limits (how many events can fit into a single slot) and exclusions (times that are already reserved or unavailable).