AnsweredAssumed Answered

About the DirectoryRosterStore with smark 4.0.2

Question asked by wmz7year on Aug 15, 2014
Latest reply on Aug 16, 2014 by wmz7year

     Hey, guys!

 

 

     I just looked at Smark 4.0.2 source code;

     About DirectoryRosterStore work is occupying an entire folder to store data;

     Each Roster data stored in a separate file.

     I think this will lead to frequent inefficiency IO operations (assuming I have a 1000 Roster);

 

 

     Why not become a separate file to store information?

     This is just my idea, we see how?

 

 

 

https://github.com/igniterealtime/Smack/blob/master/smack-core/src/main/java/org /jivesoftware/smack/DirectoryRosterStore.java

Outcomes