solid-redis 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/solid_redis/client.rb +5 -3
- data/lib/solid_redis/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7e4dfeb6a99203c135e0c2b8b260602e1e74cb47c84fc480dd0679eb65ee824
|
|
4
|
+
data.tar.gz: 8c6d72d50a6a721c49b809d38341cdf3375d8d1ea24a6c54d4595c1f5b5f94bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 661c585eceed870edae618067705ad3086c25147e003f095c2226bac7d45efac953ae789bcf32e34b609ef9683be550f6b90275dd64277428d01015a1d2462bb
|
|
7
|
+
data.tar.gz: 5fa9f2c11d65a5bf2b44db6d405a17218763d535031ea7d26b985f0fa47a7e5faba7918ec2919cd6d7874b1edc7482652595281efa825ca80adfbbfc640aefc1
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ All notable changes to this project are documented in this file. The format
|
|
|
4
4
|
follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the
|
|
5
5
|
project adheres to [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [1.0.12] - 2026-10-04
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Enable `TCP_NODELAY` on TCP connections so consecutive writes (pipelines,
|
|
14
|
+
Pub/Sub re-subscription) are not delayed by Nagle's algorithm.
|
|
15
|
+
- Require `solid-resp-ractor` `~> 0.1.5`. With its parser and encoder
|
|
16
|
+
optimizations,
|
|
17
|
+
the Ruby 4.0.1 loopback comparison improves pipeline throughput by 22.6%,
|
|
18
|
+
19.8% and 14.5% at 1, 4 and 8 Ractors (7.5 → 5.0 allocations/op) and
|
|
19
|
+
GET/SET by 5.5% at 1 Ractor (8.4 → 6.4 allocations/op) with lower CPU.
|
|
20
|
+
|
|
7
21
|
## [1.0.11] - 2026-10-01
|
|
8
22
|
|
|
9
23
|
### Changed
|
data/lib/solid_redis/client.rb
CHANGED
|
@@ -131,10 +131,12 @@ module SolidRedis
|
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
def open_socket(target)
|
|
134
|
-
|
|
135
|
-
UNIXSocket.new(target.path)
|
|
134
|
+
if target.path
|
|
135
|
+
socket = UNIXSocket.new(target.path)
|
|
136
136
|
else
|
|
137
|
-
Socket.tcp(target.host, target.port, connect_timeout: target.connect_timeout)
|
|
137
|
+
socket = Socket.tcp(target.host, target.port, connect_timeout: target.connect_timeout)
|
|
138
|
+
# Each request is written at once; Nagle would only delay it.
|
|
139
|
+
socket.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
|
|
138
140
|
end
|
|
139
141
|
return socket unless target.ssl?
|
|
140
142
|
|
data/lib/solid_redis/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solid-redis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicolas Vandenbogaerde
|
|
@@ -43,14 +43,14 @@ dependencies:
|
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 0.1.
|
|
46
|
+
version: 0.1.5
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 0.1.
|
|
53
|
+
version: 0.1.5
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: minitest
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -118,7 +118,7 @@ licenses:
|
|
|
118
118
|
- MIT
|
|
119
119
|
metadata:
|
|
120
120
|
rubygems_mfa_required: 'true'
|
|
121
|
-
documentation_uri: https://www.rubydoc.info/gems/solid-redis/1.0.
|
|
121
|
+
documentation_uri: https://www.rubydoc.info/gems/solid-redis/1.0.12
|
|
122
122
|
source_code_uri: https://github.com/nicolasva/solid-redis
|
|
123
123
|
changelog_uri: https://github.com/nicolasva/solid-redis/blob/main/CHANGELOG.md
|
|
124
124
|
rdoc_options: []
|