Declined
Last Updated: 03 Dec 2021 07:57 by ADMIN
JDBPocketware
Created on: 09 Feb 2015 15:35
Category: Data Source
Type: Feature Request
3
Listview server side filtering
When using serverFiltering=true on a listview, if you type quickly 'abcd' the datasource.read is fired 4 consecutive times, making 4 consecutive server requests. There is no cap. 'abcd' can be typed within even 1 second, that will result in 4 server request per second. Now imagine 20 users at the same time typing to filter and each keystroke firing a server request is kind of an unnecessary overload.
3 comments
ADMIN
Telerik Admin
Posted on: 10 Feb 2015 13:57
I see your point, you are asking about a configuration option for minimal symbols entered before the server request is initiated. Thanks for clarifying, this makes sense.
JDBPocketware
Posted on: 09 Feb 2015 18:46
Sure, I recorded the behavior from another component.

Here: https://vid.me/CUOc

You can also reproduce it yourself here http://demos.componentone.com/wijmo/5/Angular/Explorer/Explorer/#/input/autocomplete (the last control of the page)

This control is smarter because it groups consecutive keystrokes and after X milliseconds of inactivity it finally sends the request. Kendo instead will fire a server request for each keystroke no matter what speed of typing, and this causes stress to the server side.
ADMIN
Telerik Admin
Posted on: 09 Feb 2015 17:33
Your assumption is correct, and I understand your point. Other than switching the server filtering off in this scenario, do you have a better recommendation/solution you want to share?