Slide 12
Slide 12 text
James Abel – PyBay Aug 2017
mivui – Monotonically Increasing Value
• Events are strictly sequenced
• Monotonically Increasing Value in Micro-Seconds (uS) since Epoch as an Integer
• Equivalent to: int(round(time.time()*1E6))
• Integer allows reliable comparison and DB indexing/sort key
• Server provides mivui
• Optionally can be locally created (but is then not absolutely guaranteed to be monotonically
increasing)
• http://api.abel.co/miv
{
"mivui": 1502435085769804,
"toc": 0,
"mivf": 1502435085.769804,
"dur": 0.0018029212951660156,
"success": true,
"mivs": "1502435085.769804“
}