You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Name of client library: General design guidelines for caching that applies to all track 2 data-plane clients
We want to discuss the design guidelines for creating a client that can potentially cache certain types of responses. In this review, we'd like to cover the following topics:
Should the client be stateful and cache responses?
If the client supports caching, should it be a separate client type?
Return type for APIs that can return cached responses
Schema Registry service is a concrete example where the schema is immutable once created. So, if the client gets the schema from the service, it is safe to cache it on the client. The schema is used to deserialize every event from Event Hubs and making a service call to get the schema for every event received is not optimal.
The text was updated successfully, but these errors were encountered:
Contacts and Timeline
About the Client Library
We want to discuss the design guidelines for creating a client that can potentially cache certain types of responses. In this review, we'd like to cover the following topics:
More details and various options are outlined in this gist - https://gist.github.com/srnagar/7ad722535ab2cb01a5160de551aab818
Example
Schema Registry service is a concrete example where the schema is immutable once created. So, if the client gets the schema from the service, it is safe to cache it on the client. The schema is used to deserialize every event from Event Hubs and making a service call to get the schema for every event received is not optimal.
The text was updated successfully, but these errors were encountered: