mongodb-erlang icon indicating copy to clipboard operation
mongodb-erlang copied to clipboard

Can this driver used with ejabberd

Open byteshiva opened this issue 4 years ago • 9 comments

Can this driver used with ejabberd as it's wriiten in Erlang

And also how about clustering support for mongodb

byteshiva avatar Mar 11 '20 15:03 byteshiva

I haven't tried it myself. But what is preventing the driver to be used there?

comtihon avatar Mar 11 '20 15:03 comtihon

I haven't tried it myself. But what is preventing the driver to be used there?

Let me test it on ejabberd and get back with the findings , error or logs etc.

byteshiva avatar Mar 11 '20 16:03 byteshiva

From below issue, some expressed compilation error with mongodb-erlang when compiled along with ejabberd

"Use MongoDB with eJabberd · Issue #2119 · processone/ejabberd" https://github.com/processone/ejabberd/issues/2119

byteshiva avatar Mar 12 '20 05:03 byteshiva

Can you please check if eJabberd is using poolboy? because my driver is using it's fork and it can be a problem.

comtihon avatar Mar 12 '20 10:03 comtihon

As per the below Ejabberd post, it's not using poolboy,

Ref https://github.com/processone/ejabberd/issues/3185#issuecomment-598848806

byteshiva avatar Mar 13 '20 18:03 byteshiva

ok. Can you then post the error you are getting by trying to use ejabberd and my driver together?

comtihon avatar Mar 16 '20 10:03 comtihon

I'm planning to add the mongodb-erlang rebar settings to ejabberd rebar-config and compile it. In latest ejabberd I see some other issues coming up, Once I fix the issue, I'll add mongodb-erlang and compile it.

I've one question for, have you used ejabberd hooks and events in your library.

byteshiva avatar Mar 19 '20 17:03 byteshiva

@byteshiva: Have you progressed on MongoDB + ejabberd?

Neustradamus avatar Jan 09 '21 07:01 Neustradamus

@byteshiva: Have you progressed on MongoDB + ejabberd?

sorry, i didn't get much progress on this topic

byteshiva avatar Jan 16 '21 15:01 byteshiva