rosemarybeetle / tweetenstein

tweet-based physical interactive thing
0 stars 0 forks source link

How to create a rolling temporary database or structured flat file #2

Closed rosemarybeetle closed 10 years ago

rosemarybeetle commented 10 years ago

tweetstore2.json is a JSON file that is currently being recreated each cycle. it is a compliant JSON object, which has an intro, lots of repeating records, then a closer.

It is not a stack, but needs to be for efficiency

this is created by def: searchTweets BUT this is probably only needed on startup. after that a top up stacking pile would be more efficient. This could be done by using 'retrieveTweetIdJS()'

rosemarybeetle commented 10 years ago

This is happening in function search tweets that is creating and recreating tweetstore.js.

Not pretty, but it works