Build your online store with Mongo DB, Node.js and Elasticsearch

Ecommerce with Node.js, MongoDB, Elasticsearch

                      In this decade the technology disruption is happening so frequently. If you look at the e-Commerce platforms built on Java/.Net/PHP etc… using the traditional application servers backed up by RDBMS. When the traffic is getting increased we might have come across the scalability, site responsiveness etc … issues. To overcome this we played techniques like increasing the servers, hardware, load balancing etc… In this article we will discuss the technical architecture of an e-commerce system by using industry proven technologies like MongoDB, Node.js and Elasticsearch. Which will enable us to scale horizontally, less system resources utilization, non blocking I/O enables us to handle more traffic, .

The technical architecture of the system is given below.

Enable commerce with Node.js MongoDB, Elasticsearch

Architecture Approach:

Micro Services: Chosen micro services architecture by considering  the below points.

  • Easy to scale out horizontally based on the demand.
  • System resilience. We can achieve high availability.
  • There is a scope to extend/replace the functionality with out major impact on the entire system.

Based on the micro services architecture paradigm, the above system is divided into the following services.

  • Product Catalog Search Service
  • User Registration service
  • User Login Service
  • Shopping Cart Service
  • Product Detail Page Service
  • Checkout Service

The data flow of the above system is given below.

Data Flow of commerce with Node.js, MongoDB, Elasticsearch

                  In the coming article we will discuss about the technology stack to build the above system. Till then enjoy reading!!!

Advertisements

I am Siva Prasad Rao Janapati. Working as a software developer. Has hands on experience on ATG Commerce(DAS/DPS/DCS), Mozu commerce, Broadleaf Commerce, Java, JEE, Spring, Play, JPA, Hibernate, Velocity, JMS, Jboss, Weblogic,Tomcat, Jetty, Apache, Apache Solr, Spring Batch, JQuery, NodeJS, SOAP, REST, MySQL, Oracle, Mongo DB, Memcached, HazelCast, Git, SVN, CVS, Ant, Maven, Gradle, Amazon Web services, Rackspace, Quartz, JMeter, Junit, Open NLP, Facebook Graph,Twitter4J, YouTube Gdata, Bazzarvoice,Yotpo, 4-Tell, Alatest, Shopzilla, Linkshare. I have hands on experience on open sources and commercial technologies.

Tagged with: , ,
Posted in ecommerce, Elasticsearch, MongoDB, Node.js, NoSql
7 comments on “Build your online store with Mongo DB, Node.js and Elasticsearch
  1. Arvind says:

    Has the follow up article been published?

  2. is there any better search engine that we can use for indexing profile data, catalog and orders in terms of memory and search time

  3. Yesu Raj says:

    Very Good Topic… Please keep posting… Thank you

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

DZone

DZone MVB

Java Code Geeks
Java Code Geeks
%d bloggers like this: