The title of this question doesn't explain clearly what I'm looking for, but my question below does. So please read and if possible give me a better solution.
What I'm Developing: I'm developing an IMS (Inquiry Management System) application using Codeignitor.
What exactly IMS does: It collects user submitted data from different website and displays it on the IMS personalized account system.
Where I'm stuck: There are so many method to collect data from an other server, it can be a direct post method to the IMS server or the IMS reads json/xml based data from the source server to fetch data etc. But my question here is how can i get 100% data from the source without loosing any user submits?
100% what i mean is...
Like: If I'm using a direct post method to collect data from source server:-
*What if the IMS server is down when the user submitting the data from source server?
Like: If I'm using json or XML method to fetch data from the source server:-
*I might have to create db on each server for this to work, so an API based solution will be a complete flop.
I hope my question is clear.
Please let me know what is the alternative and best solution for the above mentioned scenario.
Regards Fahid