title: Server side processing or client side processing?
body: <p>I have developed a comparison website for comparing any product sold online in India. Currently, the site is completely client side :-</p>
  
  <blockquote>
    <ol>
    <li>Accepts user input.</li>
    <li>Makes 20-30 AJAX requests and fetches results from all the major online shops.</li>
    <li>Uses some client-side scripting to sort the results and show it in most appropriate way.</li>
    </ol>
  </blockquote>
  
  <p>Disadvantages :-</p>
  
  <blockquote>
    <ol>
    <li>My client side code is available to everyone. Its javascript.</li>
    <li>More prone to browser errors.</li>
    <li>Not robust.</li>
    </ol>
  </blockquote>
  
  <p>Disadvantages after making it server-side:-</p>
  
  <blockquote>
    <ol>
    <li>Considering the traffic of my website, server load will increase as it will be engaged with a client for longer time.</li>
    <li>Fetching values from various websites can take as much as 10s(at max).Server engaged for that time. Consider the load if I have 500
    visitors/min at peak time.</li>
    </ol>
  </blockquote>
  
  <p>Advantages:-</p>
  
  <blockquote>
    <ol>
    <li>My codes safe and secure </li>
    <li>Processing at client side will be minimum. Will work even on mobiles and other devices easily.</li>
    </ol>
  </blockquote>
  
  <p>I want to analyze about these issues before actually implementing them. Can anyone suggest me about what should I choose for my website ? Which approach will be better for me ?</p>
  
  <p>Please comment if my question is ambiguous.</p>