Replies: 1 comment 7 replies
-
Basket API takes a lot of requests than other services because of user interactions like adding new items, updating, checking prices and GRPC uses Protobuf which is more efficient and faster than JSON or XML used in other APIs, with GRPC you can handle requests more faster than REST. Basket API needs real time handling for inventory management, price updates, concurrent handling to prevent issues like double booking or selling more items than are in stock with GRPC bi-directional streaming useful for real time functionality. The Basket API also requires real-time handling so that changes made on one device are immediately reflected on all other devices. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Can anyone explain why basket api using GRPC, any specific reason?
Beta Was this translation helpful? Give feedback.
All reactions