Closed vasanthv closed 4 years ago
If you want to be careful, you could first just add the lastAccessedDate
field. Then wait a while to see what are the usage patterns. If, for example, many records are written and then never accessed again, it would be an easy decision to delete those after 3 months
If you want to be careful, you could first just add the
lastAccessedDate
field. Then wait a while to see what are the usage patterns. If, for example, many records are written and then never accessed again, it would be an easy decision to delete those after 3 months
Yes I perfectly agree and thats the way I want to proceed.
@bvenkysubbu thanks for your reply.
Can it be increased to 3 months? 1 month is a little short
The current number of records in Jsonbox is
218058
and its keep growing. I know this day will come that we might need to cut down the records. So I have plan for that and I need suggestions from people to find the best possible way to cut down the number of records, so that people can keep use it for free.My suggestion: Introduce
lastAccessedDate
for boxes (could be GET, POST or PUT). So when this date is more than 6 months (could be 3 months also) we delete them.