Skip to content

Commit

Permalink
clarify event types
Browse files Browse the repository at this point in the history
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
  • Loading branch information
Kavindu-Dodan committed Feb 2, 2023
1 parent d6ef755 commit dd3f617
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions OFEP-flagd-grpc-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ The gRPC schema will be defined by flagd and supporting flag management system(s

<img src="images/ofep-fd-grpc-1.png" width="300">

Further, server push can be expanded to have `event types` such as flag additions, updates and deletions, giving more
Further, grpc server push can be expanded to have `event types` such as flag additions, updates and deletions, giving more
performant connectivity between flagd and flag management system. Performance improvements come from reduced payload
size (single flag change vs all flags) and connection establishment overhead, which is missing with streaming.
size(single flag change vs all flags) and not having connection establishment overhead thanks to streaming.

Note that the implementation complexity of `event types` lives at grpc server implementation. The implementation may use
a state management system to derive the matching event type for a specific flag configuration change. In any case,
flagd must not maintain any stateless (i.e- be stateless) and only react on the sync type.

<img src="images/ofep-fd-grpc-2.png" width="300">

Expand Down

0 comments on commit dd3f617

Please sign in to comment.