I am looking to implement a time based queue with a fixed length where the old items pop off the back.
For instance I have a list of comments constrained to 10 items, the 11th item comes in and the oldest on falls off the back.
If not supported in Mongoose, can someone tell me some trickery I can use? (pre / etc)
Many Thanks