foundationdb - Can I get a timestamp from a FoundationDB versionstamp?
问题描述
FoundationDB has versionstamps, ten-byte, unique, monotonically (but not sequentially) increasing values for each committed transaction.
Can I get a timestamp (when the transaction was committed) from that?
解决方案
Under "normal" (non-failure) conditions, FoundationDB database versions advance at a rate of approximately one million per second. However the rate is not guaranteed to be uniform, so versions cannot be effectively used as a clock.
推荐阅读
- css - CSS 网格中的静态 Div 过渡到填充屏幕
- css - 除主 div 外的响应块
- java - POI 3.17 NPE 从 CellComment 检索 ClientAnchor
- angularjs - Promise 的问题
- angular - 如何在 Angular5/Ionic4 中手动控制@ngx-progressbar/core 进度条的进度
- python - selenium 中的鼠标滚动模拟 - python
- sql-server-2012 - 在 2 节点 SQL Server 2012 群集中的一个节点上卸载 2 个实例
- ios - Memory leak, in do-catch block. iOS, Swift
- mysql - CSV import rounds data to be imported in column DECIMAL(30, 20)
- ruby-on-rails - Errno::ENOENT: 没有这样的文件或目录@rb_sysopen