Search code examples
ajaxperformanceserver

Is it problematic to request the server on every character typed in?


In my frontend I have an input-field that sends an ajax request on every character typed in (using vue.js) to get realtime-filtering (can't use vue filter because of pagination).

Everything works smooth in my test environment, but could this lead to performance issues on (a bigger amount of) real data and if so, what can I do to prevent this?


Solution

  • The mechanism I was searching for is called debouncing.

    I used this approach in the application.