Carousell: Running an online classifieds marketplace on GCP

About Carousell

Carousell is a mobile classifieds marketplace that makes selling as easy as taking a photo and buying as simple as chatting. Launched in August 2012, Carousell began in Singapore and has spread to 19 cities around the world. With over 80 million listings, it is one of the world’s largest and fastest growing marketplaces.

Industries: Media & Entertainment
Location: Singapore

With GCP and G Suite, Carousell has become a vibrant, collaborative business that provides a mobile classifieds marketplace used by millions of people to buy, sell, and chat.

Google Cloud Results

  • Enabled Carousell to provide a powerful service to millions of people in Southeast Asia, Oceania, and worldwide
  • Kept headcount at 5–rather than 30–team members working on system reliability
  • Improved availability from 90% to 99.99% as of April 2017

More than 80M listings and 1B chats

Founded in 2012, Carousell is a mobile classifieds marketplace that enables users to list items and services in just 30 seconds. Users snap a photo, add a description to list, and start an in-app chat to buy from other users. The business of mobile classifieds was a natural next step for the classifieds model, which began with printed advertisements and early online forums.

Carousell also endeavours to make selling and buying items simple and social. Chats can be started in-app where users can converse, discuss, and negotiate. Carousell is now preparing for the next step in delivering next-generation services, leveraging machine learning and artificial intelligence to improve listings, payment, and delivery processes. Its employees are also working on strategies and techniques to build and further engage its community of users.

“We’ve grown as a business from 3 founders who didn’t take any remuneration for 18 months, to a workforce of 180 people,” says Jordan Dea-Mattson, Vice President of Engineering at Carousell. “Our operations are distributed across Singapore, Malaysia, Hong Kong, Taiwan, the Philippines, Indonesia, Australia, and New Zealand.” Carousell attracts millions of users per month and half of Singapore’s population are regular users of the service. A quarter of the Singapore user base visits Carousell in any given month.

Carousell used to run its mobile online marketplace on a range of hosted services. However, by mid-2016, the company realised it needed to improve stability and availability to fulfil customer expectations and meet the requirements of its internal teams. Uptime from its existing infrastructure was unable to keep up with the speed of growth of the company.

“We recruited some talented people into our infrastructure team and they had a remit to improve the stability of our service,” says Dea-Mattson. The team undertook a ground-up evaluation of platforms, which accounted for input/output, compute, and pricing performance.

“Working with a platform that is designed and tuned to customers’ specific requirements is very important to us.”

Jordan Dea-Mattson, Vice President, Engineering, Carousell

Carousell eventually opted to switch to Google Cloud Platform (GCP), which provides a finer degree of control over instance configurations at an attractive price point. Furthermore, GCP did not lock the business into using the platform or any specific products.

Other benefits of using GCP included the ability to liaise directly with product managers and engineers about the online marketplace’s use cases. “Working with a platform that is designed and tuned to customers’ specific requirements is very important to us,” says Dea-Mattson. “Google has stepped back and said ‘this is a fantastic business, so let’s build products that meet our customers’ needs’.”

Carousell moved quickly to migrate its operations to GCP. The infrastructure team completed the initial migration in just two weeks before fine-tuning the architecture to optimise performance, reliability, and cost-effectiveness to meet the company’s business needs.

Carousell also leverages a host of GCP features including Google Compute Engine to create and run virtual machine instances, Google Cloud Load Balancing to scale compute to meet demand, and Google App Engine to abstract its infrastructure. Google Cloud Storage enables Carousell to store and retrieve data, while Google Persistent Disk provides block storage for instances running in Google Compute Engine. Google Cloud Dataflow provides data processing for Carousell, while Google Cloud Pub/Sub delivers enterprise messaging communication between the company’s applications.

G Suite collaboration tools complement how Carousell uses GCP technologies and helps ensure prompt, reliable communication within the company, with customers, and with stakeholders. “The nice thing about G Suite is that it’s an inexpensive set of tools that lets you scale email and apps in a much more cost-effective way,” says Dea-Mattson. “In addition, I see much more collaboration than I do with other productivity suites.”

Based on its experience working with Google technologies to date, Carousell is also migrating to the Google Go open source programming language and Go based microservices. “Google Go fixes so many endemic problems in the C programming language and delivers enormous developer productivity,” says Dea-Mattson. “We are also keen to utilise its high-performance capabilities to deliver very powerful binaries to help our development processes.”

“Google Cloud Platform is enabling us to meet the requirements of millions of monthly average users who have posted more than 80 million listings since we were established. These listings include about 500 million images, while we have supported more than 1 billion chats and more than 20 billion individual chat messages.”

Jordan Dea-Mattson, Vice President, Engineering, Carousell

GCP has performed a key role in enabling Carousell to deliver a powerful service to millions of people in Southeast Asia, Oceania, and worldwide. “If we had to build our own data centres, I would need an infrastructure operations team as large as my current team that covers all our engineering requirements,” says Dea-Mattson. “The number of people working on system reliability would climb from 5 to 30.”

Furthermore, the capital expenditure to maintain the servers would have come at a higher cost compared to working with a cloud provider, such as Google.

More than 80M listings and 500M images

“Google Cloud Platform is enabling us to meet the requirements of millions of monthly average users who have posted more than 80 million listings since we were established,” Dea-Mattson adds. “These listings include about 500 million images, while we have supported more than 1 billion chats and more than 20 billion individual chat messages. That is the scale we are at and the experience we are trying to deliver to customers in a variety of environments. For example, we are providing the same experience to a customer in Jakarta as we are to a customer in Singapore, despite the differences in network latency and bandwidth between the two locations.”

Steep increase in availability

Carousell has been able to improve availability from less than 90% to 99.9%, and, in April, this increased to about 99.99%. The business has also used the pricing flexibility delivered by GCP to pay only for the resources used. For example, if the business wants to spin up a virtual machine instance on GCP for 2 minutes, it only pays for those 2 minutes.

“I believe if we were looking to hit these same availability numbers on another cloud service, we would be looking at a 50% greater cost,” says Dea-Mattson. “We continually review our Google Cloud Platform architecture to help reduce our costs from about 4 or 5 cents per monthly active user to about 3 cents per monthly active user. The flexibility and performance of Google Cloud Platform makes this goal more than achievable.”

About Carousell

Carousell is a mobile classifieds marketplace that makes selling as easy as taking a photo and buying as simple as chatting. Launched in August 2012, Carousell began in Singapore and has spread to 19 cities around the world. With over 80 million listings, it is one of the world’s largest and fastest growing marketplaces.

Industries: Media & Entertainment
Location: Singapore
Google Cloud Platform logo

12 Months FREE TRIAL

Try Kubernetes Engine, BigQuery, and other Cloud Platform products with $300 in free credit and 12 months.

TRY IT FREE
Google Cloud Platform logo

12 Months FREE TRIAL

Try Kubernetes Engine, BigQuery, and other Cloud Platform products with $300 in free credit and 12 months.

TRY IT FREE