To have better performance we need to accumulate received objects and dump them only if one of the following conditions meet: - 5 minutes from the last dump - We have more than 1000 objects in the cache