Real-time resource allocation for tracking systems