Balancing Just-in-Time with Just-in-Case