Re: [infinispan-dev] transactions :: incremental locking

2011-07-08 Thread Galder Zamarreño
Mircea, thx for writing this up. Some comments: It's not clear to me, at least given the examples in the wiki, how problem of Tx1 and Tx2 with a and b explained in the introduction is fixed by the solution. The problem exposed: - with some right timing, during prepare time it is possible for

Re: [infinispan-dev] Faster LRU

2011-07-08 Thread Dan Berindei
On Fri, Jul 8, 2011 at 2:53 AM, Dan Berindei dan.berin...@gmail.com wrote: I've updated pull #414 (https://github.com/infinispan/infinispan/pull/414) to work on top of Vladimir's pull request, in case you want to have a look. You might want to adjust the number of keys and/or disable some of

Re: [infinispan-dev] Yahoo Cloud Service Benchmark (YCSB)

2011-07-08 Thread Manik Surtani
On 6 Jul 2011, at 08:38, Galder Zamarreño wrote: Manik, Why do you use atomic maps when the cache is clustered? Is it to keep all table data together in distribution mode and it more this type of access more efficient? Fine-grained repl. :-) -- Manik Surtani ma...@jboss.org

Re: [infinispan-dev] New documentation type - Glossary

2011-07-08 Thread Manik Surtani
Do we want to come up with a list of terms that definitely need defining, at least from where we stand now? More will be added incrementally, for sure. * Data Grid * In-memory data grid * Write through * Write behind * MVCC * Optimistic Locking * Pessimistic Locking * Deadlock * Livelock *

Re: [infinispan-dev] Contributing to Infinispan Guide updated

2011-07-08 Thread Pete Muir
On 8 Jul 2011, at 13:22, Manik Surtani wrote: Nice stuff. * Section 1.9: Any examples/screenshots for enabling annotation processing in your IDE? No. I will add this to the TODO list :-) I can generate ones for Eclipse. Volunteer for IDEA please! * Is this the correct place for the

Re: [infinispan-dev] New documentation type - Glossary

2011-07-08 Thread Manik Surtani
On 8 Jul 2011, at 13:27, Manik Surtani wrote: * Data Grid * In-memory data grid * Write through * Write behind * MVCC * Optimistic Locking * Pessimistic Locking * Deadlock * Livelock * Write skew * Isolation level * 2-phase commit * 1-phase commit * XA resource * JTA

Re: [infinispan-dev] New documentation type - Glossary

2011-07-08 Thread Sanne Grinovero
I agree we should explain the ones which are specific for Infinispan, but many of those terms already have good definitions elsewhere. Instead of trying explaining them we could point to Wikipedia? Is there a way to incorporate a Wikipedia paragraph directly in confluence? Sanne 2011/7/8 Manik

Re: [infinispan-dev] New documentation type - Glossary

2011-07-08 Thread Manik Surtani
On 8 Jul 2011, at 14:01, Sanne Grinovero wrote: I agree we should explain the ones which are specific for Infinispan, but many of those terms already have good definitions elsewhere. Instead of trying explaining them we could point to Wikipedia? Is there a way to incorporate a Wikipedia

Re: [infinispan-dev] New documentation type - Glossary

2011-07-08 Thread Pete Muir
I don't believe we can embed Wikipedia. But I think Manik is right. Write a paragraph about how *we* use this term. That's what matters. On 8 Jul 2011, at 14:15, Manik Surtani wrote: On 8 Jul 2011, at 14:01, Sanne Grinovero wrote: I agree we should explain the ones which are specific for

Re: [infinispan-dev] New documentation type - Glossary

2011-07-08 Thread Pete Muir
There are stub's for all of these on the wiki now. I'm giving each of the core team responsibility for making a subset of the entries happen - that's not to say that this person must write the entry, just that they must make sure it get's written. Again, anyone who wants to help out and

Re: [infinispan-dev] Atomic operations and transactions

2011-07-08 Thread Mircea Markus
On 4 Jul 2011, at 07:57, Galder Zamarreño wrote: Do these atomic operations really make sense within an (optimitic) transaction? For example, putIfAbsent(): it stores a k,v pair if the key is not present. But the key about it's usability is that the return of putIfAbsent can tell you

Re: [infinispan-dev] Atomic operations and transactions

2011-07-08 Thread Sanne Grinovero
As we where still unsure about the use cases, here comes the first user attempting to use it: http://community.jboss.org/thread/168998?tstart=0 Cheers, Sanne 2011/7/8 Mircea Markus mircea.mar...@jboss.com: On 5 Jul 2011, at 10:45, Dan Berindei wrote: On Tue, Jul 5, 2011 at 12:23 PM, Galder

Re: [infinispan-dev] Atomic operations and transactions

2011-07-08 Thread Mircea Markus
On 5 Jul 2011, at 11:39, Sanne Grinovero wrote: 2011/7/5 Dan Berindei dan.berin...@gmail.com: On Tue, Jul 5, 2011 at 12:46 PM, Sanne Grinovero sa...@infinispan.org wrote: 2011/7/5 Galder Zamarreño gal...@redhat.com: On Jul 4, 2011, at 11:25 AM, Sanne Grinovero wrote: I agree they

Re: [infinispan-dev] Atomic operations and transactions

2011-07-08 Thread Mircea Markus
On 5 Jul 2011, at 14:04, Sanne Grinovero wrote: 2011/7/5 Dan Berindei dan.berin...@gmail.com: On Tue, Jul 5, 2011 at 1:39 PM, Sanne Grinovero sa...@infinispan.org wrote: 2011/7/5 Dan Berindei dan.berin...@gmail.com: Here is a contrived example: 1. Start tx Tx1 2. cache.get(k) - v0 3.

Re: [infinispan-dev] Faster LRU

2011-07-08 Thread Vladimir Blagojevic
Dan, Great work, why not update my forked tree https://github.com/vblagoje/infinispan/tree/t_bchm with your work as explained in section Multi-step coordination between developers using forked repositories from https://docs.jboss.org/author/display/ISPN/Contributing+-+Source+Control And then