Gaius
856cc374c5
chore: update go-redis verison to v9 ( #3182 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-09 12:27:49 +08:00
dlut_xz
3a05eb6fb4
fix: comments in neighbours function ( #3069 )
...
Signed-off-by: fcgxz2003 <834756128@qq.com>
Signed-off-by: XZ <834756128@qq.com>
2024-02-07 10:35:46 +08:00
dlut_xz
aed2d7255a
feat: add scan function in redis and neighbours function in network topology ( #3048 )
...
Signed-off-by: fcgxz2003 <834756128@qq.com>
Signed-off-by: XZ <834756128@qq.com>
2024-02-02 11:55:33 +08:00
Min
31f01557a8
feat: revise findProbedHosts function ( #2986 )
...
Signed-off-by: huangmin <2107139596@qq.com>
2024-01-16 11:11:23 +08:00
Gaius
4846f6a56d
feat: add difference function for slices ( #2984 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-29 16:22:08 +08:00
Min
b9c25f8c37
feat:add cache about networktopology ( #2924 )
...
Signed-off-by: huangmin <2107139596@qq.com>
2023-12-29 15:24:15 +08:00
dlut_xz
5289f03289
fix: snapshot network topology id ( #2746 )
...
fix snapshot network topology id
Signed-off-by: XZ <834756128@qq.com>
2023-09-19 16:07:08 +08:00
dlut_xz
1a652e6594
feat: add InitProbedCount in AnnounceHost and DeleteHost in LeaveHost ( #2722 )
...
Signed-off-by: fcgxz2003 <834756128@qq.com>
2023-09-14 21:20:34 +08:00
dlut_xz
a45fcd9558
feat: remove ProbedAt function in network topology ( #2529 )
...
Signed-off-by: XZ <834756128@qq.com>
2023-07-11 10:30:20 +08:00
Gaius
1da355018b
feat: implement FindProbedHosts and add LoadRandomHosts to host manager ( #2519 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: XZ <834756128@qq.com>
Co-authored-by: dlut_xz <52518280+fcgxz2003@users.noreply.github.com>
2023-07-06 10:56:52 +08:00
Gaius
9a36cc5aa1
feat: set scan count for redis client ( #2508 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-07-04 15:13:00 +08:00
Gaius
1d1e69620c
feat: replace keys with scan in redis client ( #2507 )
...
It's not recommended to use the KEYS prefix:* command to get all the keys in a Redis instance,
especially in production environments, because it can be a slow and resource-intensive operation
that can impact the performance of the Redis instance.
Instead, you can iterate over Redis keys that match some pattern using the SCAN command,
refer to https://redis.uptrace.dev/guide/get-all-keys.html .
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-07-04 12:18:06 +08:00
Gaius
98aee9640d
feat: implement SyncProbes api in scheduler grpc service ( #2449 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: XZ <834756128@qq.com>
Co-authored-by: dlut_xz <52518280+fcgxz2003@users.noreply.github.com>
2023-06-28 17:34:58 +08:00
Gaius
691e884d35
feat: remove useless fields in network topology ( #2439 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:56 +08:00
Gaius
f610ab9c0d
test: add ParseProbedCountKeyInScheduler and Snapshot tests ( #2438 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:56 +08:00
Gaius
274c6d04e6
feat: support to collect and snapshot in network topology ( #2429 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:56 +08:00
dlut_xz
7fbe7553f9
test: optimize network topology and probes unit tests ( #2425 )
...
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:56 +08:00
Gaius
f325ae67a2
fix: delete host in network topology ( #2417 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:55 +08:00
Gaius
57c29ee51a
feat: remove redis Pipelined in network topology ( #2416 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:55 +08:00
Gaius
989f658544
feat: optimize network topology comment ( #2415 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:55 +08:00
dlut_xz
5bc465f7d8
test: add probes and network topology unit tests ( #2414 )
...
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:54 +08:00
Gaius
9999ce51b6
feat: add ProbedAt to network topology ( #2413 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:54 +08:00
Gaius
5794cfc02c
refactor: network topology package ( #2412 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:54 +08:00
dlut_xz
8630740952
test: add probes and network topology unit tests ( #2390 )
...
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:54 +08:00
Gaius
3ad8ddd4b5
refactor: probes package in network topology ( #2382 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:53 +08:00
Gaius
e1113c17c5
refactor: network topology package in scheduler ( #2380 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:52 +08:00
Gaius
81817666e5
feat: move redis key to pkg/redis package ( #2378 )
...
Network Topology adds functions to new redis key and move the manager's redis key to pkg/redis.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:52 +08:00
dlut_xz
deab6df2c2
feat: add network topology package ( #2364 )
...
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:52 +08:00
dlut_xz
557046d0d4
feat: add database config and move redis to it ( #2338 )
...
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:50 +08:00