uber / cadence

Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
https://cadenceworkflow.io
MIT License
8.14k stars 786 forks source link

gRPC protocol head for Cadence frontend handler #2345

Closed samarabbas closed 2 years ago

samarabbas commented 5 years ago

Currently Cadence defines frontend API as thrift and uses yarpc over tchannel for communication between external clients and Cadence service. This issue is to expose gRPC protocol head for the public API and define protobuff definitions for all public API. Initially this API implementation could just proxy API calls to thrift API handlers.

CalPeterWu commented 4 years ago

Hi, do we have any ETA on this? Thanks!

CalPeterWu commented 4 years ago

@samarabbas

mfateev commented 4 years ago

We are targeting alpha release of the gRPC version of Cadence in February.

CalPeterWu commented 4 years ago

@mfateev Great, thanks Maxim!

BartXZX commented 4 years ago

Does this mean that Cadence workers will be able to communicate with the frontend over gRPC?

We need this to be able to run workers outside of the Cadence cluster.

mfateev commented 4 years ago

@BartXZX Yes. The workers are going to talk to the cluster through gRPC.

josesuero commented 4 years ago

Good day, Do you have an update on the ETA for this?

Thanks in advance

mfateev commented 4 years ago

We ETA is within two weeks for the alpha release.

kaushiksriram100 commented 4 years ago

Just curious about this.

sunshineo commented 4 years ago

Looking forward to this!

naormatania commented 3 years ago

Hi any updates on this ?

tonyabracadabra commented 3 years ago

We ETA is within two weeks for the alpha release.

Hey Maxim is there any updates on the migration to grpc? Thanks!

samarabbas commented 3 years ago

@tonyabracadabra Temporal V1 was released last month with grpc support: https://docs.temporal.io/blog/temporal-v1-announcement

tonyabracadabra commented 3 years ago

@tonyabracadabra Temporal V1 was released last month with grpc support: https://docs.temporal.io/blog/temporal-v1-announcement

Thanks! Is temporal a complete replacement for cadence right now with the MIT license?

samarabbas commented 3 years ago

Temporal is Open Source with MIT license. Please refer to stackoverflow post for a more complete comparison between the two open source projects.

meiliang86 commented 2 years ago

Cadence now supports gRPC communication with backward compatible upgrade story. https://cadenceworkflow.io/blog/2021/10/19/moving-to-grpc/