Commit Graph

1206 Commits

Author SHA1 Message Date
YuanSheng Wang
b34b554597
change: set default reject code for some plugins (#1696)
plugin list:

limit-count
limit-conn
limit-req
2020-06-11 15:30:14 +08:00
Wen Ming
8dba2c0e77
doc(FAQ): added example for gray release. (#1687) 2020-06-11 13:00:41 +08:00
Kev.Hu
51b867f37a
fix bug: Execute command 'make run' multiple times, will start multiple processes (#1692)
Fix #1690
2020-06-11 13:00:04 +08:00
琚致远
ce386b09f0
doc: rename grpc-transcoding-cn.md to grpc-transcode-cn.md (#1694) 2020-06-11 12:03:12 +08:00
YuanSheng Wang
2025337077
test: add test case for route with filter_func. (#1683) 2020-06-11 11:03:02 +08:00
YuanSheng Wang
9b47b31c50
change: disable reuseport in development mode, it more easy to manage worker process. (#1175) 2020-06-10 11:32:52 +08:00
YuanSheng Wang
1b7c1bc583
test case: formatted by reindex. (#1651) 2020-06-09 20:48:16 +08:00
Yousa
4b47391a6c
bugfix(CLI): generate the 'worker_cpu_affinity' config for Linux OS (#1658)
Fix #1657
2020-06-09 20:44:15 +08:00
dabue
d780f7406f
[bugfix(CLI)]: check whether the user has enabled etcd v2 protocol. (#1665) 2020-06-09 20:42:38 +08:00
nic-chen
b59a519197
feat: support resource name for route, service and upstream object. (#1655) 2020-06-09 08:26:33 +08:00
stone4774
d6cee162d6
plugin: add consumer-restriction (#1437) 2020-06-08 12:49:46 +08:00
YuanSheng Wang
c452846b81
bugfix: wildcard certificates cannot match multi-level subdomains in … (#810) 2020-06-08 10:52:25 +08:00
Yousa
12bfcece1b
doc: add 'X-API-KEY' parameter for each interface of Admin API. (#1661) 2020-06-08 10:40:18 +08:00
Yousa
f61b7036b0
[log] Optimize the buffer size and flush time (#1570)
* yousali:<log>Optimize the buffer size and flush time

1. buffer=4096 is better for Writes of more than PIPE_BUF bytes may be nonatomic
2. flush=1. Since the log buffer is lowered, the flush time should also be lowered.

* yousali:<fix>

hi, I also made a test.

```
4096  Requests/sec:  16079.75
8192 Requests/sec:  16389.52
16384 Requests/sec:  16395.30
32768 Requests/sec:  16459.71
```
I think a log buffer size of 8192 or 16384 would be appropriate.

On the other hand, the refresh time of 3 seconds is still relatively long, and 1 or 3 seconds doesn't particularly affect QPS.

So I also agree with `buffer=16384 flush=1; `
2020-06-07 23:57:54 +08:00
dabue
3228e16705
feature: support to enable HTTPS for admin API (#1648) 2020-06-07 21:02:50 +08:00
仇柯人
52fa154217
CLI: compatibility of benchmark script and apisix reload command on OSX (#1650) 2020-06-06 09:35:12 +08:00
dabue
171db26e12
test: add test case for #1625 to test the filed of overhead (#1645) 2020-06-05 21:23:42 +08:00
Wen Ming
f615cf7134
feature: support http_to_https in redirect plugin. (#1642) 2020-06-03 17:46:58 +08:00
月夜枫
81519f35d5
doc: add skywalking plugin instructions (#1636) 2020-06-03 15:40:56 +08:00
Wen Ming
82f85e5946
test: added test tests for skywalking. (#1621) 2020-06-02 12:24:56 +08:00
nic-chen
ecd684b3a0
feat(admin api): enhance PATCH method, allow to update partial data. (#1609) 2020-06-02 11:28:45 +08:00
Vinci Xu
6faf3ef2ed
bugfix(batch-requests): support cookie (#1599) 2020-06-02 09:26:24 +08:00
xxm404
887e812b20
doc(limit-count): fixed document description does not match source code. (#1628)
close #1627
2020-06-02 09:21:10 +08:00
Gerrard-YNWA
e2154d9531
change(doc): style for HttpResponse section (#1634) 2020-06-01 20:15:02 +08:00
Wen Ming
fa1d2c6e36
change(ASF): add notifications to mailing list. (#1635) 2020-06-01 20:14:18 +08:00
qiujiayu
2e67c987bd
doc: added the link to discovery.md (#1631) 2020-06-01 15:47:39 +08:00
qiujiayu
25e608c946
bugfix: fix typo of instance_id in skywalking plugin. (#1629) 2020-05-31 20:39:15 +08:00
Nirojan Selvanathan
39ef6fb2eb
feature: add option to include request body in log util (#1545) 2020-05-29 16:15:16 +08:00
dabue
6cf21d3c2f
bugfix(prometheus): the overhead should use milliseconds. #1615 (#1616)
Fix #1615
2020-05-28 23:41:59 +08:00
dabue
f16e25d484
bugfix: change the version of skywalking to 1.0-0 (#1624) 2020-05-28 23:36:10 +08:00
Vinci Xu
cebd3e969f
doc: add coc file (#1589) 2020-05-28 22:30:55 +08:00
Wen Ming
9792045ee0
doc: removed external links and docs. (#1619) 2020-05-27 20:23:26 +08:00
Wen Ming
398941b72f
feature: add skywalking plugin. (#1241) 2020-05-27 17:55:47 +08:00
Wen Ming
67a2096540
test cases: add doc and test cases for how to redirect http to https. (#1595)
* add FAQ about redirect http To https

* add test cases for serverless plugin and redirect plugin

Co-authored-by: rhubard <18734141014@163.com>
2020-05-26 23:11:29 +08:00
Vinci Xu
1bc2af56c1
makefile: add default check for install command (#1591) 2020-05-26 21:26:52 +08:00
dabue
d14371fbd0
fix some doc style for response-rewrite* and health-check.md (#1611) 2020-05-26 13:38:28 +08:00
Wen Ming
dff6ca3f0e
doc: add asf.yaml. (#1612) 2020-05-26 13:29:48 +08:00
YuanSheng Wang
cdf4acbaea
change: updated prometheus to version 1.1 . (#1607) 2020-05-26 12:40:34 +08:00
xxm404
5aeac03821
bugfix(CLI): fixed garbled Chinese response in browser. (#1598)
fix #1559
2020-05-25 23:14:36 +08:00
Wen Ming
dab6fd1804
release: released 1.3 version. (#1558) 2020-05-25 09:50:29 +08:00
YuanSheng Wang
c9a53abbb9
test: updated style. (#1606) 2020-05-22 21:34:58 +08:00
罗泽轩
9a6fc51d29
bugfix: raise error when none of the configured etcd can be connected (#1608)
Close #1561.
2020-05-22 20:47:47 +08:00
dabue
6fb3ebef57
doc: fix the doc style for *_logger.md (#1605) 2020-05-22 14:43:20 +08:00
Vinci Xu
e79cf65880
doc: update kakfa logger plugin's cn version (#1594) 2020-05-18 11:18:44 +08:00
dengliming
3906545ac5
bugfix: incorrect variable name hostCount (#1585) 2020-05-14 23:29:11 +08:00
Vinci Xu
2c17ca7fac
doc:add chinese version for install doc (#1590) 2020-05-14 23:21:33 +08:00
qiujiayu
e7d19ec160
feature: support discovery center (#1440) 2020-05-14 23:20:44 +08:00
Scaat Feng
05b3c39f30
doc: added http logger Chinese docs (#1581) 2020-05-14 22:41:46 +08:00
罗泽轩
3ad79cccea
chore: fix function name typo in ip-restriction (#1586) 2020-05-14 17:47:09 +08:00
hiproz
89baaeabab
doc: repair the white paper's url of README (#1582) 2020-05-12 22:25:55 +08:00