Productivity Suite API Design Decisions
Explore the key decisions behind a productivity suite API, including REST for external clients, gRPC for internal services, asynchronous messaging, HTTP/2, JSON, and Protocol Buffers. Understand how API gateways manage authentication, rate limits, routing, caching, and composite responses while balancing latency, scalability, consistency, and developer experience.
This lesson defines the key design choices for productivity suite APIs, including workflow, architecture, communication patterns, and data formats. These decisions shape the Graph and Calendar services covered next and help avoid latency, versioning, and integration issues later.
Let’s start with the design overview of the productivity suite.
Design overview
The productivity suite API provides unified access to two core domains. The first is organizational data, including users, groups, and contacts, served through a graph service. The second is calendar-based scheduling, including events, meetings, and resource rooms, served through a calendar service. Together, these form a single entry point that abstracts multiple backend microservices behind a consistent interface.
The key entities flowing through this API include users, groups, calendars, events, meetings, and bookable resources such as conference rooms. Both internal first-party applications (a web dashboard, a mobile app) and third-party developer integrations consume the same API surface.
Note: The graph service handles read-heavy workloads, such as querying an org chart with thousands of nodes, while the calendar service absorbs write-heavy bursts during peak scheduling hours when hundreds of meetings are created simultaneously.
This split in traffic patterns directly influences the design decisions ahead. The following diagram ...