eventmesh icon indicating copy to clipboard operation
eventmesh copied to clipboard

[Feature] connection stateless

Open liwenzheng opened this issue 3 years ago • 9 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Feature Request

image what do you think ?

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

liwenzheng avatar Jan 26 '22 04:01 liwenzheng

@liwenzheng will all the command will be changed?

qqeasonchen avatar Jan 26 '22 06:01 qqeasonchen

@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 avatar Jan 26 '22 07:01 liwenzheng

@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

liwenzheng avatar Jan 26 '22 08:01 liwenzheng

@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?

zmt-Eason avatar Jan 27 '22 08:01 zmt-Eason

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

liwenzheng avatar Jan 27 '22 09:01 liwenzheng

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

liwenzheng avatar Jan 27 '22 10:01 liwenzheng

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.

github-actions[bot] avatar Apr 23 '24 18:04 github-actions[bot]

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

Pil0tXia avatar Apr 24 '24 13:04 Pil0tXia

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.

github-actions[bot] avatar Jul 23 '24 18:07 github-actions[bot]