Compress the data passed in JSON

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skavinkar
    New Member
    • Jun 2012
    • 23

    Compress the data passed in JSON

    I dont know whether i am asking valid question
    My problem is i want to send large data from one application to another for which i am using JSONP to pass data to handler file which stores it in database.As the data is large i am dividing it in chunks and passing the packets in loop, the more the number of packets the more time it takes to pass complete data which ultimately results in performance issue.(FYI my web server is bit slow)
    Is there any way by which i can compress my data and send it at a time rather than sending it in packets.
    OR
    Any other way by which i can pass my data(large data) from application to another.
    Need this ASAP
    Thanks in advance.
  • Fary4u
    Contributor
    • Jul 2007
    • 273

    #2
    What platform are you using? cgi, php or .net? or can you write a code ?

    Comment

    • skavinkar
      New Member
      • Jun 2012
      • 23

      #3
      I am using jquery and javascript, my application is basically based on .net platform.

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5390

        #4
        even when this sounds quite strange for me that there is even a need to transfer so many data from a webapp - there are some compression implementations out there like this one: http://blog.istepaniuk.com/client-si...th-javascript/

        Comment

        Working...