Replies: 1 comment
-
cc: @shewu-quic @chunit-quic @haowhsu-quic @winskuo-quic @DannyYuyang-quic |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🚀 The feature, motivation and pitch
Currently, ET users interact directly with the ET runtime, which in turn interacts with backends determined by the AoT process. Backend-specific configurations can only be changed during AoT or runtime build time, and users lack the ability to modify these configurations at runtime. This limitation prevents users from dynamically adjusting backend-specific settings during runtime.
Alternatives
No response
Additional context
No response
RFC
Option 1
Add an interface in the backend interface to get/set backend options, and the backend option instance is hosted inside each backend.
Pros:
Cons
Threading concerns
Option 2
Allow users to create a list like following users code and the list will be dispatched to the corresponding backend to allow them adjust based on the configuration.
Pros:
Cons:
Option 3 [Preferred]
Adjusted from option 1, user will create a list of configs, and pass through via a separate API
update
. Instead of having a backend to host the backend option instance, it will be created by users and passed to the backend. The backend will be configured accordingly.Pros:
Cons:
Summary table
set_options
- New backend public APIset_options
andget_options
update
- New backend public APIupdate
No response
cc @larryliu0820 @JacobSzwejbka @lucylq
Beta Was this translation helpful? Give feedback.
All reactions