Contact Syncing

Hi

I am working on a messaging application. the clients register on the ejabberd server using there mobile numbers and then they read the phonebook and perform contact syncing with the ejabberd server as done by various other messaging applications.

I am searching for the users one by one based on the username and this is causing the process to take 10+ minutes with 250 contacts. Is there any way by which i can perform the syncing faster or any inbuilt ejabberd module which can help us out?

Regards,
Kunal

IMHO, your design is

IMHO, your design is incorrect. You should do the "sync" outside ejabberd by having ejabberd use your main backend as its source for his contact list retrieval. You should write a custom ejabberd roster module using ejabberd development API.

Syndicate content