Re: [hibernate-dev] Redis and TTL

2016-06-28 Thread Mark Paluch
could have a nice side-effect with @TTL defined as one could just load and edit an entity without renewing the TTL. > --Gunnar > > > 2016-06-27 16:39 GMT+02:00 Mark Paluch <mailto:mpal...@paluch.biz>>: > Hi Sanne, > > not sure I follow. > > The use ca

Re: [hibernate-dev] Redis and TTL

2016-06-27 Thread Mark Paluch
one. It looks to me that if OGM stores the data, it has to > manage also the expiration. > > Otherwise you store data from OGM which might expire in a few seconds if > you're not lucky! > > Don't you agree? That’s the nature of NoSQL data stores I guess. > &g

Re: [hibernate-dev] Redis and TTL

2016-06-27 Thread Mark Paluch
> > you wouldn't expect the timeout to be "reset" to some default value > when your code writes to an entity? > > If you could explain the use case, that might help us to understand this. > > Thanks, > Sanne > > On 27 June 2016 at 14:47, Mark Paluc

Re: [hibernate-dev] Redis and TTL

2016-06-27 Thread Mark Paluch
Hi Guillaume, TTL preservation behavior originates from Redis’ behavior and is to preserve interoperability: > http://redis.io/commands/set > Set key to hold the string value. [...] Any previous time to live associated > with the key is discarded on successful

Re: [hibernate-dev] [Search] Travis support

2016-03-03 Thread Mark Paluch
It’s a setting in the .travis.yml file. TravisCI creates multiple jobs (one per JDK) itself and runs the whole build using the configured JDKs. See https://docs.travis-ci.com/user/languages/java#Testing-Against-Multiple-JDKs

Re: [hibernate-dev] Proposal for a Redis module in Hibernate OGM

2015-07-22 Thread Mark Paluch
ernate-ogm/pull/560 and started to work on the docs. Let's start a discussion based on the PR :-) Best regards, viele Grüße, Mark Gunnar Morling schrieb am Mi., 22. Juli 2015 um 10:41 Uhr: > 2015-07-21 14:14 GMT+02:00 Mark Paluch : > >> Hi Gunnar, >> >> thanks fo

Re: [hibernate-dev] Proposal for a Redis module in Hibernate OGM

2015-07-21 Thread Mark Paluch
orling schrieb am Di., 21. Juli 2015 um 13:03 Uhr: > Hi Mark, > > Many thanks for giving this a try; Your work looks impressive, it's very > advanced for an initial dialect contribution, covering many advanced cases > already. So kudos for that! > > Please find some r

[hibernate-dev] Proposal for a Redis module in Hibernate OGM

2015-07-17 Thread Mark Paluch
Hi there, I created a Redis module for Hibernate OGM, based on OGM 4.2. Redis is a Key-Value store supporting Lists, Hashes (Maps), Sorted Sets, ... I took the Infinispan/CouchDB approach storing entities and associations as JSON documents within Redis Hashes. A Map> corresponds with a Redis Hash