couchbase / protostellar

0 stars 3 forks source link

Define a standardized way to represent times #9

Open brett19 opened 1 year ago

brett19 commented 1 year ago

We currently use google.protobuf.Timestamp to specify a timestamp, but don't have a standardized class to represent Durations. We should decide whether we want to converge on the object-based approach, or a flattened approach.

Discussed partly here: https://github.com/couchbase/protostellar/pull/6

brett19 commented 1 year ago

Note that interestingly, the Protobuf Best Practices explicitly say to use Timestamp, but then lower in the document talks about making tradeoffs for performance.