phoenix-dataplane / phoenix

Phoenix dataplane system service
https://phoenix-dataplane.github.io
Apache License 2.0
51 stars 9 forks source link

Connection context can be per RpcAdapter engine local state #128

Open libertyeagle opened 2 years ago

libertyeagle commented 2 years ago

Is your feature request related to a problem? Please describe. In current implementation of RpcAdapter engine, connection context is shared among a user process via Arc. However, this is not necessary, as each connection / recv_mr correspond only to a single engine / user thread.

Describe the solution you'd like Attach ConnectionContext to the RpcAdapter's local state.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.