Tree Xie

Results 30 issues of Tree Xie

今天有朋友说他们项目有开发写的查询有问题,导致线上mongodb全表扫描,拖慢了整个数据库,该怎么避免好?我有一个小想法,因为功能肯定在测试环境有验收,只是测试环境数据量比不上线上环境,因此问题没有发现,那么如果我转换为只关注查询时是不是对整表或者大比例的节点扫描。方案如下: - 测试环境开启所有日志记录 - 定时从`db.system.profile`取记录,查看每个请求对应的扫描文档数与其对应的表的总数(如果超时20%则该请求有问题的概率较大)

大家对于密码安全相关的讨论可以在此提出

大家对于express session的有任何的疑问可以在此提出

大家对于varnish的使用有任何的疑问可以在此提出

## What is the problem your feature solves, or the need it fulfills? I want to set tcp keepalive for l4 listener accept stream, but pingora only supports set to...

enhancement
Accepted

## Describe the bug Enable the cache: `session.cache.enable`, and the request response header `cache-control: public, max-age=0`. ### The first time success: ```bash curl 'https://charts.npmtrend.com/' -I HTTP/2 200 content-type: text/html etag:...

bug

## Describe the bug Using ResponseCompression(zstd) or session.cache.enable alone works fine, but if the two functions are used together, the response data will be problematic for the first request. ```bash...

bug

> Remotely exploitable Denial of Service in Tonic | Details | | | ------------------- | ---------------------------------------------- | | Package | `tonic` | | Version | `0.12.2` | | URL |...

> `atty` is unmaintained | Details | | | ------------------- | ---------------------------------------------- | | Status | unmaintained | | Package | `atty` | | Version | `0.2.14` | | URL...

> proc-macro-error is unmaintained | Details | | | ------------------- | ---------------------------------------------- | | Status | unmaintained | | Package | `proc-macro-error` | | Version | `1.0.4` | | URL...