I'm writing a simple piece of middleware that works between two APIs. I query one to get account usage data (RESTful) and submit to the second one (SOAP). It's very straightforward data:
unix_timestamp, account_name, value1, value2, ...
The problem is that the SOAP server is unreliable (i.e. there tend to be problems connecting and maintaining connections), but the data is very important. I'm looking for a simple way to store the data, so it can be replayed in case of error.
I know that I could just append to a log file, but I was hoping for something a little more resiliant, but without the complexity of a fully relational database. I only need to be able to query entries between a range of timestamps.
I'm looking for something open source that has good Python (2.6-2.7) bindings.
Thanks,
unix_timestamp, account_name, value1, value2, ...
The problem is that the SOAP server is unreliable (i.e. there tend to be problems connecting and maintaining connections), but the data is very important. I'm looking for a simple way to store the data, so it can be replayed in case of error.
I know that I could just append to a log file, but I was hoping for something a little more resiliant, but without the complexity of a fully relational database. I only need to be able to query entries between a range of timestamps.
I'm looking for something open source that has good Python (2.6-2.7) bindings.
Thanks,