jeremyxu2010

Results 7 issues of jeremyxu2010

```python def combine(source, maxsize): parts = [] size = 0 for part in source: parts.append(part) size += len(part) if size > maxsize: yield ''.join(parts) parts = [] size = 0...

I use the redis-operator's chart, but found some errors, so fixed it.

我使用的`predixy`版本是1.0.5,后端接redis cluster集群,服务器cpu型号为`model name : Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz`, 使用多个redis-benchmark进程压测predixy,但我发现predixy的CPU占用很高,数据如下: ``` 1. redis cluster为3分片,要将后端3个redis-server进程压满,`predixy`占用1200%的CPU 2. redis cluster为4分片,要将后端4个redis-server进程压满,`predixy`占用1600%的CPU 3. redis cluster为5分片,要将后端5个redis-server进程压满,`predixy`占用2000%的CPU ``` 所以平均压满一个`redis-server`(即使之100%的CPU占用),`predixy`得给它多分4个cpu core,另外还需要手动修改`WorkerThreads`参数为cpu的核数。 我的配置如下: `predixy.conf` ``` Name PredixyProxy...

I setup a ceph object storage and enable swift access. try to access ceph via swift, successed: ```bash # swift -A http://10.125.224.26:7480/auth/v1.0 -U tstack:swift -K tstackqwer666 list regswfit test ```...

1. support rmdb storage 2. avoid call loop of abort and compensate --- This change is [](https://reviewable.io/reviews/lysu/go-saga/4)

restart a server on a different port than the previous version was running on

I use external [redis sentinel cluster](https://redis.io/topics/sentinel) to ensure the HA of redis. But docker registry DOES NOT support redis sentinel cluster. I want configure redis sentinel cluster like this: ```yaml...