Facebook Twitter Gplus LinkedIn YouTube E-mail RSS
Home .Net Overview of what is new in XAP.NET 8.0.1

Overview of what is new in XAP.NET 8.0.1

Docu.NET API

One of GigaSpaces XAP 8.0 new APIs is the SpaceDocument that provides the power of having schema-less objects stored and used within the Space. In 8.0.1 we have added the SpaceDocument to the XAP.NET, which was given the cool code name – Docu.NET. In short, a document is a virtual type that contains its properties in key value form, similar to a dictionary.

You can read a more detailed blog post about this here, that demonstrates the schema-less approach using documents and dynamic properties.

Performance Performance and Performance

We have a saying, which is actually a quote from a movie, you start as fast as you can, and then slowly but surely you increase the pace. This perfectly describes XAP.NET, throughout the version we keep optimizing the product, and this is especially true for XAP.NET 8.0.1 where we have implemented many low level optimizations that have improved performance all across the board, in some cases as much as 250%.

Nested and Collection Indexing

Another new capability in 8.0.1 is the ability to query a nested properties inside an object and also index it, which can be used to perform faster queries. For example:

public class Movie 

    .. 

    [SpaceIndex(Path="Name")]
    [SpaceProperty(StorageType=StorageType.Document)]
    public Actor LeadActor { getset; } 

public class Actor
{
    ..

    public String Name {getset; }
       
}

//A query searching for movies of a specific LeadActor can be created as follows: 
SqlQuery<Movie> query = new SqlQuery<Movie>("LeadActor.Name = ?"); 
query.SetParameters(1"Bruce Willis"); 
Movie[] movies = spaceProxy.ReadMultiple<Movie>(query); 

Combining this with the new SpaceDocument and dynamic indexing addition is a very powerful fusion that can be leveraged.

More details are provided at the Indexing page of the GigaSpaces Wiki.

Cheers,

Eitan Yanovsky

Did you like this? Share it:
 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
© GigaSpaces on Application Scalability | Open Source PaaS and More