Skip to content
nciemniak edited this page Sep 11, 2020 · 2 revisions

Information on how the DatabaseReplica class is used.

DatabaseReplica

Reading from the database replica requires passing a Flipper feature flag key to the DatabaseReplica.read method. If the feature flag is turned on, then the data will be read from the replica. If the flag is turned off, the data will be read from the main database. See https://panoptes.zooniverse.org/flipper/features for a list of feature flags that can be used, and Flipper Feature Flags for documentation of each of the feature flags used.