Skip to content

Releases: AmineDiro/daskqueue

v0.2.0

09 Jan 22:14
Compare
Choose a tag to compare

Durable queues:

  • This is a disk-backed queue for persisting the messages.
  • The tasks are served in a FIFO manner.
  • Durable queues append serialized messages to a fixed-sized file called LogSegment.
  • The durable queues also append queue operations to an IndexSegment.
  • The index segment serves as both a :
    • Bitcask index for storing the messages offsets
    • A WAL file: it is a Log where we append message status after each queue operation (ready, delivered, acked, and failed) and an offset to the message in one of the LogSegments. At init time, we just scan this file to rebuild the in-memory data structure.

Consumers

  • Implement an acking mechanism for consumers.
  • Changes the consumer join() to wait for the queue to be empty before canceling the consumers.

v0.1.6

08 Aug 17:36
8063246
Compare
Choose a tag to compare

Fixes :

  • Batch submit when len(items) < nb queues
  • Progress print prettier

v0.1.5

07 Aug 13:38
Compare
Choose a tag to compare

Changed scheduling to improve performance :

PR : #12

Key changes :

  • Faster submission using batch_submit
  • Consumer can be start before submission and will not exit until first item
  • Items are fairly distributed across queue_pool
  • Consumer pulls directly from predefined queue ( before consumer was getting a new queue from queue_pool;) : This may change in the future

v0.1.4

02 Aug 07:53
Compare
Choose a tag to compare
Version v0.1.4