[infinispan-dev] mongodb cache store added in Infinispan 5.3 - curtesy of Guillaume Scheibel

Guillaume SCHEIBEL guillaume.scheibel at gmail.com
Mon Jun 3 14:57:47 EDT 2013


The first impression I had was right.
Because any MONGO_HOST environment variable is defined, the cache store
configuration uses the default value which is "localhost"; And because
there is any MongoDB running instance on the CI server we've got:



2013/6/3 Guillaume SCHEIBEL <guillaume.scheibel at gmail.com>

> I'm investigating, but quick question is there a MongoDB instance running
> somewhere on which the CI test runner send all the MongoDB queries (and so
> on) ?
>
> Guillaume
>
>
> 2013/6/3 Dan Berindei <dan.berindei at gmail.com>
>
>> There's a link 'Login as guest' at the bottom of the login form at
>> ci.infinispan.org, you can use that and you'll see all the builds. You
>> can also create a user for yourself.
>>
>>
>> On Mon, Jun 3, 2013 at 6:01 PM, Guillaume SCHEIBEL <
>> guillaume.scheibel at gmail.com> wrote:
>>
>>> I don't think I have access to the CI platform. If I do, with kind of
>>> credentials do I have to use ?
>>>
>>> Guillaume
>>>
>>>
>>> 2013/6/3 Galder Zamarreño <galder at redhat.com>
>>>
>>>> Btw, seems like since the introduction of this, 21 failures have gone
>>>> in coming from the MongoDBCacheStoreTest [1].
>>>>
>>>> Guillaume, can you please look into this?
>>>>
>>>> Cheers,
>>>>
>>>> [1]
>>>> http://ci.infinispan.org/viewLog.html?buildId=1650&tab=buildResultsDiv&buildTypeId=bt2
>>>>
>>>> On Jun 3, 2013, at 4:02 PM, Guillaume SCHEIBEL <
>>>> guillaume.scheibel at gmail.com> wrote:
>>>>
>>>> > Thanks guys, I'm glad you like it :)
>>>> > BTW, if you would like to have other implementation, ... (I like
>>>> doing this translation work)
>>>> >
>>>> > Guillaume
>>>> >
>>>> >
>>>> > 2013/6/3 Galder Zamarreño <galder at redhat.com>
>>>> > Indeed great stuff Guillaume!! :)
>>>> >
>>>> > On May 31, 2013, at 2:18 PM, Sanne Grinovero <sanne at infinispan.org>
>>>> wrote:
>>>> >
>>>> > > Looks great, thanks Guillaume!
>>>> > >
>>>> > > On 31 May 2013 10:27, Guillaume SCHEIBEL <
>>>> guillaume.scheibel at gmail.com> wrote:
>>>> > >> I have updated the main page but I haven't found how to delete the
>>>> child
>>>> > >> page.
>>>> > >> The blog post has been updated you can publish whenever you want
>>>> to.
>>>> > >>
>>>> > >> Guillaume
>>>> > >>
>>>> > >>
>>>> > >> 2013/5/30 Mircea Markus <mmarkus at redhat.com>
>>>> > >>>
>>>> > >>> Also better place the content in the parent document directly
>>>> instead of
>>>> > >>> making it a separate child document (see the rest of cache
>>>> stores):
>>>> > >>>
>>>> https://docs.jboss.org/author/display/ISPN/Cache+Loaders+and+Stores
>>>> > >>>
>>>> > >>> Thanks!
>>>> > >>>
>>>> > >>> On 30 May 2013, at 21:49, Mircea Markus <mmarkus at redhat.com>
>>>> wrote:
>>>> > >>>
>>>> > >>>> Thanks, looks good!
>>>> > >>>> I think it would be nice to add a code snippet with configuring
>>>> the
>>>> > >>>> store using the fluent API as well.
>>>> > >>>> And release the blog :-)
>>>> > >>>>
>>>> > >>>> On 30 May 2013, at 17:05, Guillaume SCHEIBEL
>>>> > >>>> <guillaume.scheibel at gmail.com> wrote:
>>>> > >>>>
>>>> > >>>>> Hello,
>>>> > >>>>>
>>>> > >>>>> I have wrote a small documentation page here:
>>>> > >>>>> https://docs.jboss.org/author/display/ISPN/MongoDB+CacheStore
>>>> > >>>>>
>>>> > >>>>> WDYT ?
>>>> > >>>>>
>>>> > >>>>> about the blog post a gist (script tag) is already there but
>>>> it's not
>>>> > >>>>> visible in the editor view.
>>>> > >>>>>
>>>> > >>>>>
>>>> > >>>>> Guillaume
>>>> > >>>>>
>>>> > >>>>>
>>>> > >>>>> 2013/5/27 Mircea Markus <mmarkus at redhat.com>
>>>> > >>>>>
>>>> > >>>>> On 22 May 2013, at 11:01, Guillaume SCHEIBEL
>>>> > >>>>> <guillaume.scheibel at gmail.com> wrote:
>>>> > >>>>>
>>>> > >>>>>> Mircea,
>>>> > >>>>>>
>>>> > >>>>>> I have just created a quick blog post titled "Using MongoDB as
>>>> a cache
>>>> > >>>>>> store". May you have a look at it ? If it suits you, the
>>>> documentation will
>>>> > >>>>>> follow soon.
>>>> > >>>>>
>>>> > >>>>> Thank you Guillaume. Looks good to me once the link to
>>>> documentation
>>>> > >>>>> and the sample configuration snippet is in.
>>>> > >>>>>
>>>> > >>>>>>
>>>> > >>>>>> Cheers
>>>> > >>>>>> Guillaume
>>>> > >>>>>>
>>>> > >>>>>>
>>>> > >>>>>> 2013/5/22 Randall Hauch <rhauch at redhat.com>
>>>> > >>>>>> There is a way to download (via Maven) and run MongoDB locally
>>>> from
>>>> > >>>>>> within Java, via Flapdoodle's Embedded MongoDB:
>>>> > >>>>>>
>>>> > >>>>>>     https://github.com/flapdoodle-oss/embedmongo.flapdoodle.de
>>>> > >>>>>>
>>>> > >>>>>> ModeShape uses this in our builds in support of our storage of
>>>> binary
>>>> > >>>>>> values inside MongoDB. The relevant Maven POM parts and JUnit
>>>> test case are:
>>>> > >>>>>>
>>>> > >>>>>>
>>>> > >>>>>>
>>>> https://github.com/ModeShape/modeshape/blob/master/modeshape-jcr/pom.xml#L147
>>>> > >>>>>>
>>>> > >>>>>>
>>>> https://github.com/ModeShape/modeshape/blob/master/modeshape-jcr/src/test/java/org/modeshape/jcr/value/binary/MongodbBinaryStoreTest.java
>>>> > >>>>>>
>>>> > >>>>>>
>>>> > >>>>>>
>>>> > >>>>>> On May 21, 2013, at 1:04 PM, Mircea Markus <mmarkus at redhat.com>
>>>> wrote:
>>>> > >>>>>>
>>>> > >>>>>>> Thanks to Guillaume Scheibel, Infinispan now has an mongodb
>>>> cache
>>>> > >>>>>>> store that will be shipped as part of 5.3.0.CR1.
>>>> > >>>>>>>
>>>> > >>>>>>> The test for the mongodb cache store are not run by default.
>>>> In order
>>>> > >>>>>>> to be able to run them you need to:
>>>> > >>>>>>> - install mongodb locally
>>>> > >>>>>>> - run "mongodb" profile
>>>> > >>>>>>> The cache store was add in the CI build on all 5.3 configs
>>>> (together
>>>> > >>>>>>> with a running instance of mongodb).
>>>> > >>>>>>>
>>>> > >>>>>>> Guillaume, would you mind adding a blog entry describing this
>>>> new
>>>> > >>>>>>> functionality? (I've invited you to be a member of the
>>>> > >>>>>>> infinispan.blogpsot.com team.)
>>>> > >>>>>>> Also can you please update the user doc:
>>>> > >>>>>>>
>>>> https://docs.jboss.org/author/display/ISPN/Cache+Loaders+and+Stores
>>>> > >>>>>>>
>>>> > >>>>>>>
>>>> > >>>>>>> Cheers,
>>>> > >>>>>>> --
>>>> > >>>>>>> Mircea Markus
>>>> > >>>>>>> Infinispan lead (www.infinispan.org)
>>>> > >>>>>>>
>>>> > >>>>>>>
>>>> > >>>>>>>
>>>> > >>>>>>>
>>>> > >>>>>>>
>>>> > >>>>>>> _______________________________________________
>>>> > >>>>>>> infinispan-dev mailing list
>>>> > >>>>>>> infinispan-dev at lists.jboss.org
>>>> > >>>>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> > >>>>>>
>>>> > >>>>>>
>>>> > >>>>>> _______________________________________________
>>>> > >>>>>> infinispan-dev mailing list
>>>> > >>>>>> infinispan-dev at lists.jboss.org
>>>> > >>>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> > >>>>>>
>>>> > >>>>>> _______________________________________________
>>>> > >>>>>> infinispan-dev mailing list
>>>> > >>>>>> infinispan-dev at lists.jboss.org
>>>> > >>>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> > >>>>>
>>>> > >>>>> Cheers,
>>>> > >>>>> --
>>>> > >>>>> Mircea Markus
>>>> > >>>>> Infinispan lead (www.infinispan.org)
>>>> > >>>>>
>>>> > >>>>>
>>>> > >>>>>
>>>> > >>>>>
>>>> > >>>>>
>>>> > >>>>> _______________________________________________
>>>> > >>>>> infinispan-dev mailing list
>>>> > >>>>> infinispan-dev at lists.jboss.org
>>>> > >>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> > >>>>>
>>>> > >>>>> _______________________________________________
>>>> > >>>>> infinispan-dev mailing list
>>>> > >>>>> infinispan-dev at lists.jboss.org
>>>> > >>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> > >>>>
>>>> > >>>> Cheers,
>>>> > >>>> --
>>>> > >>>> Mircea Markus
>>>> > >>>> Infinispan lead (www.infinispan.org)
>>>> > >>>>
>>>> > >>>>
>>>> > >>>>
>>>> > >>>>
>>>> > >>>
>>>> > >>> Cheers,
>>>> > >>> --
>>>> > >>> Mircea Markus
>>>> > >>> Infinispan lead (www.infinispan.org)
>>>> > >>>
>>>> > >>>
>>>> > >>>
>>>> > >>>
>>>> > >>>
>>>> > >>> _______________________________________________
>>>> > >>> infinispan-dev mailing list
>>>> > >>> infinispan-dev at lists.jboss.org
>>>> > >>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> > >>
>>>> > >>
>>>> > >>
>>>> > >> _______________________________________________
>>>> > >> infinispan-dev mailing list
>>>> > >> infinispan-dev at lists.jboss.org
>>>> > >> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> > > _______________________________________________
>>>> > > infinispan-dev mailing list
>>>> > > infinispan-dev at lists.jboss.org
>>>> > > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> >
>>>> >
>>>> > --
>>>> > Galder Zamarreño
>>>> > galder at redhat.com
>>>> > twitter.com/galderz
>>>> >
>>>> > Project Lead, Escalante
>>>> > http://escalante.io
>>>> >
>>>> > Engineer, Infinispan
>>>> > http://infinispan.org
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > infinispan-dev mailing list
>>>> > infinispan-dev at lists.jboss.org
>>>> > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>> >
>>>> > _______________________________________________
>>>> > infinispan-dev mailing list
>>>> > infinispan-dev at lists.jboss.org
>>>> > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>>
>>>>
>>>> --
>>>> Galder Zamarreño
>>>> galder at redhat.com
>>>> twitter.com/galderz
>>>>
>>>> Project Lead, Escalante
>>>> http://escalante.io
>>>>
>>>> Engineer, Infinispan
>>>> http://infinispan.org
>>>>
>>>>
>>>> _______________________________________________
>>>> infinispan-dev mailing list
>>>> infinispan-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>>
>>>
>>>
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20130603/096ca603/attachment-0001.html 


More information about the infinispan-dev mailing list