One of the critical decisions while undergoing a Hybris project is to choose which database to use, and often the decision swings between SQL or NoSQL (Not only SQL). SQL databases are long-established and are viable for most of the times. However, these are unsuited for big data applications. NoSQL databases are preferred for their ease of use, high scalability, and strong resilience.
Polyglot comes to rescue decision-makers. Polyglot Persistence is introduced in Hybris 1905 to provide ease to use different database technologies i.e., RDBMSs, NoSQL, data warehouses, data marts, flat files, content management servers within one business application.
If we wanted to use two different data stores before Hybris 1905 (except for RDBMS / Solr), it would be quite expensive to create a stable version, while with the Hybris 1905 version you can distribute your data application among many data stores.
Besides, this solution allows you to easily configure different data storage units, even at the level of an item in the Hybris system (e.g., shopping cart, customer, inventory, order, etc.). Polyglot Persistence can be used for existing as well for newly created items in the Hybris system. It supports CRUD (create, read, update, and delete) operations along with searching for objects.
The above diagram illustrates a variation in E-Commerce Platform data storage is achieved by blending of RDBMS (typically SQL) with different NoSQL solutions (i.e Key-Value, Document, Graph).
Polyglot persistence integration in Hybris-1905 induces complexity since each data storage solution requires getting familiar with new technology. However, the benefits are worth it because Polyglot persistence results in high performance by processing large volumes of data without slowing down the business application.
Continuing as is with polyglot persistence even when such distributed SQL databases are available means signing up for never-ending development and operational complexity. Royal Cyber SAP Commerce Cloud experts have unsurpassed experience in this platform. Our consultants have the expertise to guide you at every step. For more on this, you can email us at [email protected] or visit https://www.royalcyber.com/technologies/sap-commerce-cloud-hybris
by Sonam Ramchand