Download PDF
Case Studies > How Netmeds switched from Elasticache to Redis Enterprise and achieved zero downtime

How Netmeds switched from Elasticache to Redis Enterprise and achieved zero downtime

Technology Category
  • Application Infrastructure & Middleware - Data Exchange & Integration
  • Platform as a Service (PaaS) - Data Management Platforms
Applicable Industries
  • E-Commerce
  • Pharmaceuticals
Applicable Functions
  • Business Operation
  • Sales & Marketing
Use Cases
  • Digital Twin
  • Predictive Maintenance
  • Remote Asset Management
Services
  • Software Design & Engineering Services
  • System Integration
The Challenge
With just three weeks to go before a big marketing event designed to deliver a significant increase in user activity, Netmeds was desperate to resolve the failure issues that were currently plaguing its Amazon ElastiCache. Huge spikes in user traffic were choking Redis with too many connections, causing it to fail. As a result, Netmeds would experience downtimes of up to an hour that easily lost them 750 orders every 30 minutes. Netmeds initially thought the issue could be resolved through clustering on ElastiCache, but the company’s PHP platform did not support clustering of Redis. Next, NetMeds evaluated connection management solutions as a way to reduce the number of open database connections. They looked at Twemproxy, Dynomite, and HAProxy in an attempt to set up connection pooling, but none of these solutions supported every command that Redis supported.
About The Customer
Netmeds is an online pharmacy that ships products to every corner of the Indian market. The pharmaceutical’s omni-channel sales approach supports product orders via its website, mobile app, and call center. As a three-year-old company, Netmeds has been ramping up its marketing efforts in the very new space of pharmaceutical e-commerce. This has resulted in traffic spikes that caused its AWS ElastiCache instance to fail. Netmeds needed a solution that could handle the high availability and performance required by its hundreds of thousands of daily users.
The Solution
A simple Google search brought Redis Labs to Netmeds’ attention. Pandit reached out immediately and received a response from Redis Labs the very next morning. With less than three weeks to go live with a resolution before their big marketing push, it was a huge relief to learn that Redis Enterprise’s connection pool manager supported every Redis command and that this would resolve their issue for the short term. In under three weeks, Redis Labs and Netmeds worked together to successfully migrate its caching and session store operations from ElastiCache to Redis Enterprise. Netmeds’ entire application system runs on AWS, with Redis Enterprise now sitting just behind the web app servers. With connection pooling in place, database downtime issues have been eliminated. Long term, Netmeds sees clustering and sharding as the permanent solution for high availability and performance. To that end, Pandit and his team have begun re-architecting their platform to get around its current clustering limitations. They are looking forward to unleashing the power of Redis Enterprise’s clustering and sharding features.
Operational Impact
  • Redis Enterprise’s automated management, scaling, and failover capabilities allow Netmeds to provide its e-commerce pharmaceutical platform without interruption.
  • Since deployment, Netmeds has experienced zero downtime and zero issues.
  • Redis Labs’ knowledgeable support engineers were able to migrate database operations from ElastiCache to Redis Enterprise and eliminate all downtime issues.
Quantitative Benefit
  • Netmeds experienced downtimes of up to an hour that easily lost them 750 orders every 30 minutes before switching to Redis Enterprise.

Related Case Studies.

Contact us

Let's talk!

* Required
* Required
* Required
* Invalid email address
By submitting this form, you agree that IoT ONE may contact you with insights and marketing messaging.
No thanks, I don't want to receive any marketing emails from IoT ONE.
Submit

Thank you for your message!
We will contact you soon.