You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by Woonsan Ko <wo...@apache.org> on 2022/05/20 01:04:55 UTC

Other persistence service impl other than ElasticSearch?

Hi,

I'm learning Unomi.
Are there any efforts trying to provide different persistence service
implementations against other backends such as MongoDB?
I might perhaps want to try to implement and contribute a new one for
MongoDB if possible.
Do you have any hints or catches, would you mind sharing your insights?

Thanks in advance!

Woonsan

Re: Other persistence service impl other than ElasticSearch?

Posted by Woonsan Ko <wo...@apache.org>.
Hi Serge,

On Fri, May 20, 2022 at 10:24 PM Serge Huber <sh...@jahia.com.invalid> wrote:
>
> Hi Woonsan,
>
> There are no on-going effort to do this no.
>
> If you would like to study this, I would recommend using a system that
> stores both in ES and MongoDB, because of lot of code relies on ES queries
> to perform its functions, and implementing equivalent queries for MongoDB
> might be tricky.

Thank you so much for sharing your insights!

>
> My thinking was we could have like a CompositePersistenceImpl that would
> delegate both to the ElasticSearchPersistenceServiceImpl and another one,
> and integrate MongoDB just for the data storage.

I see. We might want to have persistence service abstractions; one for
data and the other for search index, and possibly use a composite
pattern.
I will try to study this following your thinking.

Cheers,

Woonsan

>
> Regards,
>   Serge...
> Serge Huber
> CTO & Co-Founder
> T +41 22 361 3424
> 9 route des Jeunes | 1227 Acacias | Switzerland
> jahia.com <http://www.jahia.com/>
> SKYPE | LINKEDIN <https://www.linkedin.com/in/sergehuber> | TWITTER
> <https://twitter.com/sergehuber> | VCARD
> <http://www.jahia.com/vcard/HuberSerge.vcf>
>
>
> > JOIN OUR COMMUNITY <http://www.jahia.com/> to evaluate, get trained and
> to discover why Jahia is a leading User Experience Platform (UXP) for
> Digital Transformation.
>
>
> On Fri, May 20, 2022 at 3:05 AM Woonsan Ko <wo...@apache.org> wrote:
>
> > Hi,
> >
> > I'm learning Unomi.
> > Are there any efforts trying to provide different persistence service
> > implementations against other backends such as MongoDB?
> > I might perhaps want to try to implement and contribute a new one for
> > MongoDB if possible.
> > Do you have any hints or catches, would you mind sharing your insights?
> >
> > Thanks in advance!
> >
> > Woonsan
> >

Re: Other persistence service impl other than ElasticSearch?

Posted by Serge Huber <sh...@jahia.com.INVALID>.
Hi Woonsan,

There are no on-going effort to do this no.

If you would like to study this, I would recommend using a system that
stores both in ES and MongoDB, because of lot of code relies on ES queries
to perform its functions, and implementing equivalent queries for MongoDB
might be tricky.

My thinking was we could have like a CompositePersistenceImpl that would
delegate both to the ElasticSearchPersistenceServiceImpl and another one,
and integrate MongoDB just for the data storage.

Regards,
  Serge...
Serge Huber
CTO & Co-Founder
T +41 22 361 3424
9 route des Jeunes | 1227 Acacias | Switzerland
jahia.com <http://www.jahia.com/>
SKYPE | LINKEDIN <https://www.linkedin.com/in/sergehuber> | TWITTER
<https://twitter.com/sergehuber> | VCARD
<http://www.jahia.com/vcard/HuberSerge.vcf>


> JOIN OUR COMMUNITY <http://www.jahia.com/> to evaluate, get trained and
to discover why Jahia is a leading User Experience Platform (UXP) for
Digital Transformation.


On Fri, May 20, 2022 at 3:05 AM Woonsan Ko <wo...@apache.org> wrote:

> Hi,
>
> I'm learning Unomi.
> Are there any efforts trying to provide different persistence service
> implementations against other backends such as MongoDB?
> I might perhaps want to try to implement and contribute a new one for
> MongoDB if possible.
> Do you have any hints or catches, would you mind sharing your insights?
>
> Thanks in advance!
>
> Woonsan
>