Processing a big data in Javascript variables: bad practice?
<p>I will need to have an array that should be rearranged from time to time.</p>

<p>The expected size of the array will be let's say thousands of rows 3-4 columns per row. One of the columns will be a integer number which is a sorting key. The sorting will be performed each time user take an action (let's say once in 10 seconds).</p>

<p>Earlier I'd perform this action of a server side with MySQL (which has a bunch well optimized sorting methods). However I decided to consider the possibility of performing this on a client side (in the browser).</p>

<p>This would be a great resource economy for my server however I don't have any experience with such kind of data manipulation and I don't know if it will hang user's browser due to huge CPU or memory usage.</p>

<p>I could test this in my browser but if it will work for me it is no guarantee that it will work well in all browsers for all users.</p>

<p>So I'd say that my question is: <em>is it a good practice to manipulate a big data in user's browser?</em></p>