Is there any data structure in redis or an NPM package which will hold all incoming data let say for X minutes or until Y item count is reached; post which it should push it