Having the same Datastore key prefix is considered a bad practice that leads to the Datastore performance degradation.
We now have such prefixes for LifecycleFlags in DsAggregateStorage. The other prefix-based key is used for Snapshots.
In DsProjectionStorage we also have such a prefix for last handled event time. An additional note for DsProjectionStorage is that we use google.protobuf.Timestamp as a kind for the last event timestamp which is misleading.
Having the same Datastore key prefix is considered a bad practice that leads to the Datastore performance degradation.
We now have such prefixes for
LifecycleFlagsinDsAggregateStorage. The other prefix-based key is used forSnapshots.In
DsProjectionStoragewe also have such a prefix for last handled event time. An additional note forDsProjectionStorageis that we usegoogle.protobuf.Timestampas a kind for the last event timestamp which is misleading.