{"id":680,"date":"2021-04-09T15:18:21","date_gmt":"2021-04-09T09:48:21","guid":{"rendered":"https:\/\/www.ninjacart.in\/blog\/?p=680"},"modified":"2022-05-26T12:51:10","modified_gmt":"2022-05-26T07:21:10","slug":"necessity-of-real-time-replication-due-to-micro-service-architecture","status":"publish","type":"post","link":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/","title":{"rendered":"Necessity of Real-time Replication due to Microservice Architecture"},"content":{"rendered":"<p>Today, Microservice Architecture has become increasingly popular in companies around the globe. A few key factors where Microservices come into play are in keeping software components well organized, providing a faster go-to-market, high resilience, and more control over scalability. While we enjoy all of these benefits and more, we also face a set of challenges.<\/p>\n<h3>Challenges in Microservices<\/h3>\n<p>Each Microservice is connected to a database dedicated to that service or uses a database shared by multiple other services. While data gets distributed across different databases, it does not provide a way to combine the data from different business functions. This creates a huge gap in providing data visibility to business operations.<\/p>\n<p>Complex businesses like Ninjacart\u2019s Supply Chain deal with a huge web of transactions involving data from various operational units (like logistics, procurement, etc.). If business operations are completely driven by data analytics, there should be a way for business leads to view the consolidated data in a dashboard, where parts of the data are stored in different databases.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignleft size-full wp-image-692\" src=\"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2021\/04\/4REF-01.jpg\" alt=\"\" width=\"1567\" height=\"1625\" srcset=\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/4REF-01.jpg 1567w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/4REF-01-289x300.jpg 289w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/4REF-01-987x1024.jpg 987w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/4REF-01-768x796.jpg 768w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/4REF-01-1481x1536.jpg 1481w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/4REF-01-24x24.jpg 24w\" sizes=\"(max-width: 1567px) 100vw, 1567px\" \/><\/p>\n<h3>Data Lake as a solution<\/h3>\n<p>As a solution, we created a Data Lake. All the databases are replicated into the Data lake using Real-time replication channels. For each database, there will be a Master instance that holds the latest copy of the data, which is also responsible for changing the data. MySQL provides a way to replicate the changes happening on the Database Master instance in real-time. Each change to the data will produce a new entry in the binlog. Using this Binlog, we can replicate the changes to any other Database instance via Mysql Binlog replication. We use this mechanism to bring all the data together into a data lake, where the Database queries can utilize data stored in multiple databases, hence providing a way to connect the data between multiple Business functions.<\/p>\n<p><em>Below is a depiction of Replication channels across the database systems.<\/em><\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-695 aligncenter\" src=\"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2021\/04\/1-01-1.png\" alt=\"\" width=\"891\" height=\"777\" srcset=\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/1-01-1.png 891w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/1-01-1-300x262.png 300w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/1-01-1-768x670.png 768w\" sizes=\"(max-width: 891px) 100vw, 891px\" \/><\/p>\n<p>Data Lake can be sized and scaled accordingly (Disk Space, Network, CPU, Memory) to make sure the systems can handle the Analytical workload along with Operational workload while also working with optimal performance and coping up with increasing data requirements. Once you analyze the database system performance using several metrics like Average\/Max query execution time, CPU Utilization, and Memory usage, you may consider scaling out with a new instance and having multiple such Data Lakes running parallelly. This will improve the Query performance, latency and also provide high availability. We utilize ProxySQL as a load balancer to relay the SQL connections and Distribute the load across multiple database systems, similar to how Nginx\/apache handles HTTP connections.<\/p>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-691\" src=\"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2021\/04\/2-01-3.png\" alt=\"\" width=\"1396\" height=\"820\" srcset=\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/2-01-3.png 1396w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/2-01-3-300x176.png 300w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/2-01-3-1024x601.png 1024w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/2-01-3-768x451.png 768w\" sizes=\"(max-width: 1396px) 100vw, 1396px\" \/><\/p>\n<p><em>The above picture depicts how Load Balancer is used to distribute the Operational workload across different Database servers.<\/em><\/p>\n<p>Since there are multiple replication channels, we ensured that Alerting and Monitoring were in place to continuously track the Replication Status, and Replication Delay using PMM tool + Grafana. These tools help us to fetch all the essential Database metrics, and we use these metrics to send emails and phone alerts and notify the DBAs to take quick action and provide a resolution.<\/p>\n<h3>Scale your Data Volumes to Infinity<\/h3>\n<p>We have talked about having Real-time replication needs for Operational workload, where the business needs live data to track real-time progress on the field. Now, we will understand the Analytics workload. Let\u2019s consider an instance where our Business heads want to look at how today&#8217;s business is doing in comparison to the previous days of this month or do a data comparison of the current month with the previous month. Such comparisons are memory and compute-intensive since we would be operating on huge amounts of data. We separate such cases as Analytics workload and consider it as a different problem than the operational workload. Instead of doing such heavy computations on every request, we optimize it by pre-computing the data once and using it multiple times.<\/p>\n<p>With a growing business, Data volumes and Data variance also grow in proportion. If the system cannot scale, we might have to take a decision on either throwing away historic data, or partitioning the data into two systems, or only storing the data in compressed format.<\/p>\n<p>Such big data problems are fairly common and now have easier solutions available. Especially when the prices of Data storage and maintenance have dropped significantly, it is a good bet to take on solving the problem. We should be able to provide easy access to historic data, help the business to mine key insights, and also compare the current trend with past trends.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-693\" src=\"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2021\/04\/6rEF-01.jpg\" alt=\"\" width=\"1601\" height=\"1272\" srcset=\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/6rEF-01.jpg 1601w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/6rEF-01-300x238.jpg 300w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/6rEF-01-1024x814.jpg 1024w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/6rEF-01-768x610.jpg 768w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/6rEF-01-1536x1220.jpg 1536w\" sizes=\"(max-width: 1601px) 100vw, 1601px\" \/><\/p>\n<p>We used Cloud solutions available in the market that are mainly focusing on providing the ability to store huge data volumes and cracking the performance challenges on analyzing huge data with a decent performance. Data warehouse clouds like Snowflake and Amazon Redshift helped us bring efficiency in dealing with such problems.<\/p>\n<p>With huge volumes of data, batching multiple records helps increase the speed of data replication to the data warehouse cloud. For Analytics workload, we should be able to compromise on the freshness of data to some extent to cope up with the increase in data volume.<\/p>\n<p>We designed a workflow on how the data moves across the systems. There could be multiple steps required to be performed as part of this Replication.<\/p>\n<p><em>This is what a typical workflow may look like \u2014<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-694\" src=\"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2021\/04\/3-01.png\" alt=\"\" width=\"1745\" height=\"482\" srcset=\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/3-01.png 1745w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/3-01-300x83.png 300w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/3-01-1024x283.png 1024w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/3-01-768x212.png 768w, https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/3-01-1536x424.png 1536w\" sizes=\"(max-width: 1745px) 100vw, 1745px\" \/><\/p>\n<p>Considering the system may contain frequent changes to the Data and Schema, we have to also have better visibility on the task status of the Data pipeline and a robust monitoring system that can identify the failures and report the issues for maintenance.<\/p>\n<p>In this regard, Apache Airflow helps us to build and manage the Workflows required to move the data across systems.<\/p>\n<p>Talking about the performance on Data warehouse clouds, you may expect 2-3X efficiency in terms of Query performance in comparison to the RDBMS systems. This gain in performance is given out of the box, without any transformations\/aggregations\/data modelling done on the Data.<\/p>\n<p><strong><em>Bottom line is, we make sure our Data platform provides quick access to any kind of Data requirements from the business, and still be able to keep the Architecture simple, robust and scalable.<\/em><\/strong><\/p>\n<p style=\"text-align: center;\"><strong>. . .<\/strong><\/p>\n<p><em>Written by<br \/>\n<\/em><strong>Sumanth Mamidi<br \/>\n<\/strong>Technical Manager<br \/>\nTech Team &#8211; Ninjacart<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We believe a business is powerful when it is fueled by Data, and our Ninjacart Data platform constantly provides support to the business by providing access to real-time data and also supports Analytical use cases.<\/p>\n","protected":false},"author":1,"featured_media":681,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","_wp_applaud_exclude":false,"footnotes":""},"categories":[167,5],"tags":[22,23,20,46,68,13,109,15,34,19,25,10],"class_list":["post-680","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-architecture","category-technology","tag-agritech","tag-careers","tag-coding","tag-data-science","tag-ecommerce","tag-logistics","tag-microservices","tag-ninjacart","tag-startup","tag-supply-chain","tag-tech","tag-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Necessity of Real-time Replication due to Microservice Architecture - Ninjacart Blogs<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Necessity of Real-time Replication due to Microservice Architecture - Ninjacart Blogs\" \/>\n<meta property=\"og:description\" content=\"We believe a business is powerful when it is fueled by Data, and our Ninjacart Data platform constantly provides support to the business by providing access to real-time data and also supports Analytical use cases.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/\" \/>\n<meta property=\"og:site_name\" content=\"Ninjacart Blogs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ninjacart\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-09T09:48:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-26T07:21:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png\" \/>\n\t<meta property=\"og:image:width\" content=\"5000\" \/>\n\t<meta property=\"og:image:height\" content=\"2418\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ninjacart\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ninjacart\" \/>\n<meta name=\"twitter:site\" content=\"@ninjacart\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ninjacart\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/\"},\"author\":{\"name\":\"Ninjacart\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/person\/b25ebe6f3ec9398a74ab52d78814689e\"},\"headline\":\"Necessity of Real-time Replication due to Microservice Architecture\",\"datePublished\":\"2021-04-09T09:48:21+00:00\",\"dateModified\":\"2022-05-26T07:21:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/\"},\"wordCount\":1046,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png\",\"keywords\":[\"Agritech\",\"Careers\",\"Coding\",\"Data Science\",\"Ecommerce\",\"Logistics\",\"microservices\",\"Ninjacart\",\"startup\",\"Supply Chain\",\"Tech\",\"Technology\"],\"articleSection\":[\"Architecture\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/\",\"url\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/\",\"name\":\"Necessity of Real-time Replication due to Microservice Architecture - Ninjacart Blogs\",\"isPartOf\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png\",\"datePublished\":\"2021-04-09T09:48:21+00:00\",\"dateModified\":\"2022-05-26T07:21:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#primaryimage\",\"url\":\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png\",\"contentUrl\":\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png\",\"width\":5000,\"height\":2418},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dev.ninjacart.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Necessity of Real-time Replication due to Microservice Architecture\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#website\",\"url\":\"https:\/\/dev.ninjacart.com\/blog\/\",\"name\":\"Ninjacart Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dev.ninjacart.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#organization\",\"name\":\"Ninjacart\",\"url\":\"https:\/\/dev.ninjacart.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2022\/03\/NC-Logo-_white-BG-01.png\",\"contentUrl\":\"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2022\/03\/NC-Logo-_white-BG-01.png\",\"width\":200,\"height\":200,\"caption\":\"Ninjacart\"},\"image\":{\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ninjacart\/\",\"https:\/\/x.com\/ninjacart\",\"https:\/\/www.instagram.com\/ninjacart_official\/\",\"https:\/\/www.linkedin.com\/company\/ninja-cart\/mycompany\/verification\/\",\"https:\/\/www.youtube.com\/channel\/UCYjRMgDjCp6wat86aUt_5aw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/person\/b25ebe6f3ec9398a74ab52d78814689e\",\"name\":\"Ninjacart\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2024\/08\/cropped-favicon-300x300-1-96x96.png\",\"contentUrl\":\"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2024\/08\/cropped-favicon-300x300-1-96x96.png\",\"caption\":\"Ninjacart\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Necessity of Real-time Replication due to Microservice Architecture - Ninjacart Blogs","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Necessity of Real-time Replication due to Microservice Architecture - Ninjacart Blogs","og_description":"We believe a business is powerful when it is fueled by Data, and our Ninjacart Data platform constantly provides support to the business by providing access to real-time data and also supports Analytical use cases.","og_url":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/","og_site_name":"Ninjacart Blogs","article_publisher":"https:\/\/www.facebook.com\/ninjacart\/","article_published_time":"2021-04-09T09:48:21+00:00","article_modified_time":"2022-05-26T07:21:10+00:00","og_image":[{"width":5000,"height":2418,"url":"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png","type":"image\/png"}],"author":"Ninjacart","twitter_card":"summary_large_image","twitter_creator":"@ninjacart","twitter_site":"@ninjacart","twitter_misc":{"Written by":"Ninjacart","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#article","isPartOf":{"@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/"},"author":{"name":"Ninjacart","@id":"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/person\/b25ebe6f3ec9398a74ab52d78814689e"},"headline":"Necessity of Real-time Replication due to Microservice Architecture","datePublished":"2021-04-09T09:48:21+00:00","dateModified":"2022-05-26T07:21:10+00:00","mainEntityOfPage":{"@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/"},"wordCount":1046,"commentCount":0,"publisher":{"@id":"https:\/\/dev.ninjacart.com\/blog\/#organization"},"image":{"@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#primaryimage"},"thumbnailUrl":"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png","keywords":["Agritech","Careers","Coding","Data Science","Ecommerce","Logistics","microservices","Ninjacart","startup","Supply Chain","Tech","Technology"],"articleSection":["Architecture","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/","url":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/","name":"Necessity of Real-time Replication due to Microservice Architecture - Ninjacart Blogs","isPartOf":{"@id":"https:\/\/dev.ninjacart.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#primaryimage"},"image":{"@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#primaryimage"},"thumbnailUrl":"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png","datePublished":"2021-04-09T09:48:21+00:00","dateModified":"2022-05-26T07:21:10+00:00","breadcrumb":{"@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#primaryimage","url":"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png","contentUrl":"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2021\/04\/Real-timeReplication_Blog-02.png","width":5000,"height":2418},{"@type":"BreadcrumbList","@id":"https:\/\/dev.ninjacart.com\/blog\/necessity-of-real-time-replication-due-to-micro-service-architecture\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dev.ninjacart.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Necessity of Real-time Replication due to Microservice Architecture"}]},{"@type":"WebSite","@id":"https:\/\/dev.ninjacart.com\/blog\/#website","url":"https:\/\/dev.ninjacart.com\/blog\/","name":"Ninjacart Blog","description":"","publisher":{"@id":"https:\/\/dev.ninjacart.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dev.ninjacart.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dev.ninjacart.com\/blog\/#organization","name":"Ninjacart","url":"https:\/\/dev.ninjacart.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2022\/03\/NC-Logo-_white-BG-01.png","contentUrl":"https:\/\/www.ninjacart.in\/blog\/wp-content\/uploads\/2022\/03\/NC-Logo-_white-BG-01.png","width":200,"height":200,"caption":"Ninjacart"},"image":{"@id":"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ninjacart\/","https:\/\/x.com\/ninjacart","https:\/\/www.instagram.com\/ninjacart_official\/","https:\/\/www.linkedin.com\/company\/ninja-cart\/mycompany\/verification\/","https:\/\/www.youtube.com\/channel\/UCYjRMgDjCp6wat86aUt_5aw"]},{"@type":"Person","@id":"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/person\/b25ebe6f3ec9398a74ab52d78814689e","name":"Ninjacart","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dev.ninjacart.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2024\/08\/cropped-favicon-300x300-1-96x96.png","contentUrl":"https:\/\/dev.ninjacart.com\/blog\/wp-content\/uploads\/2024\/08\/cropped-favicon-300x300-1-96x96.png","caption":"Ninjacart"}}]}},"_links":{"self":[{"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/posts\/680"}],"collection":[{"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/comments?post=680"}],"version-history":[{"count":10,"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/posts\/680\/revisions"}],"predecessor-version":[{"id":1761,"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/posts\/680\/revisions\/1761"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/media\/681"}],"wp:attachment":[{"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/media?parent=680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/categories?post=680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.ninjacart.com\/blog\/wp-json\/wp\/v2\/tags?post=680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}