Chunting Wu
Oct 19, 2021

--

I am wondering it is enough if you are using 20 bits as the time shift.

As far as I know, the maximum of 20 bits is 0xFFFFF in hex and 1048575 in decimal.

Which means the time range you can use is 1048575 / 3600 / 24 ~ 12 days.

What's the user scenario in this approach?

--

--

Chunting Wu
Chunting Wu

Written by Chunting Wu

Architect at SHOPLINE. Experienced in system design, backend development, and data engineering.

No responses yet