Of course, there's more, but the goal isn't to replicate the blog post in toto. What do you think of Cameron's definition? Is it too focused on Coherence to be useful elsewhere?A Data Grid is a system composed of multiple servers that work together to manage information and related operations – such as computations – in a distributed environment.
- An In-Memory Data Grid is a Data Grid that stores the information in memory in order to achieve very high performance, and uses redundancy – by keeping copies of that information synchronized across multiple servers – in order to ensure the resiliency of the system and the availability of the data in the event of server failure.
- The application objects are the actual components of the application that contain information that is shared across multiple servers and that must survive server failure in order for the application to be continuously available. These objects are typically built in an object-oriented language such as Java (e.g. POJOs), C++, C#, VB.NET or Ruby. Unlike a relational schema, application objects are often hierarchical in nature, and may contain information that is pulled from many database tables.
- The application objects must be shared across multiple servers because a middleware application (such as eBay and Amazon.com) is horizontally scaled by adding servers, with each server running an instance of that application. Since the application instance running on one server may read and write some of the same information that an application instance running on another server reads and writes, that information must be shared. The alternative is to always access that information from a shared resource, such as a database, which will lower performance by requiring both remote coordinated access and Object/Relational Mapping (ORM), and decrease scalability by making that shared resource a bottleneck.
- Because an application object is not relational, in order to retrieve it from a relational database the information must be mapped from a relational query into the object; this is known as Object/Relational Mapping (ORM). Examples include Java’s EJB 3.0 and JPA, and ADO.NET. The same technology allows that object to be stored in a relational database by deconstructing the object (or changes to the object) into a series of SQL inserts, updates and deletes. Since a single object may be composed of information from many tables, the cost of accessing objects from a database using Object/Relational Mapping can be significant, both in terms of the load on the database and the latency of the data access.
- An In-Memory Data Grid achieves low response times for data access by keeping the information in-memory and in the application object form, and by sharing that information across multiple servers. In other words, applications may be able to access the information that they require without any network communication and without any data transformation step such as ORM. In cases where network communication is required, the Oracle Coherence avoids introducing a Single Point of Bottleneck (SPOB) by partitioning – spreading out – information across the grid, with each server being responsible for managing its own fair share of the total set of information.
-
Cameron Purdy: Defining a Data Grid (18 messages)
- Posted by: Joseph Ottinger
- Posted on: January 15 2008 10:12 EST
Cameron Purdy has posted "Defining a Data Grid" on his blog, saying that "most people know what a database is, but not everyone knows what an In-Memory Data Grid is, so we set out to define it in a concise manner..." Of course, this focuses on Oracle Coherence since Cameron's a VP for Oracle on that product, but it's worth looking into even if you're not using Coherence, for a few reasons. First, maybe you should be using Coherence! Second, it might show you some concepts that your current data caching solution should provide. Thirdly, perhaps it illustrates some uses that your architecture might not be taking advantage of. The first few definitions:Threaded Messages (18)
- Re: Cameron Purdy: Defining a Data Grid by Billy Newport on January 15 2008 12:31 EST
- Re: Cameron Purdy: Defining a Data Grid by Geva Perry on January 15 2008 13:53 EST
- Re: Cameron Purdy: Defining a Data Grid by Steve Lewis on January 16 2008 11:02 EST
- Re: Cameron Purdy: Defining a Data Grid by Robert Varga on January 16 2008 01:31 EST
-
Re: Cameron Purdy: Defining a Data Grid by Dmitriy Setrakyan on January 16 2008 03:08 EST
- Re: Cameron Purdy: Defining a Data Grid by Cameron Purdy on January 16 2008 10:19 EST
- Re: Cameron Purdy: Defining a Data Grid by Nikita Ivanov on January 15 2008 14:51 EST
- Re: Cameron Purdy: Defining a Data Grid by Shay Banon on January 15 2008 17:15 EST
-
Re: Cameron Purdy: Defining a Data Grid by Billy Newport on January 15 2008 05:53 EST
- Re: Cameron Purdy: Defining a Data Grid by Shay Banon on January 15 2008 06:39 EST
- more in-depth look at blending compute grids with data grids by snehal antani on April 03 2008 05:26 EDT
- Re: Cameron Purdy: Defining a Data Grid by Nikita Ivanov on January 15 2008 07:07 EST
-
Re: Cameron Purdy: Defining a Data Grid by Billy Newport on January 15 2008 05:53 EST
- Re: Cameron Purdy: Defining a Data Grid by Manik Surtani on January 16 2008 08:15 EST
-
Re: Cameron Purdy: Defining a Data Grid by Cameron Purdy on January 16 2008 09:35 EST
- Re: Cameron Purdy: Defining a Data Grid by Dmitriy Setrakyan on January 16 2008 02:56 EST
-
Re: Cameron Purdy: Defining a Data Grid by Cameron Purdy on January 16 2008 09:35 EST
- Re: Cameron Purdy: Defining a Data Grid by Shay Banon on January 15 2008 17:15 EST
- Re: Cameron Purdy: Defining a Data Grid by Mark N on January 15 2008 16:45 EST
- Re: Cameron Purdy: Defining a Data Grid by Geva Perry on January 15 2008 21:23 EST
- Re: Cameron Purdy: Defining a Data Grid by Mark N on January 15 2008 11:00 EST
- Re: Cameron Purdy: Defining a Data Grid by Geva Perry on January 15 2008 21:23 EST
-
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Billy Newport
- Posted on: January 15 2008 12:31 EST
- in response to Joseph Ottinger
I think it's a good job of describing most products including ObjectGrid. The vendors need to start educating the market using common concepts etc. Nati and I were talking about this at the Spring conference. A standard set of terms would be very useful and benefit everyone. The best definition of data grids for me is still the hstore paper which describes architecturally what kind of application datagrids can support well. http://www.devwebsphere.com/devwebsphere/2007/12/hstore-at-mit-v.html -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Geva Perry
- Posted on: January 15 2008 13:53 EST
- in response to Billy Newport
Nice post by Cameron and I agree with Billy. All of the data grid products -- ObjectGrid, Coherence, GigaSpaces and others -- would gain from broader awareness to and understanding of the notion of in-memory data grids. It's remarkable how a very rudimentary solution such as memcached has caught on so fast because it had some high-profile web sites using it. But there really are much better solutions out there, such as the products I mention above. Billy -- in the "old days" we may have talked about creating a standard, but I think you are right that given things such as Spring, what's really important now is common terminology and just getting the word out. Data Grid Alliance, anyone? :-) Geva Perry GigaSpaces -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Steve Lewis
- Posted on: January 16 2008 11:02 EST
- in response to Billy Newport
I'd like to hear what Java-based data grids have over memcached. What (common) features does Coherence/Gigaspaces/etc have that memcached does not? Thanks, Steve -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Robert Varga
- Posted on: January 16 2008 13:31 EST
- in response to Steve Lewis
:-) /me sits down comfortably to watch what will happen inevitably... -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Dmitriy Setrakyan
- Posted on: January 16 2008 15:08 EST
- in response to Steve Lewis
I'd like to hear what Java-based data grids have over memcached. What (common) features does Coherence/Gigaspaces/etc have that memcached does not?
After looking at memcached for several days (admittedly only Java API's provided) I can say that one of the most distinguishing factors would be Documentation and Flexibility of Deployment and Caching Protocols. But lack of documentation in memchached is really striking. Best, Dmitriy Setrakyan GridGain - Grid Computing Made Simple -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: January 16 2008 22:19 EST
- in response to Dmitriy Setrakyan
After looking at memcached for several days (admittedly only Java API's provided) I can say that one of the most distinguishing factors would be Documentation and Flexibility of Deployment and Caching Protocols.
We've had some major sites (MySpace, Ning, ..) switching from Memcached to Coherence recently, and the reasons given always seem to be the same: quality, performance, scalability, dynamic partitioning, ease of configuration, and information reliability. Peace, Cameron Purdy Oracle Coherence: The Java Data Grid
But lack of documentation in memchached is really striking. -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Nikita Ivanov
- Posted on: January 15 2008 14:51 EST
- in response to Joseph Ottinger
A Data Grid is a system composed of multiple servers that work together to manage information and related operations – such as computations – in a distributed environment.
I don’t think that data grids manage anything beyond data which is exactly what they supposed to do. In the essence, data grids are distributed caches for RDBMSs. That’s what they evolved from (Coherence, GigaSpaces). Computations are managed by a different type of grids – compute grids (which have little to do with data grids). As far as overall definition I do like it too. If anything, I think it’s a bit too generic and certainly doesn’t have any bias towards Coherence (which I wouldn’t mind). My 2 cents, Nikita Ivanov. GridGain - Grid Computing Made Simple -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Shay Banon
- Posted on: January 15 2008 17:15 EST
- in response to Nikita Ivanov
Mmm, I wonder why you make this statement.... Let me venture a wild guess, to distinguish GridGain, which is just a compute grid from GigaSpaces, Coherence, and ObjectGrid. It is ridiculous to assume that GigaSpaces and Coherence succeed so much at what they do by just being a DataGrid. GigaSpaces grew out of the JavaSpaces model with one of its prime design patterns being Master Worker, which is all about compute grid. It is very simple to build map reduce on top of the Master Worker design pattern and it inherently supports advance compute grid concepts such as work stealing. Now, the fun part (which is when we watch our application scale) is the combination of compute and data grid allowing, for example, to collocate work and data. This is similar to what Hadoop does in its implementation for Map Reduce (though through the narrow view of just Map Reduce and HDFS) and it is the bread and butter for GigaSpaces (as well as Coherence). Cheers, Shay Banon Compass and GigaSpaces
A Data Grid is a system composed of multiple servers that work together to manage information and related operations – such as computations – in a distributed environment.
I don’t think that data grids manage anything beyond data which is exactly what they supposed to do. In the essence, data grids are distributed caches for RDBMSs. That’s what they evolved from (Coherence, GigaSpaces). Computations are managed by a different type of grids – compute grids (which have little to do with data grids).
As far as overall definition I do like it too. If anything, I think it’s a bit too generic and certainly doesn’t have any bias towards Coherence (which I wouldn’t mind).
My 2 cents,
Nikita Ivanov.
GridGain - Grid Computing Made Simple -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Billy Newport
- Posted on: January 15 2008 17:53 EST
- in response to Shay Banon
I think Nikita has a point to a degree. We're seeing customers using ObjectGrid to hold data for compute grid stuff built with grid products like data synapse, xd compute grid or home grown stuff. They pull the data from the data grid because the data grid makes the data fault tolerance, network attachable and is more cost effective to deploy/scale than a dbms or shared file system. Compute grid stuff is pretty different where jobs are scheduled, decomposed, suspended, resumed which is very different than what a data grid typically does. This is indeed how we differenciate XD's compute grid and Objectgrid components. They are complimentary. Now, are their scenarios where it could all be done using just the data grid, yes but most scenarios are probably better served by the specialist product using something like a datagrid for intermediate storage or for holding data required by all the compute jobs. -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Shay Banon
- Posted on: January 15 2008 18:39 EST
- in response to Billy Newport
I think Nikita has a point to a degree. We're seeing customers using ObjectGrid to hold data for compute grid stuff built with grid products like data synapse, xd compute grid or home grown stuff. They pull the data from the data grid because the data grid makes the data fault tolerance, network attachable and is more cost effective to deploy/scale than a dbms or shared file system.
This is probably why I did not mention ObjectGrid :). Myself, as a user, would like to use the same product for both (and add messaging just to make it more interesting). This is certainly not far fetched as it is implemented today with GigaSpaces. It is a similar thing with Hadoop or Google Map Reduce implementation (just focused on the map reduce aspect). While just distributing jobs is one thing, the combination of it with HDFS or GFS is where it really shines. For example, with GigaSpace, you can create a job (it can even be a scripting language based job) and execute it on your compute Grid (with pure compute agents running). You can get a Java Future back where you can cancel, and wait for the result of the job. You can also, very simply, split a job to several jobs, execute them on your compute grid, and join them back. The nice additional features (that stems from the fact that you also work with a DataGrid) is the fact that you can take a job and tell it to run where its relevant data resides in memory. You can even take a Job and run it on all the active nodes and reduce the results from it (for example, to compute the average object count that you have in your grid). Coherence has a subset of this features (at least to my knowledge) using their InvocableMap. I an sure that ObjectGrid has the basics to support a compute grid (and I agree that there is more work that needs to be done beyond the basics), though probably it is a bit difficult to market it since XD is around ;)
Compute grid stuff is pretty different where jobs are scheduled, decomposed, suspended, resumed which is very different than what a data grid typically does. This is indeed how we differenciate XD's compute grid and Objectgrid components. They are complimentary. Now, are their scenarios where it could all be done using just the data grid, yes but most scenarios are probably better served by the specialist product using something like a datagrid for intermediate storage or for holding data required by all the compute jobs. -
more in-depth look at blending compute grids with data grids[ Go to top ]
- Posted by: snehal antani
- Posted on: April 03 2008 17:26 EDT
- in response to Billy Newport
To build on Billy's point... One important question to ask is "how do I bring my data and business logic within close proximity of each other?" Another equally important question is "how do I achieve this close proximity while ensuring I have full operational control of my system as well as integration with my existing enterprise assets?" Several customers we're working with are viewing compute grids as the job management mechanism, whose purpose is to provide operational control of the jobs in execution and to also integrate with existing infrastructures (enterprise job schedulers, existing auditing/archiving systems, etc etc). While the data grid side of the architecture is to transparently ensure that data is as close to the business logic as possible while ensure data integrity and availability. The following section goes into more details on the ways XTP (and grid, hpc, and utility computing) have influenced the compute grids space: http://www.ibm.com/developerworks/websphere/techjournal/0804_antani/0804_antani.html?ca=drs-#xtp -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Nikita Ivanov
- Posted on: January 15 2008 19:07 EST
- in response to Shay Banon
Let me venture a wild guess, to distinguish GridGain, which is just a compute grid from GigaSpaces, Coherence, and ObjectGrid.
Hi Shay, I was just making the point along the side of Billy’s. Compute grids and data grids are way too different although they are used almost always together. Many data grids have some rudimentary capabilities for computational processing and, of course, nothing prevents you to do everything manually - “Manual Sunset” is the saying we have in Russia for this type of engineering… :) As far as GigaSpaces it has some basic Master/Worker, but you quickly run into limits once you need to control scheduling or load balancing... plus lines of code comparison and simplicity of doing computations does not even come near to what GridGain provides. Take a look at our screencast (Grid Application in 15 minutes) and see what can GigaSpace do in 15 minutes... With GridGain we integrate with Data Grids (natively with JBoss Cache and Coherence and less natively with GigaSpaces because it is not pluggable at all) so that you have freedom of choice which data grid product you would like to use. Obviously we support affinity split (collocation of data and processing logic) – which is an important point but only a one item on a long list of capabilities you need to have for a full-stack grid computing platform. Best, Nikita Ivanov. GridGain - Grid Computing Made Simple -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Manik Surtani
- Posted on: January 16 2008 08:15 EST
- in response to Nikita Ivanov
I too agree that Cameron's definition is a good one, and applies to most clustered caching/data grid products out there. I don't think it's *too* generic though, as Nikita suggests. Anything further would take you into the realm of vendor-specific detail. Regarding the overlap with computational grids, this doesn't belong in a definition of data grids. It could be fair to say that Coherence is a data grid with *some* compute grid capabilities, but then you're describing a specific product. -- Manik Surtani www.jbosscache.org -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: January 16 2008 09:35 EST
- in response to Manik Surtani
It could be fair to say that Coherence is a data grid with *some* compute grid capabilities, but then you're describing a specific product.
That's a fair statement. "Compute grids" provide a lot more than the compute capabilities that we include. Our compute capabilities (which pre-date map/reduce etc.) are in most cases data-centric, and natural off-shoots of the data functionality that we provide. Peace, Cameron Purdy Oracle Coherence: Data Grid for Java and .NET -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Dmitriy Setrakyan
- Posted on: January 16 2008 14:56 EST
- in response to Cameron Purdy
I would like to second opinions of others in this thread that the definition of Data Grid provided is very beneficial to the community. Just want to add that GridGain provides the most deepest integration with Oracle Coherence, to the extent that GridGain totally reuses Coherence Cluster Discovery and Communication protocols and practically becomes as reliable as Coherence. With such integration, users can get advanced job scheduling, load balancing, zero deployment, failover of both, logic and data, and many other features that GridGain provides in addition to state of the art caching features provided by Oracle Coherence. You can check our Coherence integration with provided out-of-the-box SPI's on our Wiki. Best, Dmitriy Setrakyan GridGain - Grid Computing Made Simple -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Mark N
- Posted on: January 15 2008 16:45 EST
- in response to Joseph Ottinger
I like the definitions and have passed on the link to this blog (I saw a few days(?) ago). I am wondering if analytical product vendors, such as SAS, are [re]designing their products to work with Data Grids. General reporting tools such as BIRT can already to this by their ability to call any code behind the scenes. -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Geva Perry
- Posted on: January 15 2008 21:23 EST
- in response to Mark N
Mark -- I can tell you from our experience that, yes, there are several BI/Analytics vendors who are incorporating data grids, as well as many home-grown analytical applications, especially in capital markets. Geva Perry GigaSpaces -
Re: Cameron Purdy: Defining a Data Grid[ Go to top ]
- Posted by: Mark N
- Posted on: January 15 2008 23:00 EST
- in response to Geva Perry
Mark -- I can tell you from our experience that, yes, there are several BI/Analytics vendors who are incorporating data grids, as well as many home-grown analytical applications, especially in capital markets.
Geva, thanks for your reply. I think one of our developers talked to Nati at the Spring conference. We are looking to do something unique and get away from the standard ETL (move the piles) Warehouse/analysis. We use SAS and since our analysts know that I am hoping SAS is working on this. If not, we will need to do something "home-grown". We have a "small" set of "data" to prototype with. We are in the health care arena.
Geva Perry
GigaSpaces