Here is my use-case.
- I have some data, which I am storing now in the xml files. The data that I am storing is not persistent i.e I would be deleting the user data once the user logs out.
- My server communicates with the client using the XML requests and responses. So initially we decided, since we are sending the XML as response, lets store it in XML so that conversion from database to XML format time is saved.
- The client will request for XML based on some filter conditions. So I will have to use XQUERY.
- A maximum of 100 entries will be there in an XML, atleast as of now.
Now I would like to hear some advice on whether I should use XML or MongoDB. My Concerns :
- How good is it to store temporary data in MongoDB and delete/take backup once done with session?
- Conversion from MongoDB json format to XML.
- Handling the changes in the schema design.
I can't use any other DB than MongoDB, as some persistent operations are still done on MongoDB.
Thanks in advance.