Consider a scenario in which two applications have to share data among them. I can think of three ways-
- Shared memory ( Boost I am allowed to use )
- D-Bus ( glib / Qt implementation allowed )
- File operations on a common file between the two application.
Q1. Which should be my approach considering data to be shared is going to be very large ( some 10K song names for example ).
Q2. Will doing file operation affect speed, compared to the others, as Hard disk would be involved ?
Q3. Is there any other approach available with better speed?
Language of implementation - C++