# Myntra

Stories of code. - Medium

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How We Load-Test 700+ Independently-Owned Services Without Touching Production

DevFeed: [How We Load-Test 700+ Independently-Owned Services Without Touching Production](<https://devfeed.tech/articles/how-we-load-test-700-independently-owned-services-without-touching-production-113423.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/how-we-load-test-700-independently-owned-services-without-touching-production-5a48f6bf89ce?source=rss----7484818e9f88---4>)

Author: Vasuman Mishra

Published: 2026-11-02T14:01:26Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [service-mesh](<https://devfeed.tech/topics/service-mesh.md>), [linkerd](<https://devfeed.tech/topics/linkerd.md>), [internal developer platform](<https://devfeed.tech/topics/internal-developer-platform.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [self-service](<https://devfeed.tech/topics/self-service.md>), [Automation](<https://devfeed.tech/topics/automation.md>)

Tags: [blast-radius](<https://devfeed.tech/tags/blast-radius.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [devops](<https://devfeed.tech/tags/devops.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [engineering-manager](<https://devfeed.tech/tags/engineering-manager.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linkerd](<https://devfeed.tech/tags/linkerd.md>), [load](<https://devfeed.tech/tags/load.md>), [load-testing](<https://devfeed.tech/tags/load-testing.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [platform-engineering](<https://devfeed.tech/tags/platform-engineering.md>), [production](<https://devfeed.tech/tags/production.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [routing](<https://devfeed.tech/tags/routing.md>), [scale](<https://devfeed.tech/tags/scale.md>), [services](<https://devfeed.tech/tags/services.md>), [teams](<https://devfeed.tech/tags/teams.md>), [test](<https://devfeed.tech/tags/test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [traffic](<https://devfeed.tech/tags/traffic.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

Myntra load-tests services in the production cluster without sending test traffic through production deployments by using a patched Linkerd proxy that adds an NFR header to outbound requests. At each mesh hop, requests with that header go to an available NFR deployment; when none exists, traffic falls back to the production dependency. This avoids a second cluster and application changes across 100+ services, though load-test scripts need a one-time header update. A self-serve UI lets service owners assemble and disassemble NFR deployments, reuses existing production approval groups for access, and marks failed setups as PARTIAL. For Birthday Bash 2026, Myntra reports testing 70 services in parallel and completing certification in three days. The excerpt says databases, caches, and Kafka flows still need separate routing approaches, and the header patch remains a Linkerd fork.

### Source excerpt

The problem with testing at scale, the routing trick that solved it, and the UI that made it something any team could use on their own At Myntra, reliability on a sale day is the priority. When marquee events like Big Fashion Festival (BFF), End of Reason Sale (EORS), or Myntra Birthday Bash land, hundreds of thousands of customers show up within the same few hours, and every one of those sessions has to hold up exactly as well as any other normal day. A slow page or a failed checkout during a sale defines the entire experience for that customer, translating directly into brand image loss and massive opportunity cost. So a good part of our time in the weeks before a sale focuses on two critical tracks: accurate sale traffic prediction, and executing rigorous scale testing against that predicted traffic. Getting a real answer means load-testing hundreds of services under production-like conditions. Say that out loud and the problem is obvious: you can't safely fire a full-scale load test at production, and you also can't afford to build and run a second production just to test against. This is how we built our way around that, without a second production and without asking a hundred-plus teams to change how they work. And how we then turned it from something only the platform team could operate into something any engineering manager could run on their own. The problem: three ways to fail at this Myntra runs 500+ microservices, each owned by its own team. We needed to leverage our existing underlying infrastructure rather than reinventing it, driven by two core principles: Identical underlying infrastructure: Using the exact same cluster environment eliminates unexpected behavioral differences and surprise elements between scale testing and live production. Zero application-level changes: Services must continue calling the same URLs and dependencies without teams rewriting networking or business logic. Zero production blast radius: Production traffic cannot take a hit

## Load Testing Without Touching Production: Header-Based Routing with Linkerd

DevFeed: [Load Testing Without Touching Production: Header-Based Routing with Linkerd](<https://devfeed.tech/articles/load-testing-without-touching-production-header-based-routing-with-linkerd-113424.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/load-testing-without-touching-production-header-based-routing-with-linkerd-4d0442c27a73?source=rss----7484818e9f88---4>)

Author: Vasuman Mishra

Published: 2026-11-02T14:01:13Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [linkerd](<https://devfeed.tech/topics/linkerd.md>)

Tags: [automatic](<https://devfeed.tech/tags/automatic.md>), [devops](<https://devfeed.tech/tags/devops.md>), [gateway-api](<https://devfeed.tech/tags/gateway-api.md>), [header](<https://devfeed.tech/tags/header.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linkerd](<https://devfeed.tech/tags/linkerd.md>), [load](<https://devfeed.tech/tags/load.md>), [load-testing](<https://devfeed.tech/tags/load-testing.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [production](<https://devfeed.tech/tags/production.md>), [routing](<https://devfeed.tech/tags/routing.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

The excerpt describes a parallel load-test environment for 700+ independently owned microservices that runs in the existing production cluster without a second cluster or service-team code changes. The authors chose Linkerd custom header routing: Kubernetes Gateway API HTTPRoute and GRPCRoute rules match an automatically attached `NFR: true` request header and forward traffic to NFR-tagged pods. The excerpt says Linkerd did not support automatic outgoing header patching out of the box, so the team forked Linkerd, patched outbound proxy traffic to attach the header according to custom routing rules, and built a custom image. It contrasts this with variable-name endpoints, which would require teams to maintain extra DNS and deployment entries, and dedicated pre-production infrastructure, which would require a second control plane kept synchronized with production.

### Source excerpt

How we built a parallel load-test environment for 700+ independently-owned microservices, without standing up a second clusterThis is the deep dive into our routing internals. If you haven't read the overview yet -- covering the problem, the high-level architecture, and the UI built on top of it -- start with Part 1; as this piece builds directly on it. Below, we break down the routing mechanism powering the parallel load-test (VLT, Vertical Load Testing) environment: how it runs inside the existing production cluster at zero cost per test, without requiring code changes from any of the 700+ service teams. Three approaches, recappedThree approaches evaluated for a parallel load-test environment Part 1 covers why the two obvious options fell short: variable-name endpoints leave every team maintaining a second DNS entry and deployment profile indefinitely, while dedicated pre-production infrastructure requires a second control plane kept in sync with a production cluster that never stops changing. Linkerd custom header routing won because it needed neither. The mechanism it leans on is boring by design: Kubernetes' Gateway API ships HTTPRoute and GRPCRoute as native CRDs, and any Gateway API implementation, Linkerd included, can match a rule on a request header and forward it to a different backend. That's the same primitive most meshes use for canary splits or blue-green cutovers. Get an NFR: true header attached to outbound calls automatically, and it routes straight to an NFR-tagged pod inside the same cluster instead -- no new DNS, no new control plane, and no code changes in the ~100 services that would otherwise need to know about any of this. Why automatic header injection was the hard part Linkerd doesn't support annotation-based header patching for outgoing calls out of the box. There was no config flag for it. So we forked Linkerd, patched it to auto-attach the header to outbound proxy traffic based on our own routing rules, and built a custom image from that f

## From kubectl and Slack Threads to One Click: Building a Self-Serve NFR Environment

DevFeed: [From kubectl and Slack Threads to One Click: Building a Self-Serve NFR Environment](<https://devfeed.tech/articles/from-kubectl-and-slack-threads-to-one-click-building-a-self-serve-nfr-environment-113422.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/from-kubectl-and-slack-threads-to-one-click-building-a-self-serve-nfr-environment-b1b3c42b173b?source=rss----7484818e9f88---4>)

Author: Vasuman Mishra

Published: 2026-11-02T14:01:01Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [internal developer platform automation](<https://devfeed.tech/topics/internal-developer-platform-automation.md>), [self-service](<https://devfeed.tech/topics/self-service.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [staging](<https://devfeed.tech/topics/staging.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>)

Tags: [assemble](<https://devfeed.tech/tags/assemble.md>), [behaviour](<https://devfeed.tech/tags/behaviour.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [design](<https://devfeed.tech/tags/design.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [devops](<https://devfeed.tech/tags/devops.md>), [engineering-manager](<https://devfeed.tech/tags/engineering-manager.md>), [environment](<https://devfeed.tech/tags/environment.md>), [functional](<https://devfeed.tech/tags/functional.md>), [ingress](<https://devfeed.tech/tags/ingress.md>), [internal-tools](<https://devfeed.tech/tags/internal-tools.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [latency](<https://devfeed.tech/tags/latency.md>), [load](<https://devfeed.tech/tags/load.md>), [machine](<https://devfeed.tech/tags/machine.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [namespaces](<https://devfeed.tech/tags/namespaces.md>), [platform](<https://devfeed.tech/tags/platform.md>), [platform-engineering](<https://devfeed.tech/tags/platform-engineering.md>), [pod](<https://devfeed.tech/tags/pod.md>), [process](<https://devfeed.tech/tags/process.md>), [slack](<https://devfeed.tech/tags/slack.md>)

### AI overview

The self-serve NFR UI lets Engineering Managers assemble, monitor, and tear down services in a dedicated Kubernetes environment for pre-event scale, latency, and HPA checks. Each service moves through IDLE, ASSEMBLING, ASSEMBLED, or PARTIAL states; a lock protects state changes, and PARTIAL services must be disassembled to clean up resources before another assembly. Assembly creates a namespace, configures a Linkerd HTTPRoute and ingress, then scales the deployment and waits for ready pods. Disassembly deletes the route and namespace. The UI reuses existing production approval-group records for manager access, with parent-service lookup for child Odin groups and read-only access for others. Admins can group services into VLT deployment slots and bulk assemble from a CSV after preview; shared log polling supports simultaneous operations. The excerpt says this removes platform-team involvement in the common case, but safe traffic routing is reserved for Part 2.

### Source excerpt

How we turned a manual, easy-to-break load-test setup into a UI any engineering manager can run themselvesPart 1 covers why the old kubectl-and-Slack process for NFR testing didn't scale. This piece is about what replaced it. We support 700+ NFR-deployable services, and a single sale-readiness window can touch dozens of them at once. So we built a self-serve UI that lets any Engineering Manager assemble, monitor, and tear down their own services in the NFR environment, with zero platform-team involvement in the common case. What "NFR environment" actually means NFR stands for Non-Functional Requirement -- the dedicated Kubernetes setup we spin up to validate scale, latency, and HPA (Horizontal Pod Autoscaler) behaviour before a high-traffic event, without touching production. How traffic actually gets routed there safely is its own story, covered in Part 2. Before the UI, assembling a service into NFR meant creating a namespace by hand, wiring up routing, configuring ingress, and scaling up the deployment , all while hoping you remembered every step in order for every single service. Designing around one idea: every deploy is a state machine The whole UI collapses down to a single state machine, and once we'd drawn it out, most of the hard design questions answered themselves. NFR service state machine A service is always in exactly one of five states. IDLE means it isn't running in NFR. Clicking Assemble moves it to ASSEMBLING, which lands on ASSEMBLED (traffic-ready) if everything goes well, or PARTIAL if any step fails. PARTIAL exists specifically so failure is never silent. A partial service can't be re-assembled directly; it has to be disassembled first, which cleans up whatever Kubernetes resources were left behind and returns it to IDLE. That one rule, that you can't assemble over a partial state, killed off a whole category of bugs where a cluster ends up with two or three orphaned namespaces for the same service. One small function enforces this, and every t

## From Products to Inspiration: Inside the Engine of Occasion-based outfit visualiser

DevFeed: [From Products to Inspiration: Inside the Engine of Occasion-based outfit visualiser](<https://devfeed.tech/articles/from-products-to-inspiration-inside-the-engine-of-occasion-based-outfit-visualiser-20137.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/from-products-to-inspiration-inside-the-engine-of-occasion-based-outfit-visualiser-a09f494d43ae?source=rss----7484818e9f88---4>)

Author: Ankit Kumar

Published: 2026-04-23T18:23:51Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [Image](<https://devfeed.tech/topics/image.md>), [Computer vision](<https://devfeed.tech/topics/computer-vision.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>)

Tags: [accessories](<https://devfeed.tech/tags/accessories.md>), [ai](<https://devfeed.tech/tags/ai.md>), [art](<https://devfeed.tech/tags/art.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [curation](<https://devfeed.tech/tags/curation.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [drapes](<https://devfeed.tech/tags/drapes.md>), [fashion](<https://devfeed.tech/tags/fashion.md>), [footwear](<https://devfeed.tech/tags/footwear.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [gym](<https://devfeed.tech/tags/gym.md>), [intelligence](<https://devfeed.tech/tags/intelligence.md>), [json](<https://devfeed.tech/tags/json.md>), [look](<https://devfeed.tech/tags/look.md>), [model](<https://devfeed.tech/tags/model.md>), [occasion-based-shopping](<https://devfeed.tech/tags/occasion-based-shopping.md>), [outfit-ideas](<https://devfeed.tech/tags/outfit-ideas.md>), [personal](<https://devfeed.tech/tags/personal.md>), [product](<https://devfeed.tech/tags/product.md>), [recipe](<https://devfeed.tech/tags/recipe.md>), [recommendations](<https://devfeed.tech/tags/recommendations.md>), [shopping](<https://devfeed.tech/tags/shopping.md>)

### AI overview

Myntra's Looks outfit visualizer combines style curation, image compositing, generative AI, and item detection to turn a product image into an occasion-based, shoppable outfit. The system maps a primary style to an occasion and complementary clothing and accessories, using data curated across more than a million styles. An in-house pose model selects full-shot front images; coordinate mapping layers trousers and shoes onto the primary model. A language-model and diffusion pipeline then applies prompted scene, lighting, and composition constraints, including reserved floor space so interface text does not cover shoes. Finally, a Bounding Box API locates items in the generated image so users can tap them. The text describes the design and workflow but provides no measured performance or user outcomes.

### Source excerpt

Ankit Kumar | Oct 2025 - 6 min read The "Why": Moving Beyond the Grid Picture this: A white background. A shirt. Fabric details. Fit specs. A price tag. For decades, this has been the status quo of online shopping. It is clinical, clear, and -- let's be honest -- completely detached from real life. In this model, the customer does all the heavy lifting. "Where would I wear this?" they wonder. "Does this go with those beige chinos I bought last year?" They close their eyes. They imagine. They guess. Sometimes they buy; often, they bounce. Traditional Product Detail Page (PDP) recommendations tried to help by suggesting jeans to pair with shirts. But the truth is, they remained a list of ingredients, not a prepared meal. At Myntra, we decided to change that. We set out to build Looks, a feature designed to transport a static product into a lived experience -- a Friday night in Bangalore, a high-intensity gym in Gurgaon, or a quiet art gallery in Mumbai. This is the story of how we orchestrated Data Science, Computer Vision, and Generative AI to build a personal stylist that scales to millions. Phase 1: The Brain -- Orchestrating the Look Before we could visualize an outfit, we had to understand fashion. Not just as data points, but as a language. This required Fashion Intelligence: a system that knows what works, what doesn't, and why. Our Data Science team undertook a massive curation effort, analyzing over a million styles. They didn't just tag clothes; they mapped them to the "cascading tree of style." For every Primary Style (e.g., a Polo shirt), the engine identifies four critical layers: The Occasion: (Weekend Outing, Office Smart-Casual) Secondary Style: (The bottom wear) Tertiary Style: (Footwear) Tertiary (others) : (Accessories like watches or sunglasses) The Recipe in the Code The logic is powered by a JSON structure that acts as the "AI Stylist's" brain: JSON "29936239": [ { "Weekend outing": [ [ 29936239, // Primary: The Polo T-Shirt 33551732, // Secondary: B

## Revamping Myntra App Analytics persistence with KMP and SQLite

DevFeed: [Revamping Myntra App Analytics persistence with KMP and SQLite](<https://devfeed.tech/articles/revamping-myntra-app-analytics-persistence-with-kmp-and-sqlite-20139.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/revamping-myntra-app-analytics-persistence-with-kmp-and-sqlite-516751e24d63?source=rss----7484818e9f88---4>)

Author: Kartik Sharma

Published: 2026-03-31T13:01:09Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [Android](<https://devfeed.tech/topics/android.md>), [mobile-app-performance](<https://devfeed.tech/topics/mobile-app-performance.md>), [Database](<https://devfeed.tech/topics/database.md>), [legacy systems](<https://devfeed.tech/topics/legacy-systems.md>), [product analytics](<https://devfeed.tech/topics/product-analytics.md>), [Analytics Pipeline](<https://devfeed.tech/topics/analytics-pipeline.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [analytics-pipeline](<https://devfeed.tech/tags/analytics-pipeline.md>), [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [app-performance](<https://devfeed.tech/tags/app-performance.md>), [app-stability](<https://devfeed.tech/tags/app-stability.md>), [background](<https://devfeed.tech/tags/background.md>), [batch](<https://devfeed.tech/tags/batch.md>), [bottlenecks](<https://devfeed.tech/tags/bottlenecks.md>), [data](<https://devfeed.tech/tags/data.md>), [data-integrity](<https://devfeed.tech/tags/data-integrity.md>), [databases](<https://devfeed.tech/tags/databases.md>), [e-commerce](<https://devfeed.tech/tags/e-commerce.md>), [engine](<https://devfeed.tech/tags/engine.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [event](<https://devfeed.tech/tags/event.md>), [events](<https://devfeed.tech/tags/events.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kmp](<https://devfeed.tech/tags/kmp.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>)

### AI overview

Myntra replaced its analytics SDK's fragile persistence with a Kotlin Multiplatform pipeline backed by SQLite, improving event durability and Android app stability. The legacy Android queue rewrote a growing SharedPreferences file for each update, contributing to data loss, OOM errors, and ANRs; iOS LevelDB lacked transactional batch handling and robust background syncing. The new pipeline stores each event as a SQLite row, batches by priority, and uses coroutine serialization and mutexes. Android WorkManager and iOS BGProcessingTask schedule background flushes; shared logic sends fresh batches first, retries older events individually, and eventually purges repeatedly failing events. A configurable row cap prunes old unsynced events, while critically low storage triggers direct HTTP upload. Android rollout advanced from a canary through 1%, 5%, 10%, 50%, and 100%, with a discrepancy caught at 5%. Myntra reports more high-traffic events recovered and about 1.1 million fewer monthly ANR instances and 250,000 fewer monthly crashes attributed to the old pipeline. iOS remains in early A/B rollout.

### Source excerpt

Introduction In the dynamic landscape of e-commerce, data is the bedrock of decision-making, and app stability is the foundation of user experience. At Myntra, where millions of users engage with our platform daily, ensuring the reliability of both is paramount. This necessity drove us to re-architect a critical piece of our infrastructure: the persistence layer of the Myntra app's analytics SDK. This post details our journey of augmenting our legacy analytics SDK with a robust new persistence engine backed by SQLite[1], achieving significant gains in app stability and data integrity. Background: The Limits of the Legacy Pipeline For years, our legacy in-house analytics SDK was the workhorse for collecting user interaction data. However, as our app's event volume grew, the SDK's aging persistence and processing logic created significant bottlenecks that led to degraded app performance and compromised the reliability of analytics data our product teams depended on. On Android: The Legacy Pipeline and its Limits On Android, the legacy analytics pipeline followed a straightforward event processing model: Capture, Persist & Batch: Events generated by used actions were held in an in-memory queue and then serialized into a persistent queue backed by SharedPreferences[2]. Once a batch threshold was met (typically 10 events), the batch was dispatched to the server. Background Flushing: Periodic background jobs flushed unsent events and retried failed batches. Error Handling: Failed batches were pushed to a separate retry queue, with older events silently purged if the queue hit its cap. High level overview of legacy android pipeline At the time of the initial implementation, SharedPreferences was a pragmatic choice to prioritize velocity. The ecosystem for local databases on Android was still maturing, and raw SQLite often required significant boilerplate compared to the simplicity of a key-value store. However, SharedPreferences is architecturally limited for high-throughp

## Enhancing Myntra App performance: Transitioning from GIFs to Videos

DevFeed: [Enhancing Myntra App performance: Transitioning from GIFs to Videos](<https://devfeed.tech/articles/enhancing-myntra-app-performance-transitioning-from-gifs-to-videos-20135.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/enhancing-myntra-app-performance-transitioning-from-gifs-to-videos-2aa275a29c34?source=rss----7484818e9f88---4>)

Author: Kartik Sharma

Published: 2025-08-30T07:00:01Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [mobile-app-performance](<https://devfeed.tech/topics/mobile-app-performance.md>), [gif](<https://devfeed.tech/topics/gif.md>), [Image](<https://devfeed.tech/topics/image.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [animations](<https://devfeed.tech/tags/animations.md>), [app-performance](<https://devfeed.tech/tags/app-performance.md>), [e-commerce](<https://devfeed.tech/tags/e-commerce.md>), [gif](<https://devfeed.tech/tags/gif.md>), [gifs](<https://devfeed.tech/tags/gifs.md>), [ios](<https://devfeed.tech/tags/ios.md>), [mobile-app-performance](<https://devfeed.tech/tags/mobile-app-performance.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

Myntra says GIF animations in its Android and iOS home and brand page widgets caused high memory use and out-of-memory errors on low-end devices, poor visual quality, and large files that increased network load and loading times. Asset optimization and ingestion file-size limits were temporary mitigations. The excerpt compares alternatives: WebP offers better compression and quality, is native on Android, and is natively supported on iOS 14 and later; APNG offers strong image quality and browser support and is native on iOS, but Android needs a third-party library and APNG can produce larger files. H.264/HLS video is described as offering strong compression and quality with broad platform support, especially for longer animated content, but it requires a video player. The excerpt does not show the remainder of Myntra's evaluation or implementation details.

### Source excerpt

Introduction In the fast-paced world of e-commerce, every millisecond and every pixel counts. At Myntra, where visual content drives discovery and engagement, we embarked on a critical mission: to revolutionise how animations are delivered in our Android and iOS apps. This journey led us to transition from the ubiquitous GIF format to more efficient video formats, unlocking significant performance gains and a superior user experience. Background on GIFs The Graphics Interchange Format (GIF) has been a widely-used format for looping animations since its introduction in 1987. Its simplicity and broad compatibility made it a go-to choice in mobile apps. However, despite its ubiquity, GIFs come with several drawbacks that can negatively impact app performance and user experience. Challenges with GIFs in Myntra App At Myntra, we used GIFs extensively for animations in our home and brand page's widgets. Our existing Image components provided easy GIF playback. However, GIFs came with some serious drawbacks in native mobile environments: High Memory Usage: GIFs often lead to Out of Memory (OOM) errors, especially on low-end devices. Low Quality: Limited frame rates and poor bitmap quality degraded the visual experience. Large File Sizes: GIF assets were large, increasing network load and loading times. To mitigate these issues temporarily, we implemented several workarounds. These included optimising GIF assets and imposing restrictions on the file size of GIFs during the ingestion process. However, these were interim solutions and the move to an alternate was necessary for a more permanent and effective fix. Exploring Alternatives Before settling on a solution, we explored several alternatives to GIFs: WebP: This format offers better compression and quality than GIFs. It has broad web support and is native on Android, but is only supported natively on iOS versions 14 and above. APNG (Animated PNG): APNG provides excellent image quality and strong web browser support. Howe

## Size Recommendation System at Myntra

DevFeed: [Size Recommendation System at Myntra](<https://devfeed.tech/articles/size-recommendation-system-at-myntra-20140.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/size-recommendation-system-at-myntra-58cb4870caa5?source=rss----7484818e9f88---4>)

Author: Aayushi Das

Published: 2025-01-30T06:25:43Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [personalization](<https://devfeed.tech/topics/personalization.md>), [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [Advanced AI workflows](<https://devfeed.tech/topics/advanced-ai-workflows.md>)

Tags: [alerts](<https://devfeed.tech/tags/alerts.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [dashboards](<https://devfeed.tech/tags/dashboards.md>), [data](<https://devfeed.tech/tags/data.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [e-commerce](<https://devfeed.tech/tags/e-commerce.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [fit-and-size](<https://devfeed.tech/tags/fit-and-size.md>), [history](<https://devfeed.tech/tags/history.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [india](<https://devfeed.tech/tags/india.md>), [models](<https://devfeed.tech/tags/models.md>), [offline](<https://devfeed.tech/tags/offline.md>), [online](<https://devfeed.tech/tags/online.md>), [online-shopping](<https://devfeed.tech/tags/online-shopping.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [recommendation](<https://devfeed.tech/tags/recommendation.md>), [recommendation-system](<https://devfeed.tech/tags/recommendation-system.md>), [recommendations](<https://devfeed.tech/tags/recommendations.md>), [refresh](<https://devfeed.tech/tags/refresh.md>), [size](<https://devfeed.tech/tags/size.md>), [system](<https://devfeed.tech/tags/system.md>)

### AI overview

Myntra's size recommendation system combines purchase history and user-provided fit information to generate real-time recommendations, with offline model and vector refreshes supporting an online service targeting a 50 ms SLA. Personalized Size Recommendation (PSR) uses purchase history for relevant product types; Meta Learning extends recommendations to other types using product attributes and linear regression. Cross-Learning uses answers from first-time users and similar prior questionnaires, while Fit Score wraps PSR or Meta Learning outputs with a fit percentage. Myntra evaluates performance with offline purchase data and A/B tests tracking adherence, size-related returns, coverage, and revenue or quantity per user. Dashboards monitor performance and recommendation failures such as missing vectors, model errors, or incorrect data. The supplied text is an excerpt and does not provide the reported evaluation results.

### Source excerpt

In recent years, online shopping has surged, revolutionizing how people purchase products and services. E-commerce's convenience has reshaped consumer behaviour and the retail landscape. Unlike traditional stores, online shoppers often face sizing challenges, leading to hesitancy and missed sales. Myntra has been a pioneer in addressing size and fit challenges in India, leading the way with innovative solutions that have significantly enhanced the shopping experience. Building on its leadership in this space, Myntra's latest initiatives take these solutions to the next level, offering even sharper and more effective recommendations. Solving this complex problem requires a combination of various features addressing size and fit issues. This blog details Myntra's approach to size and fit recommendations, including our solution, implementation, offline pipelines, online services, handling size recommendation leakages, A/B analysis and more, providing a comprehensive overview of our strategies and outcomes. What is the solution being used at Myntra? Personalized recommendations are generated using data science models, which rely on two main types of inputs - Past purchases of the user Size and fit inputs provided through the "Try Size Finder" questionnaire for users without purchase history Image 1: Recommendation based on past purchasesImage 2: Recommendation based on user inputsHow have we implemented this solution? We have implemented a Size Recommendation System (SRS) to personalize size and fit recommendations for Myntra users, enhancing their shopping experience. This end-to-end service provides real-time size recommendations based on user profiles, purchase history and inputs, ensuring a seamless and engaging buying process. System performance is monitored via dashboards with appropriate alerts. Offline pipelines The models tend to degrade over time due to drifts. To address this issue, we have established refresh cycles at suitable frequencies to maintain high c

## Unlock AKS Potential: Master Control Plane and Node Pools

DevFeed: [Unlock AKS Potential: Master Control Plane and Node Pools](<https://devfeed.tech/articles/unlock-aks-potential-master-control-plane-and-node-pools-20141.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/unlock-aks-potential-master-control-plane-and-node-pools-0f7bf2eccb00?source=rss----7484818e9f88---4>)

Author: Sumit Prasad

Published: 2024-12-12T12:53:34Z

Content type: tutorial

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [Azure Kubernetes Service](<https://devfeed.tech/topics/azure-kubernetes-service.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [control-plane](<https://devfeed.tech/topics/control-plane.md>), [Azure](<https://devfeed.tech/topics/azure.md>), [container](<https://devfeed.tech/topics/container.md>), [container-networking](<https://devfeed.tech/topics/container-networking.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [Cloud Architecture](<https://devfeed.tech/topics/cloud-architecture.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>)

Tags: [advanced](<https://devfeed.tech/tags/advanced.md>), [aks](<https://devfeed.tech/tags/aks.md>), [aks-best-practices](<https://devfeed.tech/tags/aks-best-practices.md>), [aks-upgrade](<https://devfeed.tech/tags/aks-upgrade.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [apply](<https://devfeed.tech/tags/apply.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-kubernetes-service](<https://devfeed.tech/tags/azure-kubernetes-service.md>), [best](<https://devfeed.tech/tags/best.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [blog](<https://devfeed.tech/tags/blog.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [components](<https://devfeed.tech/tags/components.md>), [container](<https://devfeed.tech/tags/container.md>), [container-orchestration](<https://devfeed.tech/tags/container-orchestration.md>), [containerized](<https://devfeed.tech/tags/containerized.md>), [control](<https://devfeed.tech/tags/control.md>), [control-plane](<https://devfeed.tech/tags/control-plane.md>), [coredns-scaling](<https://devfeed.tech/tags/coredns-scaling.md>), [node](<https://devfeed.tech/tags/node.md>), [performance-optimization](<https://devfeed.tech/tags/performance-optimization.md>)

### AI overview

The guide describes an AKS setup with a managed Azure control plane and separate system, platform, ingress, and application node pools; taints help keep workloads in their intended pools. It says Azure CNI dynamic pod IP allocation requires separate pod and node subnets. For networking, Azure NPM adds network policies but is limited to 250 nodes; the guide presents Cilium as an option for larger clusters with policies, and says removing Azure network policy replaces cluster nodes. It also covers tuning CoreDNS autoscaling and using NodeLocal DNSCache, choosing a NAT Gateway or Azure Firewall with a custom route for egress, and upgrading node pools by creating a replacement pool, cordoning and draining old nodes, validating workloads, then removing the old pool. Other recommendations include Terraform provisioning, cluster autoscaling, ephemeral OS disks, priority classes, and Azure AD integration.

### Source excerpt

Introduction In this guide, we'll explore the intricacies of configuring Azure Kubernetes Service (AKS) for optimal performance and scalability. As a fully managed container orchestration service by Microsoft Azure, AKS simplifies deploying, managing, and scaling containerized applications using Kubernetes. Drawing from our extensive experience running AKS at scale, this blog aims to provide practical insights and solutions to common challenges faced by DevOps engineers, system administrators, and Kubernetes enthusiasts. We'll walk you through the AKS setup, offering step-by-step guidance, best practices, and tips from real-world scenarios. From fine-tuning the control plane to optimizing node pools, our goal is to equip you with the knowledge to leverage AKS in production environments fully. Join us as we delve into key considerations, navigate potential pitfalls, and share advanced configurations. Whether you're just getting started with AKS or looking to enhance your existing setup, this blog promises a comprehensive dive into Azure Kubernetes Service, informed by our hands-on experiences and lessons learned. AKS Architecture The AKS control plane, a managed service provided by Azure, oversees the management and orchestration of the Kubernetes cluster. It handles tasks such as scheduling, scaling, and monitoring the cluster. Node pools, or worker nodes, are the virtual machine scale sets that run the containers in the AKS cluster, executing workloads and running applications. Our AKS architecture, illustrated in the diagram below, includes multiple node pools, each dedicated to a specific purpose: System Node Pool: Hosts system-critical pods or add-on services managed by AKS. User Node Pools: Three user node pools are designated for: Platform components Ingress Application pods To ensure each node pool serves its intended purpose, we apply taints during their creation: The system node pool has a taint with the key-value pair CriticalAddonsOnly=true:NoSchedule. Th

## Fact Evaluation in Millions: Scalable Rule Executor Service

DevFeed: [Fact Evaluation in Millions: Scalable Rule Executor Service](<https://devfeed.tech/articles/fact-evaluation-in-millions-scalable-rule-executor-service-20136.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/fact-evaluation-in-millions-scalable-rule-executor-service-921a2a19068e?source=rss----7484818e9f88---4>)

Author: Nikhil Anand

Published: 2024-10-01T13:47:49Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [rule-engine](<https://devfeed.tech/topics/rule-engine.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [Service-Level Agreements](<https://devfeed.tech/topics/service-level-agreements.md>)

Tags: [all](<https://devfeed.tech/tags/all.md>), [assessment](<https://devfeed.tech/tags/assessment.md>), [availability](<https://devfeed.tech/tags/availability.md>), [broker](<https://devfeed.tech/tags/broker.md>), [cases](<https://devfeed.tech/tags/cases.md>), [changes](<https://devfeed.tech/tags/changes.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [core](<https://devfeed.tech/tags/core.md>), [details](<https://devfeed.tech/tags/details.md>), [domain](<https://devfeed.tech/tags/domain.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [engine](<https://devfeed.tech/tags/engine.md>), [essential](<https://devfeed.tech/tags/essential.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [executor](<https://devfeed.tech/tags/executor.md>), [first](<https://devfeed.tech/tags/first.md>), [frequent-rule-updates](<https://devfeed.tech/tags/frequent-rule-updates.md>), [functional](<https://devfeed.tech/tags/functional.md>), [rule-engine](<https://devfeed.tech/tags/rule-engine.md>), [rules-in-millions](<https://devfeed.tech/tags/rules-in-millions.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [service](<https://devfeed.tech/tags/service.md>), [stateless](<https://devfeed.tech/tags/stateless.md>)

### AI overview

Myntra's Rule Executor Service combines Easy Rules with in-memory sharding and parallel execution to evaluate large rule and fact sets; the stated target is millions of each within 30 seconds. The excerpt says Drools used 60 GB of RAM for about 300,000 rules in preliminary testing and that changing rules required rebuilding knowledge bases across machines. Easy Rules accommodated millions of rules on one server in the proof of concept, but its evaluation latency was high, prompting the custom service. Clients can use repository-based onboarding, where the service fetches rules through a configured CRUD handler; client-based onboarding, where clients send rules; or a default mode without configured sharding, described as suitable only for limited rule and fact counts. Category priorities determine which results take precedence. Shard levels distribute rules and facts by configured keys, while separate I/O and computation thread pools handle dependent shard orchestration and evaluations to avoid deadlock. The excerpt states requirements for immediate reflection of confirmed rule changes and rule details in evaluation results.

### Source excerpt

Overview The Rule Executor Service at Myntra stands out as a pivotal tool in the domain of rule engine. While, at a glance, one might wonder what sets it apart from the myriad of rule engines available today, the difference is profound. In Myntra ecosystem, supporting numerous pricing use cases necessitated building a capability that is engineered to handle vast volumes of rules, processing millions of facts against similar scale in terms of rules for multiple tenants with high reliability, performance, availability and consistency. In order for the system to be performant and use as a broker for all Myntra systems preference was given to scalability, and ability to persist and evaluate large large number of rules with low latency evaluation window. Functional & Non-Functional Requirements Let's first delve into the functional and non-functional requirements that necessitate the creation of the Rule Executor Service. Functional Requirements Dynamic Rule Management: The rule engine should be designed with adaptability as a core principle, enabling administrators or users to effortlessly update, introduce, or dynamically remove rules through the user interface as the landscape evolves. Immediate Rule Reflection: Following any changes to the rule set, the rule engine should ensure that all future fact evaluations reflect the latest rule standards with high degree of consistency. Once the creation, updating, or deletion of a rule has been confirmed as successful for the user, no subsequent fact evaluations should be conducted with the outdated rules from that timestamp onwards. This necessitates the updates to be immediately reflected in the knowledge base of the rule engine. Fact Assessment Details: Each evaluated fact should be supplemented with essential details, including the associated rule's ID, name, and description against which it was evaluated. In the absence of configured rules for the provided fact, enrich the fact by incorporating pertinent details regardin

## Future-Proof Your AKS Cluster with Strategic IP Address Planning

DevFeed: [Future-Proof Your AKS Cluster with Strategic IP Address Planning](<https://devfeed.tech/articles/future-proof-your-aks-cluster-with-strategic-ip-address-planning-20138.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/future-proof-your-aks-cluster-with-strategic-ip-address-planning-01e4ea04e197?source=rss----7484818e9f88---4>)

Author: Sumit Prasad

Published: 2024-06-25T09:12:09Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [ip-address-planning](<https://devfeed.tech/topics/ip-address-planning.md>), [Azure Kubernetes Service](<https://devfeed.tech/topics/azure-kubernetes-service.md>), [Network](<https://devfeed.tech/topics/network.md>), [CIDR and subnets](<https://devfeed.tech/topics/cidr-and-subnets.md>), [container-networking](<https://devfeed.tech/topics/container-networking.md>)

Tags: [aks](<https://devfeed.tech/tags/aks.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-kubernetes-service](<https://devfeed.tech/tags/azure-kubernetes-service.md>), [bottlenecks](<https://devfeed.tech/tags/bottlenecks.md>), [buffer](<https://devfeed.tech/tags/buffer.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [cni](<https://devfeed.tech/tags/cni.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [container-networking](<https://devfeed.tech/tags/container-networking.md>), [environment](<https://devfeed.tech/tags/environment.md>), [ip](<https://devfeed.tech/tags/ip.md>), [ip-address-planning](<https://devfeed.tech/tags/ip-address-planning.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-scaling](<https://devfeed.tech/tags/kubernetes-scaling.md>), [performance](<https://devfeed.tech/tags/performance.md>), [planning](<https://devfeed.tech/tags/planning.md>), [pods](<https://devfeed.tech/tags/pods.md>), [production](<https://devfeed.tech/tags/production.md>), [resource-utilization](<https://devfeed.tech/tags/resource-utilization.md>), [robust](<https://devfeed.tech/tags/robust.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [static](<https://devfeed.tech/tags/static.md>)

### AI overview

In AKS with default Azure CNI networking, subnet capacity planning must account for Pods, Nodes, and internal LoadBalancer services. Static allocation reserves IPs according to the configured maximum Pods per node, regardless of actual use: the excerpt's example of 10 nodes capped at 20 Pods reserves 200 Pod IPs plus 10 node IPs upfront, so unused capacity can be wasted. It suits stable workloads with predictable per-node Pod limits. Dynamic allocation assigns additional IPs as needed and can reduce waste under changing workloads, but requires a carefully planned subnet with buffer space. The excerpt recommends deciding the maximum Pods per node and dedicating a subnet CIDR before creating a node pool; it does not provide the remaining details of the approaches.

### Source excerpt

Scaling Kubernetes efficiently is an art that blends strategic planning with technical expertise. In Azure Kubernetes Service (AKS), mastering the allocation of IP addresses is crucial for ensuring seamless scalability and optimal performance. When configuring an AKS cluster with default Azure CNI networking, it's essential to address the nature of scaling Pods, Nodes, and internal LoadBalancer-type services. This blog delves into the intricate process of IP address planning, explicitly focusing on scaling Pods, Nodes, and Services in an AKS cluster. Discover how thoughtful IP management can prevent bottlenecks, optimize resource utilization, and pave the way for a robust production environment. Image Source: https://kubernetes.io/docs/images/kubernetes-cluster-network.svg We'll talk about two approaches to IP address planning in AKS: Static IP allocation and Dynamic IP allocation. Let us understand a bit about both, and then we will go deeper to understand each approach. Static IP Allocation: Suitable for predictable and stable environments where the maximum number of pods per node is known and does not change frequently. This approach can lead to IP wastage if the number of pods varies. Dynamic IP Allocation: Better for environments with varying workloads and dynamic scaling needs. It helps reduce IP wastage by allocating additional IPs only when necessary, but it requires careful subnet planning with a buffer to accommodate dynamic allocations. Static IP Allocation The default configuration in AKS uses static IP allocation based on the 'maximum number of pods per node' setting, counting all pods created from Deployments, Daemonsets, Statefulsets, or Jobs. The private subnet CIDR specified during node pool configuration assigns IP addresses to Pods, Nodes, and Load balancer type services for an internal network. It is essential to decide the "maximum pods per node" configuration and to have a dedicated subnet CIDR range before creating a node pool. AKS reserves th

## Building Myntra's Video Platform: Part 4

DevFeed: [Building Myntra's Video Platform: Part 4](<https://devfeed.tech/articles/building-myntra-s-video-platform-part-4-20132.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/building-myntras-video-platform-part-4-dd6d582ce2ef?source=rss----7484818e9f88---4>)

Author: Shikhar Shrivastav

Published: 2024-06-07T05:29:57Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [transcoder](<https://devfeed.tech/topics/transcoder.md>), [livekit](<https://devfeed.tech/topics/livekit.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [building-trust](<https://devfeed.tech/tags/building-trust.md>), [camera](<https://devfeed.tech/tags/camera.md>), [chat](<https://devfeed.tech/tags/chat.md>), [commerce](<https://devfeed.tech/tags/commerce.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [control](<https://devfeed.tech/tags/control.md>), [ecommerce](<https://devfeed.tech/tags/ecommerce.md>), [engagement](<https://devfeed.tech/tags/engagement.md>), [hls](<https://devfeed.tech/tags/hls.md>), [influencers](<https://devfeed.tech/tags/influencers.md>), [latency](<https://devfeed.tech/tags/latency.md>), [live-stream](<https://devfeed.tech/tags/live-stream.md>), [livestream](<https://devfeed.tech/tags/livestream.md>), [platform](<https://devfeed.tech/tags/platform.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [reproduction](<https://devfeed.tech/tags/reproduction.md>), [requirements](<https://devfeed.tech/tags/requirements.md>), [scheduling](<https://devfeed.tech/tags/scheduling.md>), [social-commerce](<https://devfeed.tech/tags/social-commerce.md>), [types](<https://devfeed.tech/tags/types.md>), [users](<https://devfeed.tech/tags/users.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

Myntra's video platform serves both VOD and livestreaming; this excerpt focuses on livestream architecture requirements: HLS adaptive-bitrate transcoding, near-accurate color, live commerce and interactive features, concurrent streams and multiple hosts, glass-to-glass latency below 15 seconds with room to tune it, and capacity for lakhs of viewers with potential growth to millions. It contrasts two formats. Prerecorded video offers editing control, scheduling, and repeatability, but lacks real-time interaction, may feel repetitive, and misses live engagement. A camera feed provides real-time interaction and authentic moments, but is vulnerable to disruptions, cannot be edited in advance, and must be redone for another scheduled use. The excerpt ends as the article begins comparing the formats, so it does not establish which Myntra chose or describe the rest of the architecture.

### Source excerpt

This article is the 4th one in the series 'Building Myntra's Video Platform'. In case you haven't read the first three parts, you may want to read the same for better context. Building Myntra's Video Platform: Part 1 Building Myntra's Video Platform: Part 2 Building Myntra's Video Platform: Part 3 In this article we will dwell a bit more on the architecture aspects. We use our Video Platform for Video On Demand (VOD) and Livestream use cases. The focus here will be the Livestream use case. Top Requirements Platform to transcode videos in HLS Adaptive Bitrate Streaming Near accurate color reproduction Support live commerce features Comments & other interactive elements to be added Support multiple concurrent livestreams Ability to support multiple hosts in the same livestream Glass to glass latency to be less than 15 seconds and ability to tune that further Ability to support lakhs of concurrent users and potentially millions in the future Livestreaming types In industry 2 different kinds of livestreams are popular Pre Recorded video as Livestream Camera feed as Livestream Pre Recorded video as Livestream Here a video is pre recorded and served as a livestream at the specific time. Pros: More control: You can edit the video beforehand to ensure everything is polished and exactly how you want it. No worries about technical glitches or unexpected moments during a live broadcast. Scheduling: Can be easily scheduled and broadcasted at the required time Repeatable: Can be streamed multiple times Cons: Lacks interaction: Viewers can't interact with the streamer in real time, which can make the experience less engaging. Feels less authentic: Viewers may notice content repeating across several livestreams Missing out on live engagement: You can't capitalize on the excitement and momentum that can come from a live stream. Camera feed as Livestream Here the host relays the camera feed as livestream for everyone 's consumption. Pros: Real-time: Shows events as they happen, crea

## Location-Based Fashion Recommendations at Myntra

DevFeed: [Location-Based Fashion Recommendations at Myntra](<https://devfeed.tech/articles/decoding-the-regional-fashion-signatures-using-ai-20134.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/decoding-the-fashion-signature-using-embeddings-b21221806b7d?source=rss----7484818e9f88---4>)

Author: Siddhartha Devapujula

Published: 2024-04-22T11:25:37Z

Content type: tutorial

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>)

Tags: [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [ecommerce](<https://devfeed.tech/tags/ecommerce.md>), [fashion](<https://devfeed.tech/tags/fashion.md>), [location-based](<https://devfeed.tech/tags/location-based.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [personalisation](<https://devfeed.tech/tags/personalisation.md>), [recommendation-system](<https://devfeed.tech/tags/recommendation-system.md>), [recommendation-systems](<https://devfeed.tech/tags/recommendation-systems.md>), [search](<https://devfeed.tech/tags/search.md>)

### AI overview

Myntra explains how machine-learning recommendation systems can use location as user side information to improve personalized fashion recommendations, including for cold-start users.

### Source excerpt

Authored By Rohit Gupta & Siddhartha Devapujula Introduction Millions of users visit Myntra daily to upgrade their wardrobes and millions of items are listed on the platform at any given time. Users neither have the time nor the capability to scroll through this vast list of items. Even after applying category and attribute filters, usually the number of items is still in thousands. Hence it becomes critical that the top search results for any user are both relevant and personalized. Just like search, many other recommendation widgets across the platform face the same challenges. Fashion Diversity -- Every Region has its own Fashion Showing each user the best styles for them from a catalog of million plus products is where machine learning based recommendation systems come into play. From search results on google to your netflix home screen, recommendation systems are working in the background to get you the best results. It is impossible to imagine modern age internet experience without these systems. The uber goal of these models is to take the user features and the vast list of items as input ,and generate a small personalized list of items for each user. For these systems to work, we mainly use the user's historical activity on the platform. In this blog we will see how using other kinds of user details can also enhance the quality of recommendations. In the next sections, we dive into the details of recommendation systems and related techniques. We explain the motivation for a location based recommendation system and how we built one at Myntra. Later we discuss a few use cases at Myntra, results and potential future work. Basics of recommendation systems This is a very simple read about recommendation systems by Google -- Recommendations: What and Why? | Machine Learning | Google for Developers. Readers can skip if they are already aware of this. Traditional recommendation models focus on using the user's historical interactions on the platform to learn. This wor

## Category Prediction for Search Query Understanding

DevFeed: [Category Prediction for Search Query Understanding](<https://devfeed.tech/articles/category-prediction-for-search-query-understanding-20133.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/category-prediction-for-search-query-understanding-f46283151c92?source=rss----7484818e9f88---4>)

Author: music and waves

Published: 2024-04-21T12:40:48Z

Content type: tutorial

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [text-classification](<https://devfeed.tech/topics/text-classification.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [AI-driven information retrieval](<https://devfeed.tech/topics/ai-driven-information-retrieval.md>), [dataset](<https://devfeed.tech/topics/dataset.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [categories](<https://devfeed.tech/tags/categories.md>), [challenge](<https://devfeed.tech/tags/challenge.md>), [classification](<https://devfeed.tech/tags/classification.md>), [components](<https://devfeed.tech/tags/components.md>), [data](<https://devfeed.tech/tags/data.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [ecommerce](<https://devfeed.tech/tags/ecommerce.md>), [information-retrieval](<https://devfeed.tech/tags/information-retrieval.md>), [neural](<https://devfeed.tech/tags/neural.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [product](<https://devfeed.tech/tags/product.md>), [queries](<https://devfeed.tech/tags/queries.md>), [search](<https://devfeed.tech/tags/search.md>), [search-engine](<https://devfeed.tech/tags/search-engine.md>), [text](<https://devfeed.tech/tags/text.md>), [text-classification](<https://devfeed.tech/tags/text-classification.md>), [train](<https://devfeed.tech/tags/train.md>), [training-data](<https://devfeed.tech/tags/training-data.md>)

### AI overview

Myntra describes a neural multi-label classifier that maps search queries to product categories, aiming to capture overlapping intents without adding irrelevant results. Training data pairs queries with one or more category labels, such as "ethnic wear" with kurta and sarees. The excerpt says this data is enriched using session reformulations: when a user's later query and product interactions clarify an earlier vague query, those signals are stitched together to create labeled examples. The supplied text ends during this example, so it does not establish the full data-enrichment process or model-training details.

### Source excerpt

Navigating through online shopping platforms can sometimes feel like finding your way through a maze. Take the search bar, for example. You type in "winter upper wear," hoping to find the perfect jacket or cozy sweatshirt. But here's the tricky part: the search engine has to decipher what you mean. Is it jackets you're after? Or maybe sweatshirts? Or both? It gets even more confusing when you consider the overlapping categories. Kurtas can be standalone articles or part of kurta sets. And loafers? They could belong to formal shoes or casual shoes and certainly not sports shoes. See the challenge? To tackle this, Myntra uses a multi-label search to product category classification model. It's like having an assistant that can understand possible intents from your search query. So when you type in something like "whey," the model knows you might be looking for protein or health supplements. But here's the catch: search queries can be short and vague, and they often use words that don't directly match category names. People might search using different terms or even regional variations. So, the model needs to be clever enough to map those words to the right categories internally. The goal is to capture all possible intents without cluttering your search results with irrelevant stuff. After all, nobody likes sifting through pages of irrelevant products. It's a delicate balance between covering all bases and keeping things tidy. Solution The solution has 2 major components. I. Data preparation We prepare ( search query : categories ) data points to be consumed in training by the neural classifier. Ex. ( ethnic wear : kurta, sarees ) II. Training a neural model We train a neural multi-label text classifier that consumes the prepared training data which is used to predicts categories for search queries live. I. Data Preparation We generate the supervised text classification training data in form of a search query and its product category(s) as its labels. This set is enrich