Commit Graph

1033 Commits

Author SHA1 Message Date
Yuansheng Wang
f18de5e7d2 doc: removed old contents. 2019-05-30 17:49:41 +08:00
Yuansheng Wang
7c90425025 doc: less than 80 character for each line. 2019-05-30 17:49:15 +08:00
Yuansheng Wang
15b8d1d7c4 doc: added new dependency lua-var-nginx-module. 2019-05-30 15:47:10 +08:00
Yuansheng Wang
fe0205629b optimize: used table to store all of the small string parts. 2019-05-30 11:38:04 +08:00
Yuansheng Wang
8349925d03 optimize: used lrucache only for string objects. 2019-05-30 11:17:27 +08:00
Yuansheng Wang
a6425f3a8f change: updated the calling way of ngxvar module which is faster. 2019-05-30 11:14:58 +08:00
Yuansheng Wang
0a94996d05 optmize prometheus: reduced to create temporary string object. 2019-05-29 16:21:39 +08:00
Yuansheng Wang
0da8c5d9b0 optimize: merged the api router and user router to one instance. 2019-05-29 16:20:02 +08:00
Yuansheng Wang
ff5bf33668 optimize: enabled keepalive flag for upstream. 2019-05-29 10:31:20 +08:00
Yuansheng Wang
46a5e7ac19 optimize: reused temporary Lua table by tablepool. 2019-05-29 10:29:40 +08:00
Yuansheng Wang
9c5bb8759a optimize: found by flame graph. 2019-05-29 09:33:04 +08:00
Yuansheng Wang
68963748a1 bugfix: if there is no valid node under the observed 'key', sleep an extra second, avoided the dead loop. 2019-05-28 21:03:10 +08:00
Yuansheng Wang
e408b5a449 limit-req bugfix: used return value to set the response code. 2019-05-28 16:48:54 +08:00
Yuansheng Wang
357b29bd0b change: the first letter of the title name should be uppercase. 2019-05-28 16:40:33 +08:00
Yuansheng Wang
33d79947b5 change: all of the config were put under /apisix/.
Fix #33.
2019-05-28 16:40:33 +08:00
WenMing
6b688c57b1
Update LICENSE 2019-05-28 16:28:29 +08:00
WenMing
6f2bd1f38e
Doc update (#34)
* doc: added doc.

* update

* added  more examples
2019-05-28 16:26:30 +08:00
Yuansheng Wang
0a7310ba50 doc: moved the Chinese content to a single file. 2019-05-28 15:56:05 +08:00
Yuansheng Wang
1e3f15b159 doc: added some basic concept definitions. 2019-05-28 15:35:49 +08:00
Yuansheng Wang
3c65b6ee29 change: code style by lj-releng. 2019-05-28 11:27:34 +08:00
Yuansheng Wang
ac67fb6dc1 change: typo. 2019-05-28 11:11:41 +08:00
Yuansheng Wang
849df38ace optimize: used lua table to cache the ngx variable. 2019-05-28 10:49:53 +08:00
WenMing
17123b333d
doc: removed lua-resty-mlcache. (#30) 2019-05-28 10:21:35 +08:00
WenMing
99bd870ff8
conf: removed user resty and add server header. (#29)
* conf: removed user resty and add server header.

* dir: added `logs` dir.
2019-05-28 10:19:34 +08:00
Yuansheng Wang
20e2b486bd test: updated the test case. 2019-05-28 09:51:38 +08:00
Yuansheng Wang
2c0cf0594a feature: support service model. 2019-05-28 09:51:38 +08:00
Yuansheng Wang
cf05aef2d6 optimize: reused the temporary Lua table. 2019-05-27 10:22:30 +08:00
Yuansheng Wang
4b899530c2 optimize prometheus plugin: used lrucache way to cache the encoded label value. 2019-05-25 00:39:40 +08:00
Yuansheng Wang
c40dbf4b8d bugfix: cleared the table cache when reload local plugins. 2019-05-24 23:20:21 +08:00
Yuansheng Wang
7aa5b22505 optimize: used lrucache to store the api router. 2019-05-24 23:20:21 +08:00
Yuansheng Wang
122777cffa feature: implemented plugin prometheus. 2019-05-24 23:20:21 +08:00
Yuansheng Wang
a03e076e4b feature: allowed custom plugin lrucache parameters. 2019-05-24 13:37:51 +08:00
Yuansheng Wang
1b154f27a9 change: used different parameter for plugin balancer. 2019-05-24 11:50:10 +08:00
Yuansheng Wang
c3c046f0fc optimize: removed the version in lrucache key. 2019-05-24 09:22:06 +08:00
Yuansheng Wang
c3f61fa080 optmize: used common lrucache to store and fetch the server_piker. 2019-05-23 22:38:08 +08:00
Yuansheng Wang
3cf18bb4eb bugfix: maybe missing body when calling response.exit. 2019-05-23 21:57:51 +08:00
Yuansheng Wang
6ab1dcde81 change: saved the consumer id to ctx. 2019-05-23 21:29:56 +08:00
Yuansheng Wang
743be5eaa0 doc: added doc for plugin key-auth. 2019-05-23 09:27:15 -04:00
Yuansheng Wang
f454328605 feature: get the consumer id by auth plugin like key-auth. 2019-05-23 09:27:15 -04:00
Yuansheng Wang
162c2e0dc7 feature: added core.request module. 2019-05-23 15:19:07 +08:00
Yuansheng Wang
0d64f7d1c3 change: used response which is a fully name. 2019-05-23 14:42:42 +08:00
Yuansheng Wang
ebd046dbdf change: fetched all of the config from apisix.core.config. 2019-05-22 09:19:25 +08:00
Yuansheng Wang
2a3b1c87e9 change: renamed plugin file, made it simple. 2019-05-21 23:24:19 +08:00
Yuansheng Wang
d1e283d9d9 doc: added doc of limit count. 2019-05-21 23:08:30 +08:00
Yuansheng Wang
f447835f2c optmize: used lrucache + config_etcd to cache all of the routes from etcd, deleted the duplicated code. 2019-05-21 22:53:28 +08:00
Yuansheng Wang
4f71bc97e8 change: added todo comments. 2019-05-21 11:53:04 +08:00
Yuansheng Wang
b947dab39c feature: implemented set_header in response module. 2019-05-21 11:51:46 +08:00
Yuansheng Wang
1f1696c0e9 feature: implemented plugin limit-count. 2019-05-21 11:17:46 +08:00
Yuansheng Wang
31fac0c739 optmize: supported to use stale object for lrucache case. 2019-05-21 11:04:05 +08:00
Yuansheng Wang
242da97d4f change: code style. 2019-05-21 10:42:26 +08:00