Quote:
if the javascript code that I use on the view side uses different users at the same time, is there any problem?
On the same machine? Like as in fighting to execute the JavaScript code, then yes there would be problem.
Just kidding: No, the client-side code remains on the users' machines and multiple users executing the same code do not interfere with each other.
Quote:
but is it a problem if different users perform operations such as record creation and search filtering at the same time?
Each user will have their own session and their own connection with the server. So a JavaScript function call from User1 will not affect what User2 is doing and vice versa.
However, multiple executions of the code on the server-side will introduce some
racing scenarios and you will need to take care of that part. Read here for more on this,
Race condition - Wikipedia[
^].
A racing condition is when 2 users simultaneously access a resource to modify it (all of them reading will not cause an issue), and that can be handled in different ways. But JavaScript code execution is different with everyone and will be just fine—unless you work in Node.js environment.