Closed Bobspadger closed 6 years ago
Yes for production you need some dump like that. I have something i used a bunch in the past, will include it.
Queries is i think a matter of taste. I came from SQL and rewrote most into panda queries. We can provide examples for both.
Pricemonitor is like a snapshot for prices which only represent the most recent data row?
Ok we are now using a sqlite database as default. Also you can change it to your client server database in under 1 min of setup.
Now we have to improve speed and be generally clever. Like i would use lots of databases with duplicated content to make views for different tasks.
I close it now. There is also a jupyter notebook explaining the usage.
For the future and especially for client server database we need to not make so many transactions. There we have to store the receipt_handle to later delete them one by one. That we can be sure we saved the data before we delete it.
Would it not be better to use some form of Database to store the resulting data in so it can be queried easily?
This would give a persistent datastore that can be used and manipulated by other code if required.
eg: Pricemonitor: New price change comes in, log in db. PriceReport: Find x from y where and plot
You would also be able to then distribute the work amongst not only multiple processes / modules, but also machines.