Skip to main content

durable_queue_hive 0.1.0 copy "durable_queue_hive: ^0.1.0" to clipboard
durable_queue_hive: ^0.1.0 copied to clipboard

Hive storage for durable_queue, on hive_ce. Tasks survive restarts and crashes on mobile, desktop, and web.

0.1.0 #

  • Initial release.
  • HiveQueueStorage: QueueStorage on a hive_ce Box<String>, one JSON entry per task, with an indexed in-memory view for queries.
  • HiveQueueStorage.open opens the box; flushEachWrite (on by default) flushes every write to disk.
  • Ids longer than Hive's 255-byte key limit are stored under a SHA-256 hash.
  • A failed box write is undone in the view.
  • Tested with the shared storage contract on real Hive files, a writer process killed with SIGKILL, a write cut off at the end of the file, and in a browser (IndexedDB).
0
likes
160
points
29
downloads

Documentation

API reference

Publisher

verified publisherboffincoders.com

Weekly Downloads

Hive storage for durable_queue, on hive_ce. Tasks survive restarts and crashes on mobile, desktop, and web.

Repository (GitHub)
View/report issues
Contributing

Topics

#queue #hive #persistence #offline #retry

License

MIT (license)

Dependencies

crypto, durable_queue, hive_ce

More

Packages that depend on durable_queue_hive