*** Yipei has joined #openstack-tricircle | 00:57 | |
*** gongysh has joined #openstack-tricircle | 01:52 | |
*** dongfeng has joined #openstack-tricircle | 02:30 | |
*** joehuang has joined #openstack-tricircle | 02:57 | |
*** dongfeng has quit IRC | 02:57 | |
*** Yipei has quit IRC | 02:57 | |
*** Yipei has joined #openstack-tricircle | 02:58 | |
*** dongfeng has joined #openstack-tricircle | 03:10 | |
*** dongfeng has quit IRC | 03:32 | |
*** dongfeng has joined #openstack-tricircle | 03:44 | |
joehuang | hello dongfeng? | 06:22 |
---|---|---|
*** Yipei_ has joined #openstack-tricircle | 06:49 | |
*** Yipei has quit IRC | 06:50 | |
dongfeng | hello | 06:54 |
joehuang | Hello, dongfeng | 08:07 |
dongfeng | hi | 08:07 |
joehuang | for the pagination, | 08:07 |
joehuang | if no limits is given, need to limit the search return at most for example 2000 records, even if the table has thousands of records | 08:08 |
joehuang | and return remark for pagination | 08:08 |
joehuang | this is to avoid too much records has to be retrieved, will make the db server keeping busy or dead | 08:09 |
dongfeng | does the 'remark' mean the last item in the page? | 08:10 |
dongfeng | http://paste.openstack.org/show/611378/ | 08:11 |
dongfeng | currently I have implement the pagination like this:https://developer.openstack.org/api-ref/networking/v2/#pagination | 08:13 |
joehuang | yes, "remark" is marker | 08:32 |
dongfeng | ok. | 08:32 |
joehuang | so in the server side, the server should protect itself not being attacked like DoS | 08:33 |
joehuang | "Deny of Service: | 08:33 |
dongfeng | then I will set the pagination limit by cfg.CONF | 08:35 |
dongfeng | and set its value to 2000 | 08:35 |
joehuang | by default through configuration | 08:47 |
dongfeng | yes, then we can set its value when call list function | 08:47 |
*** dongfeng has quit IRC | 09:18 | |
*** dongfeng has joined #openstack-tricircle | 09:31 | |
*** dongfeng has quit IRC | 09:36 | |
*** joehuang has quit IRC | 09:38 | |
*** dongfeng has joined #openstack-tricircle | 09:52 | |
*** dongfeng has quit IRC | 10:38 | |
*** dongfeng has joined #openstack-tricircle | 10:57 | |
*** gongysh has quit IRC | 10:58 | |
*** dongfeng has quit IRC | 11:10 | |
*** dongfeng has joined #openstack-tricircle | 11:27 | |
*** dongfeng1 has joined #openstack-tricircle | 12:12 | |
*** dongfeng has quit IRC | 12:15 | |
*** dongfeng1 has quit IRC | 12:28 | |
*** catintheroof has joined #openstack-tricircle | 12:35 | |
*** dongfeng1 has joined #openstack-tricircle | 12:50 | |
*** dongfeng1 has quit IRC | 13:02 | |
*** dongfeng1 has joined #openstack-tricircle | 13:15 | |
*** Yipei_ has quit IRC | 13:18 | |
*** dongfeng1 has quit IRC | 14:01 | |
*** dongfeng1 has joined #openstack-tricircle | 14:25 | |
*** catintheroof has quit IRC | 21:53 | |
*** catintheroof has joined #openstack-tricircle | 23:13 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!