From bf1e0937e88d8c35debc62b90ab6cec722d2765f Mon Sep 17 00:00:00 2001 From: Oleg Jukovec Date: Sat, 18 May 2024 22:04:50 +0300 Subject: [PATCH] Release 1.4.0 --- CHANGELOG.md | 23 +++++++++++++++++++++-- queue/version.lua | 2 +- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd30154..5e4d5a04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,29 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [1.4.0] - 2024-05-20 + +The release introduces an experimental `storage_mode` option for the `utube` +and `utubettl` drivers with the `memtx` engine. It could be used to create a +`utube` or `utubettl` queue with an additional buffer space that stores only +ready to take tasks. + +```Lua +local tube = queue.create_tube('utube_with_ready_buffer', 'utube', + {storage_mode = queue.driver.utube.STORAGE_MODE_READY_BUFFER}) +``` +```Lua +local tube = queue.create_tube('utubettl_with_ready_buffer', 'utubettl', + {storage_mode = queue.driver.utubettl.STORAGE_MODE_READY_BUFFER}) +``` + +The storage mode slower in general cases, but a much faster in cases when +you have utubes with many tasks (see README.md for the performance comparison). +So you should make your choice carefully. ### Added -- `storage_mode` option for creating a `utube` and `utubettl` tube (#228). +- Experimental `storage_mode` option for creating a `utube` and `utubettl` + tube (#228). It enables the workaround for slow takes while working with busy tubes. ### Fixed diff --git a/queue/version.lua b/queue/version.lua index be3d89f1..05347059 100644 --- a/queue/version.lua +++ b/queue/version.lua @@ -1,4 +1,4 @@ -- Сontains the module version. -- Requires manual update in case of release commit. -return '1.3.3' +return '1.4.0'