The high-level architecture of feature flags
Figure 11.4 shows the architecture of the open source feature flag server at a high level.
Figure 11.4: The high-level architecture
Looking at the diagram, the server uses mux.Router to route for different HTTP requests such as GET
, POST
, DELETE
, and PATCH
. The server uses an internal database as persistent storage for the feature flags that the application requires.
The server is accessible via HTTP request calls that can be made from both web clients and microservices using the normal HTTP protocol.