Skip to content

Version 0.1.0b5 -- LiteStash Beta 5

Pre-release
Pre-release
Compare
Choose a tag to compare
@nortosem nortosem released this 22 Jul 21:31
· 97 commits to master since this release

Pre-release 5

version = 0.1.0.b5

LiteStash Update

This is a quick cleanup and preparation release. The layout for the remaining key, value store has been added as stubs. This release trimmed some trailing raw prints from various setup functions and cleaned up packages that aren't planned or needed yet.

Function update

  1. mget: request a while batch of keys with a str (JSON) or DTO object
  2. mset: slurp up a string (JSON) or the DTO objects
  3. expire: on-demand expiration with time to live integer (Unix timestamp)

Review

Several modifications are needed. There is no default time-to-live setting. Managing the timer is decoupled from the stock implementation. Hence the expiration is a delayed delete request. I am still considering whether this should be part of the set function arguments. The preference is to leave it up to the developer's specific implementation.