Grab
Grab logoGrab · Feature trail

Web Chat Platform

2 posts · May 2017 – Jun 2020

What this trail covers

Grab has developed an in-house chat platform for web, enabling real-time communication between passengers and drivers during bookings, and for customer support. This involved a hybrid approach using JavaScript SharedWorker and BroadcastChannel APIs to manage multiple browser tabs and maintain a single TCP connection to the backend, overcoming the limitations of the existing unicast TCP gateway. The initial implementation focused on a simple TCP server and evolved to a service-oriented architecture utilizing Grab's infrastructure, with a client-side message handling protocol to mitigate server resource consumption and ensure message delivery reliability.

All Grab trails