gophers lab kaleyra's business case study

Case Study

Delivered better performance & UX for Kaleyra’s business communication platform

Posted by

admin on 28 Jun 2023


Business communication platform Kaleyra wanted to upgrade billing on their core app, which was built on legacy architecture. It presented issues like slow operations & difficulty accommodating new features. Kaleyra’s bulk messaging tool also had slow response time & UI bugs. Gophers Lab migrated Kaleyra’s code to Go, reduced Kubernetes containers & removed microservice interdependence. Further, they implemented unit testing to eliminate the existing bugs & added MMS support to the messaging platform.

About The Customer

Kaleyra, Inc. is a Communications Platform as a Service Company. It provides a proprietary platform, robust API, and visual tools to communicate with customers worldwide through various channels, including SMS, MMS, RCS, WhatsApp for Business, Video, and Voice. It consists of regular, rich, and instant messaging, push notifications, e-mail, voice services, video calling, and chatbots.

Kaleyra’s technology makes it possible to safely and securely manage billions of messages monthly with over 1,600 operator connections in more than 190 countries, including all tier-1 US carriers. Its client base of 3,800+ companies includes financial institutions, e-Commerce players, OTTs, software companies, logistic enablers, healthcare providers, retailers, and other large organizations worldwide. Kaleyra, Inc. is listed on the New York Stock Exchange (NYSE American: KLR) and Nasdaq (KLR.WS) in the US.

Customer Challenges

Kaleyra, Inc. was looking to upgrade billing on their business communication platform’s core application and their bulk message tool. The issues faced by the client included:

Billing on core application
The existing application was built on legacy architecture. The company wanted to acquire new customers without impacting the existing ones. It was faced with the below challenges in achieving the objective:

  • The platform had a slow response time and high running costs
  • It was difficult to add new features to this platform
  • New business logic could not be accommodated

Bulk messaging tool
The bulk messaging tool on the platform had three major microservices, which had issues. Kaleyra’s requirements were as follows:

  • Improve the platform performance by reducing response time
  • Remove bugs related to conditions implemented in UI
  • Add key features, such as MMS functionality

Solution Implemented

Kaleyra worked with Gophers Lab to leverage their expertise in the Go language. Gophers Lab brainstormed with the client to devise a solution to their problems. They helped Kaleyra by delivering the following:

Billing on core application

  • Moved the code to Go to eliminate complications in the current codebase and overcome slow operations
  • Migrated the database to accommodate new features without affecting the existing customer history and old records
  • Reverse engineered the platform to understand the existing approach for HLD/LLD
  • Created LLD for the existing application
  • Highlighted and eliminated bugs to enable accurate billing
  • Provided new designs for the application without changing the business logic
  • Updated old WhatsApp pricing and services (inbound/outbound) to new WhatsApp business logic to support price changes and new services by Meta
  • Implemented invoice automation and offline recharges

Bulk messaging tool

  • Removed interdependencies between microservices to improve coordination and reduce response time
  • Used libraries to restrict API calls that had longer response times
  • Implemented unit test cases to remove the bugs in the platform
  • Optimized security for webhook
  • Added support for the MMS feature on SpringBoot

Technology Stack

Go, PHP, Rest API, Spring, Java, Kafka


React, JSP


MySQL, MongoDB, Redis, RabbitMQ, PostgreSQL, Oracle





Business Results

The client accomplished the following results with the help of the new solution implemented by Gophers Lab:

  • The new rewrite reduced the cost of running the application, bringing down the number of Kubernetes containers approximately from 300 to 10
  • It also helped bring down the processing time from days and hours to a few minutes
  • Enabled Kaleyra to move to the new Whatsapp business model with ease
  • Helped the client learn more about their product after the new rewrite and made adding new features easier
  • Reduced response time for the bulk messaging tool by cleaning the code and making the microservices independent of each other
  • Removed the existing bugs for a better user experience
  • Made the code maintainable, allowing the client to add new features to it

Share On








Redeveloped Kaleyra’s core billing app in Go Migrated database without affecting customer data Reduced Kubernetes containers from 300 to 10 Removed dependencies between microservices Added support for MMS, adding a new functionality

Download Case Study

Download Case Study

Please share your contact details to get your copy.

    hire dedicated resource

    Talk to Our Experts

      Get in Touch with us for a Walkthrough