Download PDF
Coffee Meets Bagel Meets Redis Enterprise to Innovate in the Face of Real Time Performance Challenges
Technology Category
- Platform as a Service (PaaS) - Data Management Platforms
- Platform as a Service (PaaS) - Connectivity Platforms
- Infrastructure as a Service (IaaS) - Virtual Private Cloud
Applicable Industries
- Software
- Professional Service
Applicable Functions
- Business Operation
- Product Research & Development
Use Cases
- Real-Time Location System (RTLS)
- Predictive Maintenance
- Fleet Management
- Remote Asset Management
Services
- System Integration
- Cloud Planning, Design & Implementation Services
- Software Design & Engineering Services
The Challenge
Before adopting Redis, Coffee Meets Bagel was struggling with its implementation of Cassandra. While Cassandra delivered on basic high write volume requirements, it experienced noticeable issues when it came to simultaneous updates and deletions, resulting in partial outages that impacted end-user experience. As a result, Coffee Meets Bagel moved to open source Redis, running as self-managed clusters, to deliver low read latency while simultaneously tolerating high update volume. Although the company initially adopted Redis as delivered via Amazon ElastiCache, as its Redis implementation grew to become an integral part of Coffee Meets Bagel’s production environment, the DevOps team realized that it would be extremely beneficial to have a fault-tolerant, highly available and scalable solution with someone to call when problems arose. With open-source Redis, you’re on your own and there’s a lot of trial and error that takes place, which is not ideal in a production environment.
About The Customer
Coffee Meets Bagel is a highly curated online dating service. Since its founding in 2012, the dating app provider has grown to more than three million users around the globe. As Coffee Meets Bagel makes a concerted effort to expand its international presence it relies on Redis Enterprise Virtual Private Cloud (VPC) for lightning-fast performance that seamlessly scales across a number of critical functions—from caching and user analytics to real-time data streaming.
The Solution
During off-peak times, Coffee Meets Bagel runs on approximately 600 reserved AWS instances. At peak activity times, typically when match recommendations are being pushed to users, the company’s spot instances can scale to double that, processing upwards of one terabyte of data an hour with high reliability. In this fast-paced environment, Redis Enterprise VPC performs several critical roles, including: High speed recommendations engine at scale. Redis Enterprise provides high-performing in-memory operations that enable Coffee Meets Bagel to generate highly personalized recommendations for its millions of users, and process billions of user matches at high speeds. This capability is delivered with Redis’ versatile data structures: Geo-based sorted sets efficiently fetch users based on profile criteria, location, and distance, allowing recommendations to be delivered in real-time. Bloom filters provide de-duplicated recommendations in a very space efficient way, eliminating the redelivery of previously provided recommendations for each user profile. Sets and sorted sets add items by users by priority, and query and calculate user scores in constant time to fetch the right set of recommendations. Sinter operations help to calculate the number of mutual friends and prioritize matches accordingly, while also saving on network I/O by performing set operations directly in memory. This also simplifies the application code, delegating operations to Redis in the most efficient manner possible. Primary data storage. Redis Enterprise is the primary database for more than two terabytes (and growing) of user information. Asynchronous fault-tolerant priority queuing delivers granular prioritization and schedules tasks to send push notifications in advance using queuing API with a timestamp parameter. These sophisticated queuing capabilities allowed us to eventually decommission our implementation of Celery, an asynchronous task queue, reducing the amount of I/O between operations and simplifying our application stack. Through Redis Enterprise’s in-memory processing and backlog queue, Coffee Meets Bagel is able to store data for later use. Fast data ingest. Redis Enterprise’s data ingest capabilities seamlessly scale to process upwards of one terabyte of data an hour, including over 300 million exchanged messages and more than one billion matches, without the need for worker throttling.
Operational Impact
Quantitative Benefit
Related Case Studies.
Case Study
Factor-y S.r.l. – Establishes a cost-effective, security-rich development environment with SoftLayer technology
Factor-y S.r.l., a web portal developer, was faced with the challenge of migrating its development infrastructure to a reliable cloud services provider with highly responsive technical support. The company needed a solution that would not only provide a secure and reliable environment but also support its expansion by providing resources to create and deliver innovative offerings.
Case Study
UBM plc: Taking the pulse of the business and engaging employees with a far-reaching strategic transformation
UBM, a leading global events business, was undergoing a significant strategic transformation named 'Events First'. As part of this transformation, the company was preparing to complete the largest acquisition in its history - Advanstar, a US-based events and marketing services business valued at more than USD970m. The company faced the risk of human capital flight if it was unable to effectively engage top talent with the new strategic direction. UBM needed to make significant structural, process and systems changes, uniting its previously autonomous regional businesses. The challenge was to ensure all of its employees were engaged and aligned with the new future vision.
Case Study
Darwin Ecosystem: Accelerating discovery and insight through cutting-edge big data and cognitive technologies
Darwin Ecosystem was founded with a unique vision of harnessing chaos theory mathematics to uncover previously hidden connections in unstructured data. The company’s algorithms can look at all the data generated by any source (such as news, RSS feeds and Twitter), and analyze how a specific set of concepts within that data are evolving over time. This is particularly valuable in situations such as business and competitive intelligence, social research, brand monitoring, legal discovery, risk mitigation and even law enforcement. A common problem in these areas is that a regular web search will only turn up the all-time most popular answers to a given question – but what the expert researcher is actually interested in is the moment-tomoment evolution of the data available on that topic. Darwin’s algorithm is computationally intensive, and the sources of data it correlates can be vast. To bring its benefits to a larger commercial audience, Darwin needed to find a way to make it scale.
Case Study
Wittmann EDV-Systeme launches IT monitoring services
Small and medium-sized businesses often lack the know-how and resources required for thorough IT system monitoring. Wittmann EDV-Systeme wanted to launch a solution to plug the gap – enabling it to improve its own competitiveness and that of its customers. IT landscapes are becoming ever more complex and outsourcing is gaining popularity, IT systems must nonetheless remain easy-to-use and extremely reliable at all times. Automated, round-the-clock system monitoring therefore represents an immensely valuable proposition for companies: downtime for business-critical applications can be avoided, and IT systems remain available at all times.
Case Study
Zend accelerates, simplifies PHP development
Zend Technologies, a major contributor to the PHP open source community, needed to keep pace with emerging trends such as mobility, agile development, application lifecycle management and continuous delivery. The company needed to provide the right tools to the worldwide community of PHP developers. The challenge was to support enterprise-class capabilities from end to end, including mobile, compliance and security. The pace of business required developers to show results fast across a variety of devices without compromising quality or security.
Case Study
Delivering modern data protection with cloud scale backup from Cobalt Iron and IBM
Organizations are struggling to modernize their legacy data protection environments in the face of growing demands around new infrastructure, new applications, and budget consolidation. Virtualization and modern application development processes have significantly outgrown legacy backup architectures. In response, infrastructure teams have created multiple backup solution types to handle the varying SLAs (performance, scale, cost) required by their business sponsors. However, the sheer number and variety of solutions in this uncontrolled expansion creates huge amounts of work, threatening to overwhelm the IT team in many organizations. Today, developers may add new applications and virtual server instances by the hundreds per day without accounting for the restrictions of the existing backup infrastructure. They leverage the cloud for immediate compute and storage resources, yet rarely communicate succinctly with corporate IT to ensure that the appropriate data protection services are in place.