-
Infinispan - data grids meets open source (29 messages)
- Posted by: Manik Surtani
- Posted on: May 15 2009 08:30 EDT
Read about the announcement on my blog: http://infinispan.blogspot.com/2009/04/infinispan-start-of-new-era-in-open.html Or about the new asynchronous API here: http://infinispan.blogspot.com/2009/05/whats-so-cool-about-asynchronous-api.html The core data containers make use of state-of-the-art algorithms minimizing the use of mutexes for performance under high concurrency. More about this here: http://infinispan.blogspot.com/2009/05/implementing-performant-thread-safe.html Also on the roadmap are cool features such as searchability (query API) and NIO based server module providing memcached compatibility. Participate, download, feedback - http://www.infinispan.org Enjoy! ManikThreaded Messages (29)
- Nice to see another grid solution by peter veentjer on May 15 2009 12:02 EDT
- Re: Nice to see another grid solution by Nati Shalom on May 15 2009 16:17 EDT
-
Re: Nice to see another grid solution by Manik Surtani on May 15 2009 06:53 EDT
-
Re: Nice to see another grid solution by peter lin on May 15 2009 07:18 EDT
-
Re: Nice to see another grid solution by Jason Greene on May 15 2009 07:48 EDT
-
Re: Nice to see another grid solution by peter lin on May 15 2009 09:02 EDT
-
Re: Nice to see another grid solution by Cameron Purdy on May 16 2009 09:18 EDT
-
Re: Nice to see another grid solution by peter lin on May 16 2009 10:07 EDT
- Re: Nice to see another grid solution by Geva Perry on May 17 2009 04:26 EDT
-
Re: Nice to see another grid solution by Jags Ramnarayan on May 18 2009 07:28 EDT
- Re: Nice to see another grid solution by peter lin on May 18 2009 10:48 EDT
- Greg Luck by Matthew Passell on May 18 2009 06:51 EDT
-
Re: Nice to see another grid solution by peter lin on May 16 2009 10:07 EDT
-
Re: Nice to see another grid solution by Cameron Purdy on May 16 2009 09:18 EDT
-
Re: Nice to see another grid solution by peter lin on May 15 2009 09:02 EDT
-
Re: Nice to see another grid solution by Jason Greene on May 15 2009 07:48 EDT
-
Re: Nice to see another grid solution by peter lin on May 15 2009 07:18 EDT
-
Re: Nice to see another grid solution by Manik Surtani on May 15 2009 06:53 EDT
- Re: Nice to see another grid solution by Nati Shalom on May 15 2009 16:25 EDT
- Re: Nice to see another grid solution by Nati Shalom on May 15 2009 16:17 EDT
- Re: Infinispan - data grids meets open source by peter lin on May 15 2009 12:58 EDT
- Compare to Coherence? by Bruce Fancher on May 15 2009 14:35 EDT
- Re: Compare to Coherence? by Cameron Purdy on May 15 2009 14:40 EDT
-
Re: Compare to Coherence? by peter lin on May 15 2009 02:52 EDT
-
Future interface by Adrian Cole on May 15 2009 02:55 EDT
- Re: Future interface by Manik Surtani on May 15 2009 06:48 EDT
-
Future interface by Adrian Cole on May 15 2009 02:55 EDT
-
Re: Compare to Coherence? by peter lin on May 15 2009 02:52 EDT
- Re: Compare to Coherence? by Manik Surtani on May 15 2009 18:47 EDT
- Re: Compare to Coherence? by Cameron Purdy on May 15 2009 14:40 EDT
- Congrats! by Nikita Ivanov on May 15 2009 15:07 EDT
- Re: Infinispan - data grids meets open source by Mark Little on May 16 2009 04:45 EDT
- Lock free; but also starvation and livelock free? by peter veentjer on May 16 2009 05:19 EDT
- Re: Lock free; but also starvation and livelock free? by Manik Surtani on May 18 2009 04:40 EDT
- Re: Lock free; but also starvation and livelock free? by peter veentjer on May 19 2009 03:44 EDT
- Re: Lock free; but also starvation and livelock free? by Manik Surtani on May 18 2009 04:40 EDT
- Re: Infinispan - data grids meets open source by T SnowWolf Wagner on May 18 2009 19:34 EDT
- Agent execution i.e - the "grid" part by Ghanshyam Patel on May 19 2009 17:29 EDT
- Re: Agent execution i.e - the "grid" part by Ghanshyam Patel on May 19 2009 17:34 EDT
- halloween by halloween halloween on September 28 2009 17:50 EDT
-
Nice to see another grid solution[ Go to top ]
- Posted by: peter veentjer
- Posted on: May 15 2009 12:02 EDT
- in response to Manik Surtani
More competition means better products.. ps: I realy would reconsider adding google adds on a company blog. It doesn't look very professional. -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: Nati Shalom
- Posted on: May 15 2009 16:17 EDT
- in response to peter veentjer
More competition means better products..
+1 Infinispan is also a recognition on the approach that both GigaSpaces and Coherence took for dealing with distributed data challenges. I would like to point that with GigaSpaces the DataGrid piece is part of the story, today we offer a set of solutions on top of our Data Grid that are aimed to addresses the end to end scalability from the load-balancer to the database with out of the box support for cloud computing. Quoting from the Infinispace docs:7. Competition is Proprietary - All of the major, viable competitors in the space are not open-source, and are very expensive. Enough said. :-)
1. What makes Infinispan less propriety? 2. The cost is also an argument that i would be cautious of - as we can see in the past years many commercial OSS product start free to gain adoption and over time cost just like any of the commercial products. From an Enterprise point of view if you measure the ROI and not just the license cost then the ROI benefit of solution like Oracle or GigaSpaces can be even more competitive in terms of cost in various scenarios. At this point i would also like to point that we (GigaSpaces) offer our development framework (OpenSpaces.org) as OpenSource under the Apache 2.0 license and put a lot of effort to reduce potential lock-in. See more details here. Our believe is that we should compete on performance and scalability and not on the API. Any way congrats and good luck for the new release, it looks like your heading in the right direction. Nati S. GigaSpaces - Write Once Scale Anywhere -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: Manik Surtani
- Posted on: May 15 2009 18:53 EDT
- in response to Nati Shalom
It's not proprietary in that the software is LGPL and the development process is open, as are APIs, SPIs and internal APIs. Anyone can participate.7. Competition is Proprietary - All of the major, viable competitors in the space are not open-source, and are very expensive. Enough said. :-)
1. What makes Infinispan less propriety?
ROI is a complex thing, and is often dependent on specific usage and deployment scenarios. I was merely pointing out that there is no licensing cost to Infinispan due to its licensing.
2. The cost is also an argument that i would be cautious of - as we can see in the past years many commercial OSS product start free to gain adoption and over time cost just like any of the commercial products. From an Enterprise point of view if you measure the ROI and not just the license cost then the ROI benefit of solution like Oracle or GigaSpaces can be even more competitive in terms of cost in various scenarios. -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: peter lin
- Posted on: May 15 2009 19:18 EDT
- in response to Manik Surtani
This is just me, but if the API isn't a standard, then it's proprietary. by that measure Infinispan is just as proprietary as commercial offerings. To me that isn't an issue. The important thing is how well does it work and is it designed well thoughtout. Good luck with the project, hope it grows and matures. peter7. Competition is Proprietary - All of the major, viable competitors in the space are not open-source, and are very expensive. Enough said. :-)
1. What makes Infinispan less propriety?
It's not proprietary in that the software is LGPL and the development process is open, as are APIs, SPIs and internal APIs. Anyone can participate.
2. The cost is also an argument that i would be cautious of - as we can see in the past years many commercial OSS product start free to gain adoption and over time cost just like any of the commercial products. From an Enterprise point of view if you measure the ROI and not just the license cost then the ROI benefit of solution like Oracle or GigaSpaces can be even more competitive in terms of cost in various scenarios.
ROI is a complex thing, and is often dependent on specific usage and deployment scenarios. I was merely pointing out that there is no licensing cost to Infinispan due to its licensing. -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: Jason Greene
- Posted on: May 15 2009 19:48 EDT
- in response to peter lin
This is just me, but if the API isn't a standard, then it's proprietary. by that measure Infinispan is just as proprietary as commercial offerings.
As mentioned in early posts, it's API conforms to JSR-107. So, I think its hard to say that a software package which implements a standard API, provides the entire source under a free (as in libre) software license, and has an open development process is in any way proprietary ;) -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: peter lin
- Posted on: May 15 2009 21:02 EDT
- in response to Jason Greene
correct me if I'm wrong, but isn't JSR107 JCache inactive and never was finalized? It's good that Infinispan supports it, but I wouldn't really call it a standard per say. Perhaps now that Infinispan is making progress, JSR107 can be revived. http://jcp.org/en/jsr/detail?id=107 peterThis is just me, but if the API isn't a standard, then it's proprietary. by that measure Infinispan is just as proprietary as commercial offerings.
As mentioned in early posts, it's API conforms to JSR-107. So, I think its hard to say that a software package which implements a standard API, provides the entire source under a free (as in libre) software license, and has an open development process is in any way proprietary ;) -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: May 16 2009 09:18 EDT
- in response to peter lin
.. isn't JSR107 JCache inactive?
JSR107 has had been active, with Manik and Greg Leake (EHCache) providing most of the recent effort. Peace, Cameron Purdy Oracle Coherence: Data Grid for Java, .NET and C++ -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: peter lin
- Posted on: May 16 2009 10:07 EDT
- in response to Cameron Purdy
cool. nice to hear that. peter.. isn't JSR107 JCache inactive?
JSR107 has had been active, with Manik and Greg Leake (EHCache) providing most of the recent effort.
Peace,
Cameron Purdy
Oracle Coherence: Data Grid for Java, .NET and C++ -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: Geva Perry
- Posted on: May 17 2009 04:26 EDT
- in response to peter lin
What's nice to see about this is the understanding that this approach is the correct one. If this trend continues, all of the vendors will benefit from it. -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: Jags Ramnarayan
- Posted on: May 18 2009 19:28 EDT
- in response to peter lin
JSR107 has had been active, with Manik and Greg Leake (EHCache) providing most of the recent effort.
Cameron, so, is JSR 107 active again? The JCP page on it shows it being inactive (and, for a while). -- Jags Ramnarayan GemStone Systems
Peace,
Cameron Purdy -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: peter lin
- Posted on: May 18 2009 22:48 EDT
- in response to Jags Ramnarayan
glad to see I'm not the only one that was thrown off by the "inactive" status on the JSR page.JSR107 has had been active, with Manik and Greg Leake (EHCache) providing most of the recent effort.
Peace,
Cameron Purdy
Cameron, so, is JSR 107 active again? The JCP page on it shows it being inactive (and, for a while).
-- Jags Ramnarayan
GemStone Systems -
Greg Luck[ Go to top ]
- Posted by: Matthew Passell
- Posted on: May 18 2009 18:51 EDT
- in response to Cameron Purdy
I think Cam meant Greg Luck of Ehcache. --Matt The Software Grove p.s. By the way, my CAPTCHA for this comment was "per dork" so I guess you should take it with a grain of salt. :) -
Re: Nice to see another grid solution[ Go to top ]
- Posted by: Nati Shalom
- Posted on: May 15 2009 16:25 EDT
- in response to peter veentjer
More competition means better products..
+1 Infinispan is also a recognition on the approach that both GigaSpaces and Coherence took for dealing with distributed data challenges. I would like to point that with GigaSpaces the DataGrid piece is part of the story, today we offer a set of solutions on top of our Data Grid that are aimed to addresses the end to end scalability from the load-balancer to the database with out of the box support for cloud computing. Quoting from the Infinispace docs:7. Competition is Proprietary - All of the major, viable competitors in the space are not open-source, and are very expensive. Enough said. :-)
1. What makes Infinispan less propriety? 2. The cost is also an argument that i would be cautious of - as we can see in the past years many commercial OSS product start free to gain adoption and over time cost just like any of the commercial products. From an Enterprise point of view if you measure the ROI and not just the license cost then the ROI benefit of solution like Oracle or GigaSpaces can be even more competitive in terms of cost in various scenarios. At this point i would also like to point that we (GigaSpaces) offer our development framework (OpenSpaces.org) as OpenSource under the Apache 2.0 license and put a lot of effort to reduce potential lock-in. See more details here. Our believe is that we should compete on performance and scalability and not on the API. Any way congrats and good luck for the new release, it looks like your heading in the right direction. Nati S. GigaSpaces - Write Once Scale Anywhere -
Re: Infinispan - data grids meets open source[ Go to top ]
- Posted by: peter lin
- Posted on: May 15 2009 12:58 EDT
- in response to Manik Surtani
Read about the announcement on my blog:
sounds like a good replacement for jboss cache. nice to see the gradual move towards coherence and gigaspaces style cache. It's a few years late to the game, but better late than never. peter
http://infinispan.blogspot.com/2009/04/infinispan-start-of-new-era-in-open.html
Or about the new asynchronous API here:
http://infinispan.blogspot.com/2009/05/whats-so-cool-about-asynchronous-api.html
The core data containers make use of state-of-the-art algorithms minimizing the use of mutexes for performance under high concurrency. More about this here:
http://infinispan.blogspot.com/2009/05/implementing-performant-thread-safe.html
Also on the roadmap are cool features such as searchability (query API) and NIO based server module providing memcached compatibility.
Participate, download, feedback - http://www.infinispan.org
Enjoy!
Manik -
Compare to Coherence?[ Go to top ]
- Posted by: Bruce Fancher
- Posted on: May 15 2009 14:35 EDT
- in response to Manik Surtani
I'd love to really look at closely at Infinispan and understand what it does, but unfortunately I'm just way too lazy^H^H^H^Hbusy. So, after glancing at the site for about 30 seconds or so, I'd like to ask, is this supposed to be like an open-source version of Oracle Coherence? -
Re: Compare to Coherence?[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: May 15 2009 14:40 EDT
- in response to Bruce Fancher
So, after glancing at the site for about 30 seconds or so, I'd like to ask, is this supposed to be like an open-source version of Oracle Coherence?
Aren't they all? ;-) And Manik, for what it's worth, I took a brief look and I could tell you put a lot of thought into the API. Peace, Cameron Purdy Oracle Coherence: Data Grid for Java, .NET and C++ -
Re: Compare to Coherence?[ Go to top ]
- Posted by: peter lin
- Posted on: May 15 2009 14:52 EDT
- in response to Cameron Purdy
I'm just glad Manik avoided NIH syndrome and realizes the way forward is distributed HashMap :) Clearly I'm bias in favor of coherence and gigaspaces style data grids. peterSo, after glancing at the site for about 30 seconds or so, I'd like to ask, is this supposed to be like an open-source version of Oracle Coherence?
Aren't they all? ;-)
And Manik, for what it's worth, I took a brief look and I could tell you put a lot of thought into the API.
Peace,
Cameron Purdy
Oracle Coherence: Data Grid for Java, .NET and C++ -
Future interface[ Go to top ]
- Posted by: Adrian Cole
- Posted on: May 15 2009 14:55 EDT
- in response to peter lin
Big fan of the asynch api, Manik. Good work. -Adrian jclouds -
Re: Future interface[ Go to top ]
- Posted by: Manik Surtani
- Posted on: May 15 2009 18:48 EDT
- in response to Adrian Cole
Big fan of the asynch api, Manik. Good work.
Yes, the async API is one area where we deviate from JSR-107. I think the API has a lot of promise. Time will tell. :-)
-Adrian
jclouds -
Re: Compare to Coherence?[ Go to top ]
- Posted by: Manik Surtani
- Posted on: May 15 2009 18:47 EDT
- in response to Bruce Fancher
...I'd like to ask, is this supposed to be like an open-source version of Oracle Coherence?
In so far as both products implement (a pre-release of) JSR-107, sure. :-) -
Congrats![ Go to top ]
- Posted by: Nikita Ivanov
- Posted on: May 15 2009 15:07 EDT
- in response to Manik Surtani
Manik, Great stuff. Glad to see more folks are converging on grid/cloud computing ideas. All the best, Nikita Ivanov. GridGain - Open Cloud Platform -
Re: Infinispan - data grids meets open source[ Go to top ]
- Posted by: Mark Little
- Posted on: May 16 2009 04:45 EDT
- in response to Manik Surtani
Congratulations to the team! -
Lock free; but also starvation and livelock free?[ Go to top ]
- Posted by: peter veentjer
- Posted on: May 16 2009 05:19 EDT
- in response to Manik Surtani
I have looked at the documentation, and the infispan datastructures are claimed to be lock free:Most of the internals are essentially lock- and synchronization-free, favouring state-of-the-art non-blocking algorithms and techniques wherever possible. This translates to a data structure that is extremely quick even when it deals with a large number of concurrent accesses.
But normal lock free algorithms don't behave that great under stress because there is a risk of starvation. So how does Infispan deal with this? PS: I'm working on an Software Transactional Memory implementation called Multiverse and I use a lot of lock free datastructures as well, but contention management is something that is going to be added in the future to deal with starvation and livelocking. http://multiverse.googlecode.com/ -
Re: Lock free; but also starvation and livelock free?[ Go to top ]
- Posted by: Manik Surtani
- Posted on: May 18 2009 04:40 EDT
- in response to peter veentjer
I have looked at the documentation, and the infispan datastructures are claimed to be lock free
Starvation is a risk you have not only with most lock-free algorithms, but even with ones that use locks - unless you use fair locks, in which case performance really suffers for all threads. And sadly I don't know of any efficient wait-free algorithms for concurrent linked-list, map and linked-map structures that would prevent starvation and still be uniformly performant. And for those interested in locking in Infinispan: Infinispan is not completely lock-free, as the docs suggest. We use MVCC, and a very STM-like approach where each client thread (or transaction) receives a context in which entry copies are made (for writing). This isolates them from concurrent changes. But a lock is used to ensure only one concurrent writer per entry. Readers, however, are completely lock-free - the 90% use case of a cache - as MVCC guarantees that the entry read won't be concurrently modified. What I meant by internals being lock-free (as far as possible) has to do with the ordered data containers - used for eviction - which employs a lock-free, thread-safe linked list structure, as well as other internal collections to hold concurrent transactions, contexts, etc. See http://infinispan.blogspot.com/2009/05/implementing-performant-thread-safe.html for details.
... snip ...
But normal lock free algorithms don't behave that great under stress because there is a risk of starvation. So how does Infispan deal with this?PS:
This looks interesting. How do you plan on dealing with starvation?
I'm working on an Software Transactional Memory implementation called Multiverse and I use a lot of lock free datastructures as well, but contention management is something that is going to be added in the future to deal with starvation and livelocking. -
Re: Lock free; but also starvation and livelock free?[ Go to top ]
- Posted by: peter veentjer
- Posted on: May 19 2009 03:44 EDT
- in response to Manik Surtani
We use MVCC, and a very STM-like approach where each client thread (or transaction) receives a context in which entry copies are made (for writing).
I was using MVCC for Multiverse as well. At the moment no old history is maintained so you get a snapshottooold error immediately. But in the future it will be added again if it provides value (especially for readonly transactions since it doesn't matter if the state they read is a little bit stale). For more information about my locking approach see: http://pveentjer.wordpress.com/2009/04/22/mvcc-tl2-concurrencyHow do you plan on dealing with starvation?
At the moment there are no policies for dealing with it except retrying. But in the future I'll make a distinction between internal (caused by my the internals of the STM) and external (so causes by the objects used in the transaction) contention. The internal contention will be monitored, so I can see if I need to change anything. But no extra policies yet. The external contention will be configurable through a transactioncontentionmanager. This will be based on the idea's of Maurice Herlihy. -
Re: Infinispan - data grids meets open source[ Go to top ]
- Posted by: T SnowWolf Wagner
- Posted on: May 18 2009 19:34 EDT
- in response to Manik Surtani
Nice start looks like it will be very useful when complete -
Agent execution i.e - the "grid" part[ Go to top ]
- Posted by: Ghanshyam Patel
- Posted on: May 19 2009 17:29 EDT
- in response to Manik Surtani
Is it (or will it be on near-term roadmap) to execute agents against the data in the grid, like this: http://www.ibm.com/developerworks/wikis/objectgridprog/6.1.0.5/docs/api/com/ibm/websphere/objectgrid/datagrid/MapGridAgent.html or like the Coherence EntryProcessor: http://download.oracle.com/otn_hosted_doc/coherence/342/index.html) -
Re: Agent execution i.e - the "grid" part[ Go to top ]
- Posted by: Ghanshyam Patel
- Posted on: May 19 2009 17:34 EDT
- in response to Ghanshyam Patel
proper link for the Coherence EntryProcessor: http://download.oracle.com/otn_hosted_doc/coherence/342/com/tangosol/util/InvocableMap.EntryProcessor.html -
halloween[ Go to top ]
- Posted by: halloween halloween
- Posted on: September 28 2009 17:50 EDT
- in response to Manik Surtani