Case Study - Ressy

Created

15 March 2014

Client

Ressy

Ressy provides real time capacity management platform for services business. It allows restaurants to push on demand discount deals in real time to the users especially during non peak hours and users can avail the discounts through smartphones. Ressy raised a funding of $400K when the product was at MVP stage. The application managed to create a huge interest among foodies and restaurant owners. The users availed upto 50% off on their orders and the owners got more customers ordering from their restaurants.

The Challenge

While approaching us Koustubh and Sagar, Ressy founders had a unique requirement. They needed a platform which is capable of providing real time restaurant deals to the users. They had given a deadline of three months to build the platform from scratch.  They needed technically sound people with entrepreneurial mindset to build their application.

Stages

1. Requirement gathering and analysis
2. Translate business use cases into technical specifications.
3. Design backend architecture.
4. Selection of technology stack based on requirement and desired throughput.
5. Build Minimum viable product (MVP).
6. Build a merchant end app which could push deals real time.

Coming up with the solution

When we started working on the idea, the whole team came up with their thoughts on how should we build this application. We decided to follow agile development process and started with requirement gathering and analysis. While gathering the requirement, we started survey of existing apps available in the same segment and we found the apps like OpenTable, foodpanda, Zomato and TinyOwl.

We went through them to understand their design and flow structure. After analyzing all the technical aspects, available products in the market and research papers on backend architecture, we came up with the best possible solution for this application.Considering the domain of an app, selection of technology stack was very crucial for us.Food tech was booming in India and user adoption rate was above par. Having minimum lags, fastest content delivery and 100% uptime were the important facets of the backend technology.

We had chosen Golang based API server to go ahead with. We wrote the entire backend for User Application, Merchant App and a basic dashboard APIs in a month. Even though we were building just the MVP, we wanted to make sure the stack will support lot of traffic and scale in mind. For example: we had a problem of showing same image at multiple places so we had to resize the images to all the required sizes. And restaurant images are updated regularly and sales team had onboarded 1200+ restaurants.

Resizing all the images to all the required sizes is very CPU intensive task and storing all the images has a storage cost which will be huge if ressy plans to onboard all the restaurants in India. So we wrote a server which will resize the images on the fly and push it to CloudFront so that only first fetch of the image will be slow after that it will be super fast as Cloudfront keeps the cache of the image at nearest available server so the network response time is very low.

We used various third party server to monitor performance of our backend. Like we used Newrelic to monitor the API performance, Bugsnag for tracking the bugs, papertrail for tracking the real time log of the server, etc. We made sure our average response time is around 100ms.

Technology Stack

Android SDK
Golang
MongoDB

Tools

Android Studio
Sublime Text
Git

Services

AWS Elastic Beanstalk
AWS ELB
New
Relic
MongoLab
Docker
CircleCI
Crashlytics
Bugsnag
Pivotal Tracker
Firebase Cloud Messaging
Invision
Paytm

Product


We came with the complete product within two months involving long intensive design and optimized code. Ressy delivers more than thousands of deals everyday and having more than 1200+ restaurants on the platform in pune and Mumbai.They have raised funding off 400K USD during their MVP stage. They attracted start up media and other investors by performing on larger scale.
In 2017, Ressy was acquired by Bangkok based restaurant reservation app Eatigo.

© 2018 fstack/all rights reserved