<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Piyush Kumar on Medium]]></title>
        <description><![CDATA[Stories by Piyush Kumar on Medium]]></description>
        <link>https://medium.com/@piykumar?source=rss-9004f5d6ab77------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*za07Ft_hjuaxWkIFifAgfg@2x.jpeg</url>
            <title>Stories by Piyush Kumar on Medium</title>
            <link>https://medium.com/@piykumar?source=rss-9004f5d6ab77------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:48:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@piykumar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Backbone of Data Products @ MMT !]]></title>
            <link>https://tech.makemytrip.com/backbone-of-data-products-mmt-4b93d3bd95e5?source=rss-9004f5d6ab77------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b93d3bd95e5</guid>
            <category><![CDATA[customer-data-platform]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[mobile-data-platform]]></category>
            <dc:creator><![CDATA[Piyush Kumar]]></dc:creator>
            <pubDate>Sat, 16 Dec 2017 02:16:50 GMT</pubDate>
            <atom:updated>2018-03-17T10:21:54.026Z</atom:updated>
            <content:encoded><![CDATA[<h3>MakeMyTrip Data Platform</h3><p>Data Team is one of the key horizontal function at <a href="https://www.makemytrip.com/">MakeMyTrip</a> and essentially works on developing data services/products for Personalization, context aware mobile experiences, Customer Segmentation powering discounting framework, data pipelines of offer communication based on various behavioral search / booking intent, drop-off re-targeting, and targeting consumer groups through growth engines.</p><p>Under the hood data team is building varied consumable data services(low-latency, NRT &amp; highly scalable APIs) used by various LOB(Line of Business) like Flights, Hotels, Holidays, Ground etc. — served across multi-data center(Active:Active)<br>Another key role data platform plays is to enable “Data Driven Decisions” across organization.</p><h4>On a very high-level Data Platform constitutes of the following layers:</h4><h4>Capture layer:</h4><pre>- <strong>PDT</strong> : Pixel Data Tracker<br>- <strong>Kafka</strong> : Distributed Streaming Platform<br>- <strong>DUMDAR</strong> : Data Under Motion to Data At Rest(Kafka to HDFS Pipeline)<br>- <strong>Columbus/MDM</strong> : Schema Repository ++<br>- ETL Tools : SQOOP, Debezium, Scripts , <strong>Workflow</strong>: Oozie , <strong>Airflow (DAGs)</strong></pre><h4>Processing layer:</h4><pre>- <strong>Glide layer</strong> : Real Time / Stream Processing [<strong>Spark Streaming</strong>]<br>- <strong>Batch Processing</strong> : large-scale data processing using <strong>Spark</strong> / SQL</pre><h4>Storage layer:</h4><pre>- <strong>Apache Hadoop</strong> / HDFS / Hive cluster (<strong>Cloudera</strong> Distribution)<br>- <strong>BoulderDB / RocksDB</strong><br>- ArangoDB, Couchbase<br>- <strong>DRUID : OLAP</strong></pre><h4>Data services layer:</h4><pre>- Akka HTTP, Scala (RESTful APIs)<br>- RocksDB (local cache store)<br>- HAProxy (lua : consistent hash LB)</pre><p>Infra is hybrid on-premise and extended with AWS(Mumbai Region) with S3 as data lake and processing : EMR/Spark Cluster(s). Serving Stores and Serving APIs are only on on-premise clusters.</p><h4>Data Flow and the tech stack used (High-Level)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*yx8J8IdQfgbFuAFPqTp-tA.png" /><figcaption>MMT Data Platform</figcaption></figure><h4><a href="https://medium.com/makemytrip-engineering/boulderdb-makemytrips-personalization-user-data-store-acc8e00f1433">BoulderDB</a> : MMT Personalization User Data Store</h4><ul><li>In house database written on top of <strong>RocksDB</strong> reinforcing its power of fast , low latency storage on a cluster.</li><li>Management of cluster coordination, multi datacenter and database versioning supported through <strong>Consul</strong>.</li><li>Made up of mainly 3 components : <br>- <strong>Glide </strong>— Spark streaming to update data in real time from kafka.<br>- <strong>Batch </strong>— Batch Job to refresh database with 100% accurate data everyday.<br>- <strong>API </strong>— API serving layer written using Akka HTTP. Running on the same JVM as Glide for maximum consistency.</li><li><strong>Stickiness</strong> in the API layer is being handled by <strong>HAProxy</strong>.</li><li>Capable of serving 3,00,000 requests per sec in each DC with 99% latency of &lt; 10ms.</li></ul><h3>Hydra : Customer Intelligence &amp; Segmentation platform</h3><h4>Problem statement</h4><ul><li>No unified platform to suffice multi-dimensional queries to dynamically segment users based on various heuristics.</li><li>Capability to target users was missing. Notifications/mailers were broadcasted to all users resulting in spam (resulting in app uninstalls). Moreover, the same customer experience is shown across all the users.</li><li>Pricing/Discounts were not personalized according to the user’s affluence. Pricing/Discounts cannot earlier be created or suppressed on a per-segment basis.</li><li>LoBs were working for creating cohort of users on their own in-silos due to a lack of ORG level platform.</li></ul><h4>Solution — Hydra Engine</h4><p>MakeMyTrip now has a unified customer intelligence &amp; segmentation platform named internally as “Hydra” — which is integrated to various LOB applications and components used across organization for different use-cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ck5qSJg_tASN3b74bd_BRw.png" /><figcaption>Hydra: MakeMyTrip Customer Segmentation Platform</figcaption></figure><p>Many tech components were developed over the period of time, but listing few here to share the broader picture of what went into developing Hydra.</p><ul><li>Developed data pipelines from varied sources to build a common data model having transactional data store and clickstream &amp; mobile data.</li><li>Glide : Stream Processing</li></ul><pre>Real-time Spark Streaming engine to process any number of Kafka topics and transform data on-the-fly to persist to Kafka/BoulderDB.</pre><ul><li>Data Ingestion in DRUID — using it as an OLAP store to run various segmentation queries</li><li>AB Experimentation Framework for online controlled experiments with user segments</li><li>Stacking / Prioritization of segments and logics for offer communication</li><li>Airflow DAGs to manage hydra-batch data pipelines</li></ul><h4>Consumers/Integrations:</h4><ul><li>Pull : Hydra API (Akka HTTP, Scala with RocksDB as local cache store)</li><li>Push : a.) Kafka b.) Campaign Managers</li></ul><h3>Project Cosmos :</h3><blockquote>Every customer is unique and hence we want to treat them that way! Hence we started with Personalized App experience with the core goal to “Put the “my” back in MakeMyTrip”.</blockquote><p>Core essence : Serve the right information at the right time by taking into account user context — <em>user history, search intent, segmentation and user affluence</em></p><p>Riding on our Hydra and BigData Stack powered by Spark/Scala, BoulderDB(Personalization RT data store), Hotel Similarity/Matchmaker/Recommendation Engine — we started serving the unique app experiences to every customer. We created a API Management/Gateway layer more as a middleware connecting to backend LOB APIs/Events/Hydra APIs which we called it as “cp3o”: cosmos personalization layer.</p><h4>Key Features of the platform (Hydra + Cosmos)</h4><ul><li>User Databases (Events, Behavior History , Recommendations)</li><li>Customer Segmentation (Real Time + Batch)</li><li>A/B Testing / Experimentation</li><li>Funnel Analytics / Retention Loops<br>Search Intent</li></ul><blockquote>With Project Cosmos, MakeMyTrip now has a concept of “<strong>per user databases</strong>” for personalization!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*92QNM1I_seDudQHNAOTNPA.png" /><figcaption>Per-User Database / Cosmos</figcaption></figure><p>There are many other cool tech and business use-cases which Data team at MakeMyTrip keep on solving under three different tracks; Number one is Customer Experience, second is Revenue/$$$ impacting projects and the third one is under the umbrella of Tech-Excellence as Enabler for org.</p><p>Note: Both Hydra, Cosmos and other project names are internal project code-names @ MakeMyTrip.</p><p>Disclaimer: The learning, descriptions and other information given above are shared with an intent to share tech thoughts/learning/stack used at MMT. It doesn’t seek to harm or offend any individual or organisation. Neither has it sought to share any sensitive information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b93d3bd95e5" width="1" height="1" alt=""><hr><p><a href="https://tech.makemytrip.com/backbone-of-data-products-mmt-4b93d3bd95e5">Backbone of Data Products @ MMT !</a> was originally published in <a href="https://tech.makemytrip.com/">MakeMyTrip-Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>