mongodb - Storing python lists temporarily in a database for scheduled tasks? -


in web app, need store python lists, database. list contains query data , used run scheduled tasks, list items no way related.

two lists created @ different times may this

# list 1 list_one = ['item-1', 'item-2']  # list 2 list_two = ['item-1', 'item-3'] 

the given lists may contain number of elements (upto 750), (1 < x < 750), , number of lists atmost 1000.

combining lists before running scheduled task,

#combining , removing duplicates. list_final = ['item-1', 'item-2', 'item-3']  

the list data temporary, cleared once everyday after internal processing.

my current database postgresql 9.2.
since not relational data, should consider nosql databases?

what database ideal use? or should consider file system?
thanks.

the best solution nosql database replication , application server inside. using this, can script logic inside database. can think database real application server running scheduled tasks, unlike common appserver durability guarantee , consistency guarantee. don't care 1 of servers down, because in case of appserver inside database jobs completed anyway , data consistent , same after switch fallen master replica.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -