SlideShare a Scribd company logo
1 of 28
Download to read offline
Versant
Innovation
Leveraging your Knowledge of ORM Towards
Performance-based NoSQL Technology




Versant Corporation U.S. Headquarters
255 Shoreline Dr. Suite 450, Redwood City, CA 94065
www.versant.com | 650-232-2400
Overview   NoSQL at it’s Core

           Pole-Position – Overview

           About the Code

               Circuits Description

               RDB JPA Code

               MongoDB Code

               Versant JPA Code

           Results – Winners of the Race

           Developer Challenge
NoSQL at its Core
A Shift In Application Architecture
                              Inefficient
                            CPU destroying
                               Mapping




 •   Google – Soft-Schema          Excessive
 •   IBM – Schema-Less          Repetitive data
                              movement and JOIN
                                  calculation
Why the Shift is Needed
• Think about it – How Often do Relations Change?
    – Blog : BlogEntry , Order : OrderItem , You : Friend

Stop Banging Your Head on the Relational Wall

Relations Rarely Change, Stop Recalculating Them

You don’t need ALL your Data, you can distribute
Measured Value

How NoSQL performance stacks up to Relational
PolePosition
             Performance Benchmark
• Established in 2003
   – NoSQL -vs- ORM
• Code Complexity Circuits
   –   Flat Objects
   –   Graphs
   –   Inherited Objects
   –   Collections
• Data Operations
   – CRUD
   – Concurrency
• Scalability
Contenders | Methodology
• Contenders
  – ORM
     • Hibernate – MySQL / Postgres
     • OpenJPA – MySQL / Postgres (other RDB, cannot publish – same
       basic results)
  – NoSQL
     • MongoDB
     • Versant Database Engine
• Methodology
  – External RDB Experts, Internal NoSQL Experts
  – Open Source Benchmark Code for all contenders
About the Code

• ORM - Common Code Base
  – Hibernate – MySQL / Postgres
  – OpenJPA – MySQL / Postgres
  – MongoDB
  – Versant
Circuit Structure
• Simulate CRUD on embedded graph of different Classes.
• Class model - Complex Circuit:

      class Holder0 {
             String _name;
             List <Holder0> _children;
             Holder0[] _array; }
      class Holder1 extends Holder0 {
             int _i1; }
      class Holder2 extends Holder1 {
             int _i2 <indexed>; } ...class HolderN extends…..
Hibernate JPA Code
• Write – Generates Holder’s to user spec depth
  ComplexHolder cp = new ComplexHolder( ); em.makePersistent(cp);

• Read – Access root of graph and traverse
  cp = em.find( ComplexHolder.class, id ); cp.getChildren().touch();

• Query
   String query = "from org.polepos.teams.hibernate.data.Holder2 where
     i2=" + currentInt; Iterator it = em.iterate(query);

• Delete – Deletes Graph - cascading operation
ORM JPA Mapping
                            XML Mapping File for each Persistent Class ( 11ea Files )

•   - <hibernate-mapping package="org.polepos.teams.hibernate.data" default-cascade="none" default-access="property" default-lazy="true" auto-import="true">
•   - <class name="ComplexHolder0" table="tComplexHolderNew0" polymorphism="implicit" mutable="true" dynamic-update="false" dynamic-insert="false" select-before-update="false"
    optimistic-lock="version">
•     <id name="id" column="fid" type="long" />
•   - <discriminator type="string" not-null="true" force="false" insert="true">
•     <column name="DISCRIMINATOR" />
•     </discriminator>
•     <property name="name" column="fname" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never" />
•   - <list name="children" access="field" cascade="all" inverse="false" mutable="true" optimistic-lock="true" embed-xml="true">
•     <key column="parentId" on-delete="noaction" />
•     <index column="elementIndex" />
•     <many-to-many class="ComplexHolder0" embed-xml="true" not-found="exception" unique="false" />
•     </list>
•   - <array name="array" access="field" cascade="all" inverse="false" mutable="true" optimistic-lock="true" embed-xml="true">
•     <key column="parentId" on-delete="noaction" />
•     <index column="elementIndex" />
•     <many-to-many class="ComplexHolder0" embed-xml="true" not-found="exception" unique="false" />
•     </array>
•   - <subclass name="ComplexHolder1" discriminator-value="D" dynamic-update="false" dynamic-insert="false" select-before-update="false">
•     <property name="i1" column="i1" type="int" unique="false" optimistic-lock="true" lazy="false" generated="never" />
•   - <subclass name="ComplexHolder2" discriminator-value="E" dynamic-update="false" dynamic-insert="false" select-before-update="false">
•     <property name="i2" column="i2" type="int" index="i2_idx" unique="false" optimistic-lock="true" lazy="false" generated="never" />
•   - <subclass name="ComplexHolder3" discriminator-value="F" dynamic-update="false" dynamic-insert="false" select-before-update="false">
•     <property name="i3" column="i3" type="int" unique="false" optimistic-lock="true" lazy="false" generated="never" />
•   - <subclass name="ComplexHolder4" discriminator-value="G" dynamic-update="false" dynamic-insert="false" select-before-update="false">
•     <property name="i4" column="i4" type="int" unique="false" optimistic-lock="true" lazy="false" generated="never" />
•     </subclass>
•     </subclass>
•     </subclass>
•     </subclass>
•     </class>
•     </hibernate-mapping>
MongoDB Code
private void storeData(Mongo mongo) {
    collection(mongo).insert(new BasicDBObject("test", "object"));
 }

public ComplexHolder0 convertFromDocument(DBObject data, DeserializationOptions deserializationOption) {
   ComplexHolder0 instance = createInstance(getAsString(data, TYPE_ATTRIBUTE));
   instance.setName(getAsString(data, NAME_ATTRIBUTE));
   if (null != data.get(CHILDREN)) {
      instance.setChildren(fromMongoObjectToList(getAsList(data, CHILDREN), deserializationOption));
   }
   if (null != data.get(ARRAY)) {
      final List<ComplexHolder0> arrayContent = fromMongoObjectToList(getAsList(data, ARRAY),
    deserializationOption);
      instance.setArray(arrayContent.toArray(new ComplexHolder0[arrayContent.size()]));
   }
   readAttributes(data, instance);
   return instance;
 }
MongoDB Mapping
private static void writeSubTypeAttributes(ComplexHolder0 holder, BasicDBObject
   dataStorage) {
    if (holder instanceof ComplexHolder1) {
       dataStorage.put(FIELD_I1, ((ComplexHolder1) holder)._i1);
    }
    if (holder instanceof ComplexHolder2) {
       dataStorage.put(FIELD_I2, ((ComplexHolder2) holder)._i2);
    }

private static void readAttributes(DBObject dataStorage, ComplexHolder0 holder) {
    if (holder instanceof ComplexHolder1) {
       ((ComplexHolder1) holder)._i1 = (Integer) dataStorage.get(FIELD_I1);
    }
    if (holder instanceof ComplexHolder2) {
       ((ComplexHolder2) holder)._i2 = (Integer) dataStorage.get(FIELD_I2);
    }
MongoDB Mapping
                                    public SerialisationResult convertToDocument(ComplexHolder0 holder)new ArrayList<ComplexHolder0>(data.size());
                                                                        List<ComplexHolder0> objects = {
                                      List<BasicDBObject> holder2Objects = new(Object o : data) {
                                                                             for ArrayList<BasicDBObject>();
class Serialisation {                 BasicDBObject document = convertToDocument(holder, holder2Objects);           }
  static final String TYPE_ATTRIBUTE = "_t";                                     objects.add(restoreDocumentOrReference(o, deserializationOption));
                                                                                                                          if (holder instanceof ComplexHolder4) {
                                      return new SerialisationResult(document, holder2Objects);
                                                                             }
  private static final String PACKAGE_NAME = ComplexHolder0.class.getPackage().getName();
                                    }                                                                                         dataStorage.put(FIELD_I4, ((ComplexHolder4) holder)._i4);
  static final String NAME_ATTRIBUTE = "name";                               return objects;                              }
  static final String CHILDREN = "children";                               }                                           }
                                    public ComplexHolder0 convertFromDocument(DBObject data) {
  static final String ARRAY = "array";return convertFromDocument(data,private ComplexHolder0 restoreDocumentOrReference(Object o, DeserializationOptions deserializationOption) {
                                                                            DeserializationOptions.FULL_DESERIALISATION);
  static final String REFERENCE_TO_ORIGINAL_DOCUMENT = "_refToOriginal";
                                    }                                                                                  private static void readAttributes(DBObject dataStorage, if (holder }
  static final String FIELD_I1 = "_i1";                                      DBObject dbObj = (DBObject) o;               if (holder instanceof ComplexHolder2) {
  static final String FIELD_I2 = "_i2";                                      if (null != dbObj.get(REFERENCE_TO_ORIGINAL_DOCUMENT)) {
                                    public ComplexHolder0 convertFromDocument(DBObject data, DeserializationOptions deserializationOption) { holder)._i2 = (Integer) dataStorage.get(FIELD_I2);
                                                                                                                              ((ComplexHolder2)
                                                                                 return deserializationOption.deserialize(this, dbObj);
  static final String FIELD_I3 = "_i3";
                                      ComplexHolder0 instance = createInstance(getAsString(data, TYPE_ATTRIBUTE));        }
  static final String FIELD_I4 = "_i4";                                      } else {                                     if (holder instanceof ComplexHolder3) {
                                      instance.setName(getAsString(data, NAME_ATTRIBUTE));
                                                                                 return convertFromDocument(dbObj, deserializationOption); holder)._i3 = (Integer) dataStorage.get(FIELD_I3);
                                      if (null != data.get(CHILDREN)) {                                                       ((ComplexHolder3)
                                                                             }                                            }
                                         instance.setChildren(fromMongoObjectToList(getAsList(data, CHILDREN), deserializationOption));
                                                                           }
  private final OneArgFunction<BasicDBObject, DBRef> refCreator;
                                      }                                                                                   if (holder instanceof ComplexHolder4) {
                                      if (null != data.get(ARRAY)) {                                                          ((ComplexHolder4) holder)._i4 = (Integer) dataStorage.get(FIELD_I4);
                                                                           private static List getAsList(DBObject data, String attributeName) {
                                                                                                                          }
                                         final List<ComplexHolder0> arrayContent = fromMongoObjectToList(getAsList(data, ARRAY), deserializationOption);
                                                                             return (List) data.get(attributeName); }
  Serialisation(OneArgFunction<BasicDBObject, DBRef> refCreator) {
                                         instance.setArray(arrayContent.toArray(new ComplexHolder0[arrayContent.size()]));
     this.refCreator = refCreator; }                                       }
  }                                   readAttributes(data, instance);                                                  private List<Object> toMongoObject(List<ComplexHolder0> children,) {
                                                                           private static String getAsString(DBObject data, String attribute) {= new ArrayList<Object>(children.size());
                                                                                                                          List<Object> objects
                                      return instance;
  public static Serialisation create(OneArgFunction<BasicDBObject, DBRef> refCreator) { data.get(attribute);
                                    }
                                                                             return (String)                              for (ComplexHolder0 child : children) {
     if (null == refCreator) {                                             }                                                  final BasicDBObject document = convertToDocument(child,
        throw new ArgumentNullException("requires a reference creator");                                                      if (isDocumentOnlyReferenced(child)) {
                                    private BasicDBObject convertToDocument(ComplexHolder0 holder, List<BasicDBObject> referencedDocumentsCollector) {
     }                                                                     private static ComplexHolder0 createInstance(String className) {
                                                                                                                                  referencedDocumentsCollector.add(document);
                                      BasicDBObject dbObject = createDocumentWithAttributesOnly(holder);
                                                                             try {
     return new Serialisation(refCreator);
                                      dbObject.put(CHILDREN, toMongoObject(holder.getChildren(), referencedDocumentsCollector));  DBObject copy = createDocumentWithAttributesOnly(child);
  }                                                                              return (ComplexHolder0) Thread.currentThread().getContextClassLoader()
                                                                                                                                  copy.put(REFERENCE_TO_ORIGINAL_DOCUMENT,
                                      if (null != holder.getArray()) {                 .loadClass(PACKAGE_NAME + "." + className).newInstance();
                                                                                                                                  objects.add(copy);
                                         dbObject.put(ARRAY, toMongoObject(asList(holder.getArray()), referencedDocumentsCollector));
                                                                             } catch (Exception e) {
  public static OneArgFunction<BasicDBObject, DBRef> createReferenceCreator(final DBCollection collection) {                  } else {
                                      }                                          throw rethrow(e);
     if (null == collection) {        return dbObject;                                                                            objects.add(document);
        throw new ArgumentNullException("requires a collection");            }                                                }
                                    }                                      }
     }                                                                                                                    }
     return new OneArgFunction<BasicDBObject, DBRef>() {
                                    private BasicDBObject createDocumentWithAttributesOnly(ComplexHolder0 holder) { return objects; holder, BasicDBObject dataStorage) {
        @Override                                                          private static void writeSubTypeAttributes(ComplexHolder0
                                                                                                                       }
                                      BasicDBObject dbObject = new BasicDBObject("_id", new ObjectId());
                                                                             if (holder instanceof ComplexHolder1) {
        public DBRef invoke(BasicDBObject basicDBObject) {
                                      dbObject.put(NAME_ATTRIBUTE, holder.getName());
          final DB db = collection.getDB();                                      dataStorage.put(FIELD_I1, ((ComplexHolder1) holder)._i1); isDocumentOnlyReferenced(ComplexHolder0 child) {
                                                                                                                       private static boolean
                                      dbObject.put(TYPE_ATTRIBUTE, holder.getClass().getSimpleName());
                                                                             }
          final Object id = basicDBObject.get("_id");
                                      writeSubTypeAttributes(holder, dbObject);                                           return child.getClass().equals(ComplexHolder2.class);
          if (null == id) {                                                  if (holder instanceof ComplexHolder2) {}
                                      return dbObject;                           dataStorage.put(FIELD_I2, ((ComplexHolder2) holder)._i2);
             throw new IllegalStateException("Expected an '_id' on the object");
                                    }
          }                                                                  }
          return new DBRef(db, collection.getName(), id);                    if (holder instanceof ComplexHolder3) {
                                    public List<ComplexHolder0> fromMongoObjectToList(List data, DeserializationOptions deserializationOption) {
                                                                                 dataStorage.put(FIELD_I3, ((ComplexHolder3) holder)._i3);
        }
    };                                                                       }
  }                                                                          if (holder instanceof ComplexHolder4) {
Versant JPA Code
• Write – Generates Holder’s to user spec depth
  ComplexHolder cp = new ComplexHolder( ); em.makePersistent(cp);

• Read – Access root of graph and traverse
  cp = em.find( ComplexHolder.class, id ); cp.getChildren().touch();

• Query
   String query = "from org.polepos.teams.versant.data.Holder2 where i2="
     + currentInt; Iterator it = session.iterate(query);

• Delete – Deletes Graph – Cascading Operation
Versant JPA Mapping
 single XML File with primitive declaration entries



<class name="ComplexHolder0">
     <field name="name" />
     <field name="array" />
        <field name="children">
     <collection element-type="ComplexHolder0"/> </field>
</class>
Sh@t’s and Grins
• JDBC Code
JDBC StringBuilder sb = new StringBuilder(); sb.append("select " +
   HOLDER_TABLE0 + ".id from " + HOLDER_TABLE0); sb.append(" INNER
   JOIN " + HOLDER_TABLES[0]); sb.append(" on " + HOLDER_TABLE0 + ".id =
   " + HOLDER_TABLES[0] + ".id "); sb.append(" INNER JOIN " +
   HOLDER_TABLES[1]); sb.append(" on " + HOLDER_TABLE0 + ".id = " +
   HOLDER_TABLES[1] + ".id "); sb.append(" LEFT OUTER JOIN " +
   HOLDER_TABLES[2]); sb.append(" on " + HOLDER_TABLE0 + ".id = " +
   HOLDER_TABLES[2] + ".id "); sb.append(" LEFT OUTER JOIN " +
   HOLDER_TABLES[3]); sb.append(" on " + HOLDER_TABLE0 + ".id = " +
   HOLDER_TABLES[3] + ".id "); sb.append(" where " + HOLDER_TABLES[1] +
   ".i2 = ?"); PreparedStatement stat = prepareStatement(sb.toString());
   ResultSet resultSet stat.executeQuery();
PolePosition
BenchMark Summary Results
FlatObject - Single Thread
Results – ComplexConcurrency
        @mongo - no safe mode
Results – QueryConcurrency
       @mongo – no safe mode
Results – InsertConcurrent
       @mongo – no safe mode
Results – ComplexConcurrency
        @mongo – safe mode
Results – QueryConcurrency
        @mongo – safe mode
Results – InsertConcurrent
       @mongo – safe mode
Conclusions
• Wake-up, smell the coffee
  – JOINs are not needed - unless adhoc analytics
• Take care of business, dump a load of code
  – Serialization is bad, data useful once structured
  – Mapping is Mapping, even when it’s not an ORM
• Get on your Bad Motor Scooter and Ride
  – NoSQL without Mapping rules the road

        Get the Code: http://www.polepos.org
Contact
      Robert Greene
Vice President, Technology
   Versant Corporation

  rgreene@versant.com
      650-232-2431

More Related Content

What's hot

JDBC - JPA - Spring Data
JDBC - JPA - Spring DataJDBC - JPA - Spring Data
JDBC - JPA - Spring DataArturs Drozdovs
 
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...Marco Gralike
 
java API for XML DOM
java API for XML DOMjava API for XML DOM
java API for XML DOMSurinder Kaur
 
Implementing CQRS and Event Sourcing with RavenDB
Implementing CQRS and Event Sourcing with RavenDBImplementing CQRS and Event Sourcing with RavenDB
Implementing CQRS and Event Sourcing with RavenDBOren Eini
 
2001: JNDI Its all in the Context
2001:  JNDI Its all in the Context2001:  JNDI Its all in the Context
2001: JNDI Its all in the ContextRussell Castagnaro
 
Simplifying Persistence for Java and MongoDB with Morphia
Simplifying Persistence for Java and MongoDB with MorphiaSimplifying Persistence for Java and MongoDB with Morphia
Simplifying Persistence for Java and MongoDB with MorphiaMongoDB
 
Doctrine MongoDB Object Document Mapper
Doctrine MongoDB Object Document MapperDoctrine MongoDB Object Document Mapper
Doctrine MongoDB Object Document MapperJonathan Wage
 
Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2Marco Gralike
 
Symfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODMSymfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODMJonathan Wage
 
Indexing & Query Optimization
Indexing & Query OptimizationIndexing & Query Optimization
Indexing & Query OptimizationMongoDB
 
Indexing and Query Optimization
Indexing and Query OptimizationIndexing and Query Optimization
Indexing and Query OptimizationMongoDB
 
Symfony2 from the Trenches
Symfony2 from the TrenchesSymfony2 from the Trenches
Symfony2 from the TrenchesJonathan Wage
 
09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WPNguyen Tuan
 
Cloudera Sessions - Clinic 3 - Advanced Steps - Fast-track Development for ET...
Cloudera Sessions - Clinic 3 - Advanced Steps - Fast-track Development for ET...Cloudera Sessions - Clinic 3 - Advanced Steps - Fast-track Development for ET...
Cloudera Sessions - Clinic 3 - Advanced Steps - Fast-track Development for ET...Cloudera, Inc.
 
Indexing and Query Optimizer (Mongo Austin)
Indexing and Query Optimizer (Mongo Austin)Indexing and Query Optimizer (Mongo Austin)
Indexing and Query Optimizer (Mongo Austin)MongoDB
 

What's hot (20)

JDBC - JPA - Spring Data
JDBC - JPA - Spring DataJDBC - JPA - Spring Data
JDBC - JPA - Spring Data
 
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
 
java API for XML DOM
java API for XML DOMjava API for XML DOM
java API for XML DOM
 
Implementing CQRS and Event Sourcing with RavenDB
Implementing CQRS and Event Sourcing with RavenDBImplementing CQRS and Event Sourcing with RavenDB
Implementing CQRS and Event Sourcing with RavenDB
 
2001: JNDI Its all in the Context
2001:  JNDI Its all in the Context2001:  JNDI Its all in the Context
2001: JNDI Its all in the Context
 
Simplifying Persistence for Java and MongoDB with Morphia
Simplifying Persistence for Java and MongoDB with MorphiaSimplifying Persistence for Java and MongoDB with Morphia
Simplifying Persistence for Java and MongoDB with Morphia
 
Doctrine MongoDB Object Document Mapper
Doctrine MongoDB Object Document MapperDoctrine MongoDB Object Document Mapper
Doctrine MongoDB Object Document Mapper
 
Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2
 
Symfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODMSymfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODM
 
Indexing & Query Optimization
Indexing & Query OptimizationIndexing & Query Optimization
Indexing & Query Optimization
 
Ajax chap 5
Ajax chap 5Ajax chap 5
Ajax chap 5
 
Indexing and Query Optimization
Indexing and Query OptimizationIndexing and Query Optimization
Indexing and Query Optimization
 
Ajax chap 4
Ajax chap 4Ajax chap 4
Ajax chap 4
 
Simple Jdbc With Spring 2.5
Simple Jdbc With Spring 2.5Simple Jdbc With Spring 2.5
Simple Jdbc With Spring 2.5
 
Symfony2 from the Trenches
Symfony2 from the TrenchesSymfony2 from the Trenches
Symfony2 from the Trenches
 
09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP
 
Lecture17
Lecture17Lecture17
Lecture17
 
Cloudera Sessions - Clinic 3 - Advanced Steps - Fast-track Development for ET...
Cloudera Sessions - Clinic 3 - Advanced Steps - Fast-track Development for ET...Cloudera Sessions - Clinic 3 - Advanced Steps - Fast-track Development for ET...
Cloudera Sessions - Clinic 3 - Advanced Steps - Fast-track Development for ET...
 
Indexing and Query Optimizer (Mongo Austin)
Indexing and Query Optimizer (Mongo Austin)Indexing and Query Optimizer (Mongo Austin)
Indexing and Query Optimizer (Mongo Austin)
 
JAXP
JAXPJAXP
JAXP
 

Viewers also liked

WhyNot07 Dennis Eclarin
WhyNot07 Dennis EclarinWhyNot07 Dennis Eclarin
WhyNot07 Dennis EclarinWhyNot Forum
 
CDO Webinar: 2017 Trends in Data Strategy
CDO Webinar: 2017 Trends in Data StrategyCDO Webinar: 2017 Trends in Data Strategy
CDO Webinar: 2017 Trends in Data StrategyDATAVERSITY
 
A New Way of Thinking About MDM
A New Way of Thinking About MDMA New Way of Thinking About MDM
A New Way of Thinking About MDMDATAVERSITY
 
RWDG Slides: Corporate Data Governance - The CDO is the Data Governance Chief
RWDG Slides: Corporate Data Governance - The CDO is the Data Governance ChiefRWDG Slides: Corporate Data Governance - The CDO is the Data Governance Chief
RWDG Slides: Corporate Data Governance - The CDO is the Data Governance ChiefDATAVERSITY
 
Smart Data Slides: Leverage the IOT to Build a Smart Data Ecosystem
Smart Data Slides: Leverage the IOT to Build a Smart Data EcosystemSmart Data Slides: Leverage the IOT to Build a Smart Data Ecosystem
Smart Data Slides: Leverage the IOT to Build a Smart Data EcosystemDATAVERSITY
 
Slides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
Slides: NoSQL Data Modeling Using JSON Documents – A Practical ApproachSlides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
Slides: NoSQL Data Modeling Using JSON Documents – A Practical ApproachDATAVERSITY
 
Data-Ed Slides: Exorcising the Seven Deadly Data Sins
Data-Ed Slides: Exorcising the Seven Deadly Data SinsData-Ed Slides: Exorcising the Seven Deadly Data Sins
Data-Ed Slides: Exorcising the Seven Deadly Data SinsDATAVERSITY
 
RWDG Slides: Using Agile to Justify Data Governance
RWDG Slides: Using Agile to Justify Data GovernanceRWDG Slides: Using Agile to Justify Data Governance
RWDG Slides: Using Agile to Justify Data GovernanceDATAVERSITY
 
LDM Slides: Data Modeling for XML and JSON
LDM Slides: Data Modeling for XML and JSONLDM Slides: Data Modeling for XML and JSON
LDM Slides: Data Modeling for XML and JSONDATAVERSITY
 

Viewers also liked (9)

WhyNot07 Dennis Eclarin
WhyNot07 Dennis EclarinWhyNot07 Dennis Eclarin
WhyNot07 Dennis Eclarin
 
CDO Webinar: 2017 Trends in Data Strategy
CDO Webinar: 2017 Trends in Data StrategyCDO Webinar: 2017 Trends in Data Strategy
CDO Webinar: 2017 Trends in Data Strategy
 
A New Way of Thinking About MDM
A New Way of Thinking About MDMA New Way of Thinking About MDM
A New Way of Thinking About MDM
 
RWDG Slides: Corporate Data Governance - The CDO is the Data Governance Chief
RWDG Slides: Corporate Data Governance - The CDO is the Data Governance ChiefRWDG Slides: Corporate Data Governance - The CDO is the Data Governance Chief
RWDG Slides: Corporate Data Governance - The CDO is the Data Governance Chief
 
Smart Data Slides: Leverage the IOT to Build a Smart Data Ecosystem
Smart Data Slides: Leverage the IOT to Build a Smart Data EcosystemSmart Data Slides: Leverage the IOT to Build a Smart Data Ecosystem
Smart Data Slides: Leverage the IOT to Build a Smart Data Ecosystem
 
Slides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
Slides: NoSQL Data Modeling Using JSON Documents – A Practical ApproachSlides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
Slides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
 
Data-Ed Slides: Exorcising the Seven Deadly Data Sins
Data-Ed Slides: Exorcising the Seven Deadly Data SinsData-Ed Slides: Exorcising the Seven Deadly Data Sins
Data-Ed Slides: Exorcising the Seven Deadly Data Sins
 
RWDG Slides: Using Agile to Justify Data Governance
RWDG Slides: Using Agile to Justify Data GovernanceRWDG Slides: Using Agile to Justify Data Governance
RWDG Slides: Using Agile to Justify Data Governance
 
LDM Slides: Data Modeling for XML and JSON
LDM Slides: Data Modeling for XML and JSONLDM Slides: Data Modeling for XML and JSON
LDM Slides: Data Modeling for XML and JSON
 

Similar to Wed 1630 greene_robert_color

DESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.ppt
DESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.pptDESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.ppt
DESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.pptAntoJoseph36
 
Leveraging your Knowledge of ORM Towards Performance-based NoSQL Technology
Leveraging your Knowledge of ORM Towards Performance-based NoSQL TechnologyLeveraging your Knowledge of ORM Towards Performance-based NoSQL Technology
Leveraging your Knowledge of ORM Towards Performance-based NoSQL TechnologyDATAVERSITY
 
Hands On Spring Data
Hands On Spring DataHands On Spring Data
Hands On Spring DataEric Bottard
 
PostgreSQL's Secret NoSQL Superpowers
PostgreSQL's Secret NoSQL SuperpowersPostgreSQL's Secret NoSQL Superpowers
PostgreSQL's Secret NoSQL SuperpowersAmanda Gilmore
 
IndexedDB - Querying and Performance
IndexedDB - Querying and PerformanceIndexedDB - Querying and Performance
IndexedDB - Querying and PerformanceParashuram N
 
Entity Framework Core & Micro-Orms with Asp.Net Core
Entity Framework Core & Micro-Orms with Asp.Net CoreEntity Framework Core & Micro-Orms with Asp.Net Core
Entity Framework Core & Micro-Orms with Asp.Net CoreStephane Belkheraz
 
Building Your First MongoDB App
Building Your First MongoDB AppBuilding Your First MongoDB App
Building Your First MongoDB AppHenrik Ingo
 
Paintfree Object-Document Mapping for MongoDB by Philipp Krenn
Paintfree Object-Document Mapping for MongoDB by Philipp KrennPaintfree Object-Document Mapping for MongoDB by Philipp Krenn
Paintfree Object-Document Mapping for MongoDB by Philipp KrennJavaDayUA
 
NoSQL Endgame Percona Live Online 2020
NoSQL Endgame Percona Live Online 2020NoSQL Endgame Percona Live Online 2020
NoSQL Endgame Percona Live Online 2020Thodoris Bais
 
Create a Customized GMF DnD Framework
Create a Customized GMF DnD FrameworkCreate a Customized GMF DnD Framework
Create a Customized GMF DnD FrameworkKaniska Mandal
 
HelsinkiJS meet-up. Dmitry Soshnikov - ECMAScript 6
HelsinkiJS meet-up. Dmitry Soshnikov - ECMAScript 6HelsinkiJS meet-up. Dmitry Soshnikov - ECMAScript 6
HelsinkiJS meet-up. Dmitry Soshnikov - ECMAScript 6Dmitry Soshnikov
 
NoSQL and JavaScript: a Love Story
NoSQL and JavaScript: a Love StoryNoSQL and JavaScript: a Love Story
NoSQL and JavaScript: a Love StoryAlexandre Morgaut
 
Core Data Migrations and A Better Option
Core Data Migrations and A Better OptionCore Data Migrations and A Better Option
Core Data Migrations and A Better OptionPriya Rajagopal
 
Declarative Internal DSLs in Lua: A Game Changing Experience
Declarative Internal DSLs in Lua: A Game Changing ExperienceDeclarative Internal DSLs in Lua: A Game Changing Experience
Declarative Internal DSLs in Lua: A Game Changing ExperienceAlexander Gladysh
 
Hibernate
Hibernate Hibernate
Hibernate Sunil OS
 

Similar to Wed 1630 greene_robert_color (20)

DESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.ppt
DESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.pptDESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.ppt
DESIGNING A PERSISTENCE FRAMEWORK WITH PATTERNS.ppt
 
Leveraging your Knowledge of ORM Towards Performance-based NoSQL Technology
Leveraging your Knowledge of ORM Towards Performance-based NoSQL TechnologyLeveraging your Knowledge of ORM Towards Performance-based NoSQL Technology
Leveraging your Knowledge of ORM Towards Performance-based NoSQL Technology
 
Spring data
Spring dataSpring data
Spring data
 
Hands On Spring Data
Hands On Spring DataHands On Spring Data
Hands On Spring Data
 
CouchDB-Lucene
CouchDB-LuceneCouchDB-Lucene
CouchDB-Lucene
 
PostgreSQL's Secret NoSQL Superpowers
PostgreSQL's Secret NoSQL SuperpowersPostgreSQL's Secret NoSQL Superpowers
PostgreSQL's Secret NoSQL Superpowers
 
IndexedDB - Querying and Performance
IndexedDB - Querying and PerformanceIndexedDB - Querying and Performance
IndexedDB - Querying and Performance
 
Entity Framework Core & Micro-Orms with Asp.Net Core
Entity Framework Core & Micro-Orms with Asp.Net CoreEntity Framework Core & Micro-Orms with Asp.Net Core
Entity Framework Core & Micro-Orms with Asp.Net Core
 
Building Your First MongoDB App
Building Your First MongoDB AppBuilding Your First MongoDB App
Building Your First MongoDB App
 
Paintfree Object-Document Mapping for MongoDB by Philipp Krenn
Paintfree Object-Document Mapping for MongoDB by Philipp KrennPaintfree Object-Document Mapping for MongoDB by Philipp Krenn
Paintfree Object-Document Mapping for MongoDB by Philipp Krenn
 
NoSQL Endgame Percona Live Online 2020
NoSQL Endgame Percona Live Online 2020NoSQL Endgame Percona Live Online 2020
NoSQL Endgame Percona Live Online 2020
 
Doctrine for NoSQL
Doctrine for NoSQLDoctrine for NoSQL
Doctrine for NoSQL
 
Create a Customized GMF DnD Framework
Create a Customized GMF DnD FrameworkCreate a Customized GMF DnD Framework
Create a Customized GMF DnD Framework
 
HelsinkiJS meet-up. Dmitry Soshnikov - ECMAScript 6
HelsinkiJS meet-up. Dmitry Soshnikov - ECMAScript 6HelsinkiJS meet-up. Dmitry Soshnikov - ECMAScript 6
HelsinkiJS meet-up. Dmitry Soshnikov - ECMAScript 6
 
Requery overview
Requery overviewRequery overview
Requery overview
 
NoSQL and JavaScript: a Love Story
NoSQL and JavaScript: a Love StoryNoSQL and JavaScript: a Love Story
NoSQL and JavaScript: a Love Story
 
Core Data Migrations and A Better Option
Core Data Migrations and A Better OptionCore Data Migrations and A Better Option
Core Data Migrations and A Better Option
 
Doctrine and NoSQL
Doctrine and NoSQLDoctrine and NoSQL
Doctrine and NoSQL
 
Declarative Internal DSLs in Lua: A Game Changing Experience
Declarative Internal DSLs in Lua: A Game Changing ExperienceDeclarative Internal DSLs in Lua: A Game Changing Experience
Declarative Internal DSLs in Lua: A Game Changing Experience
 
Hibernate
Hibernate Hibernate
Hibernate
 

More from DATAVERSITY

Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...DATAVERSITY
 
Data at the Speed of Business with Data Mastering and Governance
Data at the Speed of Business with Data Mastering and GovernanceData at the Speed of Business with Data Mastering and Governance
Data at the Speed of Business with Data Mastering and GovernanceDATAVERSITY
 
Exploring Levels of Data Literacy
Exploring Levels of Data LiteracyExploring Levels of Data Literacy
Exploring Levels of Data LiteracyDATAVERSITY
 
Building a Data Strategy – Practical Steps for Aligning with Business Goals
Building a Data Strategy – Practical Steps for Aligning with Business GoalsBuilding a Data Strategy – Practical Steps for Aligning with Business Goals
Building a Data Strategy – Practical Steps for Aligning with Business GoalsDATAVERSITY
 
Make Data Work for You
Make Data Work for YouMake Data Work for You
Make Data Work for YouDATAVERSITY
 
Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What is the Question?Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What is the Question?DATAVERSITY
 
Data Catalogs Are the Answer – What Is the Question?
Data Catalogs Are the Answer – What Is the Question?Data Catalogs Are the Answer – What Is the Question?
Data Catalogs Are the Answer – What Is the Question?DATAVERSITY
 
Data Modeling Fundamentals
Data Modeling FundamentalsData Modeling Fundamentals
Data Modeling FundamentalsDATAVERSITY
 
Showing ROI for Your Analytic Project
Showing ROI for Your Analytic ProjectShowing ROI for Your Analytic Project
Showing ROI for Your Analytic ProjectDATAVERSITY
 
How a Semantic Layer Makes Data Mesh Work at Scale
How a Semantic Layer Makes  Data Mesh Work at ScaleHow a Semantic Layer Makes  Data Mesh Work at Scale
How a Semantic Layer Makes Data Mesh Work at ScaleDATAVERSITY
 
Is Enterprise Data Literacy Possible?
Is Enterprise Data Literacy Possible?Is Enterprise Data Literacy Possible?
Is Enterprise Data Literacy Possible?DATAVERSITY
 
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...DATAVERSITY
 
Emerging Trends in Data Architecture – What’s the Next Big Thing?
Emerging Trends in Data Architecture – What’s the Next Big Thing?Emerging Trends in Data Architecture – What’s the Next Big Thing?
Emerging Trends in Data Architecture – What’s the Next Big Thing?DATAVERSITY
 
Data Governance Trends - A Look Backwards and Forwards
Data Governance Trends - A Look Backwards and ForwardsData Governance Trends - A Look Backwards and Forwards
Data Governance Trends - A Look Backwards and ForwardsDATAVERSITY
 
Data Governance Trends and Best Practices To Implement Today
Data Governance Trends and Best Practices To Implement TodayData Governance Trends and Best Practices To Implement Today
Data Governance Trends and Best Practices To Implement TodayDATAVERSITY
 
2023 Trends in Enterprise Analytics
2023 Trends in Enterprise Analytics2023 Trends in Enterprise Analytics
2023 Trends in Enterprise AnalyticsDATAVERSITY
 
Data Strategy Best Practices
Data Strategy Best PracticesData Strategy Best Practices
Data Strategy Best PracticesDATAVERSITY
 
Who Should Own Data Governance – IT or Business?
Who Should Own Data Governance – IT or Business?Who Should Own Data Governance – IT or Business?
Who Should Own Data Governance – IT or Business?DATAVERSITY
 
Data Management Best Practices
Data Management Best PracticesData Management Best Practices
Data Management Best PracticesDATAVERSITY
 
MLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive AdvantageMLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive AdvantageDATAVERSITY
 

More from DATAVERSITY (20)

Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
 
Data at the Speed of Business with Data Mastering and Governance
Data at the Speed of Business with Data Mastering and GovernanceData at the Speed of Business with Data Mastering and Governance
Data at the Speed of Business with Data Mastering and Governance
 
Exploring Levels of Data Literacy
Exploring Levels of Data LiteracyExploring Levels of Data Literacy
Exploring Levels of Data Literacy
 
Building a Data Strategy – Practical Steps for Aligning with Business Goals
Building a Data Strategy – Practical Steps for Aligning with Business GoalsBuilding a Data Strategy – Practical Steps for Aligning with Business Goals
Building a Data Strategy – Practical Steps for Aligning with Business Goals
 
Make Data Work for You
Make Data Work for YouMake Data Work for You
Make Data Work for You
 
Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What is the Question?Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What is the Question?
 
Data Catalogs Are the Answer – What Is the Question?
Data Catalogs Are the Answer – What Is the Question?Data Catalogs Are the Answer – What Is the Question?
Data Catalogs Are the Answer – What Is the Question?
 
Data Modeling Fundamentals
Data Modeling FundamentalsData Modeling Fundamentals
Data Modeling Fundamentals
 
Showing ROI for Your Analytic Project
Showing ROI for Your Analytic ProjectShowing ROI for Your Analytic Project
Showing ROI for Your Analytic Project
 
How a Semantic Layer Makes Data Mesh Work at Scale
How a Semantic Layer Makes  Data Mesh Work at ScaleHow a Semantic Layer Makes  Data Mesh Work at Scale
How a Semantic Layer Makes Data Mesh Work at Scale
 
Is Enterprise Data Literacy Possible?
Is Enterprise Data Literacy Possible?Is Enterprise Data Literacy Possible?
Is Enterprise Data Literacy Possible?
 
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
 
Emerging Trends in Data Architecture – What’s the Next Big Thing?
Emerging Trends in Data Architecture – What’s the Next Big Thing?Emerging Trends in Data Architecture – What’s the Next Big Thing?
Emerging Trends in Data Architecture – What’s the Next Big Thing?
 
Data Governance Trends - A Look Backwards and Forwards
Data Governance Trends - A Look Backwards and ForwardsData Governance Trends - A Look Backwards and Forwards
Data Governance Trends - A Look Backwards and Forwards
 
Data Governance Trends and Best Practices To Implement Today
Data Governance Trends and Best Practices To Implement TodayData Governance Trends and Best Practices To Implement Today
Data Governance Trends and Best Practices To Implement Today
 
2023 Trends in Enterprise Analytics
2023 Trends in Enterprise Analytics2023 Trends in Enterprise Analytics
2023 Trends in Enterprise Analytics
 
Data Strategy Best Practices
Data Strategy Best PracticesData Strategy Best Practices
Data Strategy Best Practices
 
Who Should Own Data Governance – IT or Business?
Who Should Own Data Governance – IT or Business?Who Should Own Data Governance – IT or Business?
Who Should Own Data Governance – IT or Business?
 
Data Management Best Practices
Data Management Best PracticesData Management Best Practices
Data Management Best Practices
 
MLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive AdvantageMLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive Advantage
 

Recently uploaded

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Recently uploaded (20)

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 

Wed 1630 greene_robert_color

  • 1. Versant Innovation Leveraging your Knowledge of ORM Towards Performance-based NoSQL Technology Versant Corporation U.S. Headquarters 255 Shoreline Dr. Suite 450, Redwood City, CA 94065 www.versant.com | 650-232-2400
  • 2. Overview NoSQL at it’s Core Pole-Position – Overview About the Code Circuits Description RDB JPA Code MongoDB Code Versant JPA Code Results – Winners of the Race Developer Challenge
  • 4. A Shift In Application Architecture Inefficient CPU destroying Mapping • Google – Soft-Schema Excessive • IBM – Schema-Less Repetitive data movement and JOIN calculation
  • 5. Why the Shift is Needed • Think about it – How Often do Relations Change? – Blog : BlogEntry , Order : OrderItem , You : Friend Stop Banging Your Head on the Relational Wall Relations Rarely Change, Stop Recalculating Them You don’t need ALL your Data, you can distribute
  • 6. Measured Value How NoSQL performance stacks up to Relational
  • 7. PolePosition Performance Benchmark • Established in 2003 – NoSQL -vs- ORM • Code Complexity Circuits – Flat Objects – Graphs – Inherited Objects – Collections • Data Operations – CRUD – Concurrency • Scalability
  • 8. Contenders | Methodology • Contenders – ORM • Hibernate – MySQL / Postgres • OpenJPA – MySQL / Postgres (other RDB, cannot publish – same basic results) – NoSQL • MongoDB • Versant Database Engine • Methodology – External RDB Experts, Internal NoSQL Experts – Open Source Benchmark Code for all contenders
  • 9. About the Code • ORM - Common Code Base – Hibernate – MySQL / Postgres – OpenJPA – MySQL / Postgres – MongoDB – Versant
  • 10. Circuit Structure • Simulate CRUD on embedded graph of different Classes. • Class model - Complex Circuit: class Holder0 { String _name; List <Holder0> _children; Holder0[] _array; } class Holder1 extends Holder0 { int _i1; } class Holder2 extends Holder1 { int _i2 <indexed>; } ...class HolderN extends…..
  • 11. Hibernate JPA Code • Write – Generates Holder’s to user spec depth ComplexHolder cp = new ComplexHolder( ); em.makePersistent(cp); • Read – Access root of graph and traverse cp = em.find( ComplexHolder.class, id ); cp.getChildren().touch(); • Query String query = "from org.polepos.teams.hibernate.data.Holder2 where i2=" + currentInt; Iterator it = em.iterate(query); • Delete – Deletes Graph - cascading operation
  • 12. ORM JPA Mapping XML Mapping File for each Persistent Class ( 11ea Files ) • - <hibernate-mapping package="org.polepos.teams.hibernate.data" default-cascade="none" default-access="property" default-lazy="true" auto-import="true"> • - <class name="ComplexHolder0" table="tComplexHolderNew0" polymorphism="implicit" mutable="true" dynamic-update="false" dynamic-insert="false" select-before-update="false" optimistic-lock="version"> • <id name="id" column="fid" type="long" /> • - <discriminator type="string" not-null="true" force="false" insert="true"> • <column name="DISCRIMINATOR" /> • </discriminator> • <property name="name" column="fname" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never" /> • - <list name="children" access="field" cascade="all" inverse="false" mutable="true" optimistic-lock="true" embed-xml="true"> • <key column="parentId" on-delete="noaction" /> • <index column="elementIndex" /> • <many-to-many class="ComplexHolder0" embed-xml="true" not-found="exception" unique="false" /> • </list> • - <array name="array" access="field" cascade="all" inverse="false" mutable="true" optimistic-lock="true" embed-xml="true"> • <key column="parentId" on-delete="noaction" /> • <index column="elementIndex" /> • <many-to-many class="ComplexHolder0" embed-xml="true" not-found="exception" unique="false" /> • </array> • - <subclass name="ComplexHolder1" discriminator-value="D" dynamic-update="false" dynamic-insert="false" select-before-update="false"> • <property name="i1" column="i1" type="int" unique="false" optimistic-lock="true" lazy="false" generated="never" /> • - <subclass name="ComplexHolder2" discriminator-value="E" dynamic-update="false" dynamic-insert="false" select-before-update="false"> • <property name="i2" column="i2" type="int" index="i2_idx" unique="false" optimistic-lock="true" lazy="false" generated="never" /> • - <subclass name="ComplexHolder3" discriminator-value="F" dynamic-update="false" dynamic-insert="false" select-before-update="false"> • <property name="i3" column="i3" type="int" unique="false" optimistic-lock="true" lazy="false" generated="never" /> • - <subclass name="ComplexHolder4" discriminator-value="G" dynamic-update="false" dynamic-insert="false" select-before-update="false"> • <property name="i4" column="i4" type="int" unique="false" optimistic-lock="true" lazy="false" generated="never" /> • </subclass> • </subclass> • </subclass> • </subclass> • </class> • </hibernate-mapping>
  • 13. MongoDB Code private void storeData(Mongo mongo) { collection(mongo).insert(new BasicDBObject("test", "object")); } public ComplexHolder0 convertFromDocument(DBObject data, DeserializationOptions deserializationOption) { ComplexHolder0 instance = createInstance(getAsString(data, TYPE_ATTRIBUTE)); instance.setName(getAsString(data, NAME_ATTRIBUTE)); if (null != data.get(CHILDREN)) { instance.setChildren(fromMongoObjectToList(getAsList(data, CHILDREN), deserializationOption)); } if (null != data.get(ARRAY)) { final List<ComplexHolder0> arrayContent = fromMongoObjectToList(getAsList(data, ARRAY), deserializationOption); instance.setArray(arrayContent.toArray(new ComplexHolder0[arrayContent.size()])); } readAttributes(data, instance); return instance; }
  • 14. MongoDB Mapping private static void writeSubTypeAttributes(ComplexHolder0 holder, BasicDBObject dataStorage) { if (holder instanceof ComplexHolder1) { dataStorage.put(FIELD_I1, ((ComplexHolder1) holder)._i1); } if (holder instanceof ComplexHolder2) { dataStorage.put(FIELD_I2, ((ComplexHolder2) holder)._i2); } private static void readAttributes(DBObject dataStorage, ComplexHolder0 holder) { if (holder instanceof ComplexHolder1) { ((ComplexHolder1) holder)._i1 = (Integer) dataStorage.get(FIELD_I1); } if (holder instanceof ComplexHolder2) { ((ComplexHolder2) holder)._i2 = (Integer) dataStorage.get(FIELD_I2); }
  • 15. MongoDB Mapping public SerialisationResult convertToDocument(ComplexHolder0 holder)new ArrayList<ComplexHolder0>(data.size()); List<ComplexHolder0> objects = { List<BasicDBObject> holder2Objects = new(Object o : data) { for ArrayList<BasicDBObject>(); class Serialisation { BasicDBObject document = convertToDocument(holder, holder2Objects); } static final String TYPE_ATTRIBUTE = "_t"; objects.add(restoreDocumentOrReference(o, deserializationOption)); if (holder instanceof ComplexHolder4) { return new SerialisationResult(document, holder2Objects); } private static final String PACKAGE_NAME = ComplexHolder0.class.getPackage().getName(); } dataStorage.put(FIELD_I4, ((ComplexHolder4) holder)._i4); static final String NAME_ATTRIBUTE = "name"; return objects; } static final String CHILDREN = "children"; } } public ComplexHolder0 convertFromDocument(DBObject data) { static final String ARRAY = "array";return convertFromDocument(data,private ComplexHolder0 restoreDocumentOrReference(Object o, DeserializationOptions deserializationOption) { DeserializationOptions.FULL_DESERIALISATION); static final String REFERENCE_TO_ORIGINAL_DOCUMENT = "_refToOriginal"; } private static void readAttributes(DBObject dataStorage, if (holder } static final String FIELD_I1 = "_i1"; DBObject dbObj = (DBObject) o; if (holder instanceof ComplexHolder2) { static final String FIELD_I2 = "_i2"; if (null != dbObj.get(REFERENCE_TO_ORIGINAL_DOCUMENT)) { public ComplexHolder0 convertFromDocument(DBObject data, DeserializationOptions deserializationOption) { holder)._i2 = (Integer) dataStorage.get(FIELD_I2); ((ComplexHolder2) return deserializationOption.deserialize(this, dbObj); static final String FIELD_I3 = "_i3"; ComplexHolder0 instance = createInstance(getAsString(data, TYPE_ATTRIBUTE)); } static final String FIELD_I4 = "_i4"; } else { if (holder instanceof ComplexHolder3) { instance.setName(getAsString(data, NAME_ATTRIBUTE)); return convertFromDocument(dbObj, deserializationOption); holder)._i3 = (Integer) dataStorage.get(FIELD_I3); if (null != data.get(CHILDREN)) { ((ComplexHolder3) } } instance.setChildren(fromMongoObjectToList(getAsList(data, CHILDREN), deserializationOption)); } private final OneArgFunction<BasicDBObject, DBRef> refCreator; } if (holder instanceof ComplexHolder4) { if (null != data.get(ARRAY)) { ((ComplexHolder4) holder)._i4 = (Integer) dataStorage.get(FIELD_I4); private static List getAsList(DBObject data, String attributeName) { } final List<ComplexHolder0> arrayContent = fromMongoObjectToList(getAsList(data, ARRAY), deserializationOption); return (List) data.get(attributeName); } Serialisation(OneArgFunction<BasicDBObject, DBRef> refCreator) { instance.setArray(arrayContent.toArray(new ComplexHolder0[arrayContent.size()])); this.refCreator = refCreator; } } } readAttributes(data, instance); private List<Object> toMongoObject(List<ComplexHolder0> children,) { private static String getAsString(DBObject data, String attribute) {= new ArrayList<Object>(children.size()); List<Object> objects return instance; public static Serialisation create(OneArgFunction<BasicDBObject, DBRef> refCreator) { data.get(attribute); } return (String) for (ComplexHolder0 child : children) { if (null == refCreator) { } final BasicDBObject document = convertToDocument(child, throw new ArgumentNullException("requires a reference creator"); if (isDocumentOnlyReferenced(child)) { private BasicDBObject convertToDocument(ComplexHolder0 holder, List<BasicDBObject> referencedDocumentsCollector) { } private static ComplexHolder0 createInstance(String className) { referencedDocumentsCollector.add(document); BasicDBObject dbObject = createDocumentWithAttributesOnly(holder); try { return new Serialisation(refCreator); dbObject.put(CHILDREN, toMongoObject(holder.getChildren(), referencedDocumentsCollector)); DBObject copy = createDocumentWithAttributesOnly(child); } return (ComplexHolder0) Thread.currentThread().getContextClassLoader() copy.put(REFERENCE_TO_ORIGINAL_DOCUMENT, if (null != holder.getArray()) { .loadClass(PACKAGE_NAME + "." + className).newInstance(); objects.add(copy); dbObject.put(ARRAY, toMongoObject(asList(holder.getArray()), referencedDocumentsCollector)); } catch (Exception e) { public static OneArgFunction<BasicDBObject, DBRef> createReferenceCreator(final DBCollection collection) { } else { } throw rethrow(e); if (null == collection) { return dbObject; objects.add(document); throw new ArgumentNullException("requires a collection"); } } } } } } return new OneArgFunction<BasicDBObject, DBRef>() { private BasicDBObject createDocumentWithAttributesOnly(ComplexHolder0 holder) { return objects; holder, BasicDBObject dataStorage) { @Override private static void writeSubTypeAttributes(ComplexHolder0 } BasicDBObject dbObject = new BasicDBObject("_id", new ObjectId()); if (holder instanceof ComplexHolder1) { public DBRef invoke(BasicDBObject basicDBObject) { dbObject.put(NAME_ATTRIBUTE, holder.getName()); final DB db = collection.getDB(); dataStorage.put(FIELD_I1, ((ComplexHolder1) holder)._i1); isDocumentOnlyReferenced(ComplexHolder0 child) { private static boolean dbObject.put(TYPE_ATTRIBUTE, holder.getClass().getSimpleName()); } final Object id = basicDBObject.get("_id"); writeSubTypeAttributes(holder, dbObject); return child.getClass().equals(ComplexHolder2.class); if (null == id) { if (holder instanceof ComplexHolder2) {} return dbObject; dataStorage.put(FIELD_I2, ((ComplexHolder2) holder)._i2); throw new IllegalStateException("Expected an '_id' on the object"); } } } return new DBRef(db, collection.getName(), id); if (holder instanceof ComplexHolder3) { public List<ComplexHolder0> fromMongoObjectToList(List data, DeserializationOptions deserializationOption) { dataStorage.put(FIELD_I3, ((ComplexHolder3) holder)._i3); } }; } } if (holder instanceof ComplexHolder4) {
  • 16. Versant JPA Code • Write – Generates Holder’s to user spec depth ComplexHolder cp = new ComplexHolder( ); em.makePersistent(cp); • Read – Access root of graph and traverse cp = em.find( ComplexHolder.class, id ); cp.getChildren().touch(); • Query String query = "from org.polepos.teams.versant.data.Holder2 where i2=" + currentInt; Iterator it = session.iterate(query); • Delete – Deletes Graph – Cascading Operation
  • 17. Versant JPA Mapping single XML File with primitive declaration entries <class name="ComplexHolder0"> <field name="name" /> <field name="array" /> <field name="children"> <collection element-type="ComplexHolder0"/> </field> </class>
  • 18. Sh@t’s and Grins • JDBC Code JDBC StringBuilder sb = new StringBuilder(); sb.append("select " + HOLDER_TABLE0 + ".id from " + HOLDER_TABLE0); sb.append(" INNER JOIN " + HOLDER_TABLES[0]); sb.append(" on " + HOLDER_TABLE0 + ".id = " + HOLDER_TABLES[0] + ".id "); sb.append(" INNER JOIN " + HOLDER_TABLES[1]); sb.append(" on " + HOLDER_TABLE0 + ".id = " + HOLDER_TABLES[1] + ".id "); sb.append(" LEFT OUTER JOIN " + HOLDER_TABLES[2]); sb.append(" on " + HOLDER_TABLE0 + ".id = " + HOLDER_TABLES[2] + ".id "); sb.append(" LEFT OUTER JOIN " + HOLDER_TABLES[3]); sb.append(" on " + HOLDER_TABLE0 + ".id = " + HOLDER_TABLES[3] + ".id "); sb.append(" where " + HOLDER_TABLES[1] + ".i2 = ?"); PreparedStatement stat = prepareStatement(sb.toString()); ResultSet resultSet stat.executeQuery();
  • 21. Results – ComplexConcurrency @mongo - no safe mode
  • 22. Results – QueryConcurrency @mongo – no safe mode
  • 23. Results – InsertConcurrent @mongo – no safe mode
  • 24. Results – ComplexConcurrency @mongo – safe mode
  • 25. Results – QueryConcurrency @mongo – safe mode
  • 26. Results – InsertConcurrent @mongo – safe mode
  • 27. Conclusions • Wake-up, smell the coffee – JOINs are not needed - unless adhoc analytics • Take care of business, dump a load of code – Serialization is bad, data useful once structured – Mapping is Mapping, even when it’s not an ORM • Get on your Bad Motor Scooter and Ride – NoSQL without Mapping rules the road Get the Code: http://www.polepos.org
  • 28. Contact Robert Greene Vice President, Technology Versant Corporation rgreene@versant.com 650-232-2431