Update rates every 1000 messages or at the ram duration timeout, whichever comes first.