apache / eventmesh

EventMesh is a new generation serverless event middleware for building distributed event-driven applications.
https://eventmesh.apache.org/
Apache License 2.0
1.62k stars 642 forks source link

[Feature] connection stateless #747

Open liwenzheng opened 2 years ago

liwenzheng commented 2 years ago

Search before asking

Feature Request

image what do you think ?

Are you willing to submit PR?

qqeasonchen commented 2 years ago

@liwenzheng will all the command will be changed?

liwenzheng commented 2 years ago

@liwenzheng will all the command will be changed?

@qqeasonchen No, because the state is defined on the client side, the state needs to be maintained on the mesh side. For mesh, it only cares about which client it is, not what the client does. Mesh just needs to find the corresponding client according to the command and push the event. Command does not need to be changed, but some attributes need to be added to the protocol.

liwenzheng commented 2 years ago

@qqeasonchen
image There are only four directions:

  1. Client instance
  2. Mesh in the cluster
  3. Mesh outside the cluster
  4. Store in the store.

Just make the router and find the corresponding session or API according to the command

zmt-Eason commented 2 years ago

@liwenzheng Hi, I have some questions.

  1. How to find the event target by command?
  2. Besides adding additional attributes to command, what else should be refactoring and modified?
  3. How to pub/sub event for client in this architecture?
liwenzheng commented 2 years ago

@zmt-Eason First of all, you have to have the architecture of event flow, and then you have the pub / sub mode

liwenzheng commented 2 years ago

@zmt-Eason You can add wechat group and let's chat on wechat

github-actions[bot] commented 7 months ago

It has been 90 days since the last activity on this issue. Apache EventMesh values the voices of the community. Please don't hesitate to share your latest insights on this matter at any time, as the community is more than willing to engage in discussions regarding the development and optimization directions of this feature.

If you feel that your issue has been resolved, please feel free to close it. Should you have any additional information to share, you are welcome to reopen this issue.

Pil0tXia commented 7 months ago

It is difficult to achieve connection statelessness on eventmesh-runtime, but we can implement it at the proxy layer of EventMesh Function.

github-actions[bot] commented 4 months ago

It has been 90 days since the last activity on this issue. Apache EventMesh values the voices of the community. Please don't hesitate to share your latest insights on this matter at any time, as the community is more than willing to engage in discussions regarding the development and optimization directions of this feature.

If you feel that your issue has been resolved, please feel free to close it. Should you have any additional information to share, you are welcome to reopen this issue.