Minimizing client-server requests is very important to improve performance.
Consider for example the following model, deleting all records from a database table:
We have one client-server request for 'Find', and then multiple requests for 'Delete'. If the table contains 10 records, we'll have a total of 11 requests. If it contains 1000 records, we'll have 1001 requests. We also pass a lot of data from the server to the client, and then back from the client to the server.
This is extremely inefficient
A much better model would pack both 'Find' and 'Delete' in a single service, like this:
Now we have only a single client-server request, regardless of the amount of work that has to be done, and no records are passed between the client and the server. This is optimal.
A few improvements I think we should introduce:
For best results, use the Firefox browser..