c++windowsregistryvirtualizationregistry-virtualization

XML as Virtual registry makes the application work slow


I am building an "Application Virtualization" product. I use XML file as a virtual registry. Virtual applications generated from my software accesses the virtual registry Xml. It runs , however runs very slow.

I load and unload the XML on every Registry API calls, because multiple process threaded from the parent access a same registry file. This may cause the application to run slow.

Can any one let me know the alternative for XML...


Solution

  • Its text to tree transformation time. I managed this in my code by Loadaing and Parsing the XML in all processes, only after a write has occured in any one of the process.