Websocket connects faster and with less overhead than gRPC-web. Note vanilla gRPC is not supported on the web. gRPC is a great option for backend service interconnection, but is not an idiomatic web technology and its use is less clear cut for a front end app talking to a backend service. I personally prefer websocket for that use case if you need high performance enough to abandon REST

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Tom Larkworthy
Tom Larkworthy

Written by Tom Larkworthy

Observablehq/Cloud consultant. Developing webcode.run to serverless to Observablehq. Ex-Firebase, Ex-Google Cloud.

No responses yet

Write a response