Discussion:
[redis-db] [RELEASE] Redis 5 is out!
Salvatore Sanfilippo
2018-10-17 15:44:57 UTC
Permalink
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.

So to make the pill sweeter, let's start with a recap of what you get
with Redis 5:

1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward compatibility.
16. Differnet optimizations in the networking layer.
17. Lua improvements:
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.

However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.

The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.

Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).

People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.

Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.

We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!

Where to grab it?

As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
The sha256 digests are as usually here: https://github.com/antirez/redis-hashes

Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com

"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Joel VanderKwaak
2018-10-17 16:09:59 UTC
Permalink
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward
compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Joel VanderKwaak
2018-10-17 16:10:48 UTC
Permalink
argh.... sorry. was trying to forward that.

Time for coffee.
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward
compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups
"Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Salvatore Sanfilippo
2018-10-17 19:05:23 UTC
Permalink
NP! Cheers
On Wed, Oct 17, 2018 at 6:11 PM Joel VanderKwaak
Post by Joel VanderKwaak
argh.... sorry. was trying to forward that.
Time for coffee.
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
The sha256 digests are as usually here: https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com

"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Pedro Melo
2018-10-18 04:09:13 UTC
Permalink
Congratulations, this looks to be a excellent release :)

Sent from my iPhone
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
The sha256 digests are as usually here: https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
anupong bovorrattanapran
2018-10-18 04:14:25 UTC
Permalink
thank you so much.
Post by Pedro Melo
Congratulations, this looks to be a excellent release :)
Sent from my iPhone
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward
compatibility.
Post by Salvatore Sanfilippo
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as
well.
Post by Salvatore Sanfilippo
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of
Redis 5
Post by Salvatore Sanfilippo
since the core was improved in many ways during the development of the
new
Post by Salvatore Sanfilippo
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from
fixes.
Post by Salvatore Sanfilippo
The most important user facing improvement is without doubts the
introduction
Post by Salvatore Sanfilippo
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so
while
Post by Salvatore Sanfilippo
we are not aware of critical bugs in this release, surely there is to
handle it
Post by Salvatore Sanfilippo
with some care for the first weeks. Bug reporting will be highly
appreciated and
Post by Salvatore Sanfilippo
we are ready to work immediately to release 5.0.1 once there is enough
important
Post by Salvatore Sanfilippo
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with
Redis 4
Post by Salvatore Sanfilippo
so the jump is not as big as it was between 3.2 and 4 in terms of how
things
Post by Salvatore Sanfilippo
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features,
working
Post by Salvatore Sanfilippo
on the clients, sometimes debugging problems for days. Also thank to
everybody
Post by Salvatore Sanfilippo
that adopted Redis for their use cases making things work for users
worldwide.
Post by Salvatore Sanfilippo
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
https://github.com/antirez/redis-hashes
Post by Salvatore Sanfilippo
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google
Groups "Redis DB" group.
Post by Salvatore Sanfilippo
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
anupong bovorrattanapran
2018-10-18 04:14:52 UTC
Permalink
thank you so much.
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward
compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Wayne Gemmell
2018-10-18 06:15:37 UTC
Permalink
Hi

Where can I find info about timers?
Post by anupong bovorrattanapran
thank you so much.
à¹ƒàž™àž§àž±àž™àž—àžµà¹ˆ àžž. 17 àž•.àž„. 2018 à¹€àž§àž¥àž² 22:45 Salvatore Sanfilippo <
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward
compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups
"Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Salvatore Sanfilippo
2018-10-18 06:25:33 UTC
Permalink
Thanks everybody for the congrats! Wayne: there is an example of
timers in src/modules/hellotimer.c
The gist of it is that you can register times that fire with a
callback, and the callback has a context where you can call Redis
modules commands and other APIs. A very important aspect of all that
is that modules timers have their own internal scheduler, so we ask
for help from the event-loop only in order to sleep till the next
timer. This means that timers are designed so that you can register
from a module even million of timers without having scalability
issues.
Post by Wayne Gemmell
Hi
Where can I find info about timers?
Post by anupong bovorrattanapran
thank you so much.
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
The sha256 digests are as usually here: https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com

"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
v***@gmail.com
2018-10-18 07:06:30 UTC
Permalink
Congratulations, awesome version !

圚 2018幎10月17日星期䞉 UTC+8䞋午11:45:20Salvatore Sanfilippo写道
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward
compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
DV Ramesh
2018-10-20 16:23:43 UTC
Permalink
Good Information.

On Wednesday, October 17, 2018 at 8:45:20 AM UTC-7, Salvatore Sanfilippo
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward
compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
manjeet kumar
2018-10-21 06:58:01 UTC
Permalink
That's super cool way of announcing something on Google groups. Fairly
simple and yet precise list of Redis 5.0 improvements.
Post by Salvatore Sanfilippo
Hi all! Redis 5 is finally out... 1 year and 3 months after the
release of Redis 4, making Redis having a gestation length surely
greater than humans, and very similar to the one of whales.
So to make the pill sweeter, let's start with a recap of what you get
1. The new Stream data type. https://redis.io/topics/streams-intro
2. New Redis modules APIs: Timers, Cluster and Dictionary APIs.
3. RDB now stores LFU and LRU information.
4. The cluster manager was ported from Ruby (redis-trib.rb) to C code
inside redis-cli. Check `redis-cli --cluster help` for more info.
5. New sorted set commands: ZPOPMIN/MAX and blocking variants.
6. Active defragmentation version 2.
7. Improvemenets in HyperLogLog implementations.
8. Better memory reporting capabilities.
9. Many commands with sub-commands now have an HELP subcommand.
10. Better performances when clients connect and disconnect often.
11. Many bug fixes and other random improvements.
12. Jemalloc was upgraded to version 5.1
13. CLIENT UNBLOCK and CLIENT ID.
14. The LOLWUT command was added. http://antirez.com/news/123
15. We no longer use the "slave" word if not for API backward
compatibility.
16. Differnet optimizations in the networking layer.
- Better propagation of Lua scripts to slaves / AOF.
- Lua scripts can now timeout and get in -BUSY state in the slave as well.
18. Dynamic HZ to balance idle CPU usage with responsiveness.
19. The Redis core was refactored and improved in many ways.
However the list above really does not do justice to the changes of Redis 5
since the core was improved in many ways during the development of the new
version. Certain changes were back ported into Redis 4 once they were
sensed as safe, because many improvements were hard to distinguish from fixes.
The most important user facing improvement is without doubts the introduction
of the new general purpose data type after years: the streams.
Note that we worked to improve and fix streams till a few hours ago, so while
we are not aware of critical bugs in this release, surely there is to handle it
with some care for the first weeks. Bug reporting will be highly appreciated and
we are ready to work immediately to release 5.0.1 once there is enough important
stuff to justify a new release (probably soon).
People not using the streams can have probably a better production-ready
experience with Redis 5, also because many internals are shared with Redis 4
so the jump is not as big as it was between 3.2 and 4 in terms of how things
internally work. Yet around Lua scripting there are certain
implementation differences.
Well, many thanks to the Redis community and the developers that made
this release possible, contributing bug reports, patches, new features, working
on the clients, sometimes debugging problems for days. Also thank to everybody
that adopted Redis for their use cases making things work for users worldwide.
We can boldly say that Redis 5 is definitely the product of many
developers and companies working together to build something together,
which is great!
Where to grab it?
As usually... https://redis.io for tarballs, or the 5.0.0 tag on Github.
https://github.com/antirez/redis-hashes
Have fun,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Loading...