473,738 Members | 10,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compress the data passed in JSON

23 New Member
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.
Sep 27 '12 #1
3 3384
Fary4u
273 Contributor
What platform are you using? cgi, php or .net? or can you write a code ?
Sep 27 '12 #2
skavinkar
23 New Member
I am using jquery and javascript, my application is basically based on .net platform.
Sep 28 '12 #3
gits
5,390 Recognized Expert Moderator Expert
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/
Oct 1 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
2703
by: Wencheng Magiya | last post by:
Hi all, My WebService connects to a database server, client application connects to the WebService. There is a backup method in WebService backups database and sends compressed data back to the client app. The client app then generates a zip file using the compressed data. I tried Xceed's Zip library, it can do the job well, but its price is kind of expensive. Is there any other alternative method can compress data in memory? Best...
2
1497
by: mykidisgollum | last post by:
Greetings, We've recently been working with our site pages' viewstate, turning off unnecessesary viestate items to reduce page size for faster loading. We are also experimenting with using less tables etc. What is the best way to determine the amount of data passed from server to client in an ASP.NET page run? Right now the only way we know is to view source, save source and view the file size properties. I believe this may not...
4
1909
by: Harry Keck | last post by:
I have a dynamic xml file that needs to be downloaded periodically to the client from an ASP.Net application. This file can be rather large, but it zips up very small. Does anyone know of a simple way that I can compress the file from my ASP.Net server code and then uncompress it from client jscript to read it? Maybe there is an IIS setting that automatically compresses data. Any suggestions?
2
1581
by: Susanne | last post by:
HI I built a website (for someone else) that sends several data fields to an aol e-mail account. I have noticed on several occasions that the data fields are passed blank to the e-mail. When I reroute the form data fields (via the asp file) to my yahoo account - the fields are passed with no problem. When I then reroute the form to the owner's aol account it works again. At first I thought the form file was being corrupted somehow - so I...
6
2997
by: Champika Nirosh | last post by:
Hi, I have two machine where I needed to have a extended TCP/IP protocol to make the link between the two machines Mean,I need to write a application that compress every data the machine send out.. and also need to un compress at the receiving end.. futher explaing...
3
2259
by: kpmassey | last post by:
I'm using javascript to construct large tables from an array of data, using ideas from: http://www.oreillynet.com/pub/a/javascript/2003/05/06/dannygoodman.html The data itself cannot be constructed by the javascript code, so is explicitly passed in with a large array, e.g. var data = new Array();
13
1484
by: Jay Dee | last post by:
Hi all, I am slightly confused about an odd result that douse not create an error, but also douse not give the result I would expect. My aim was to output data to a text file. If the data was passed by value, output the name and the data. If the data was by ref to output just the name as reference to the
3
2879
by: waldek | last post by:
Hi, I'm trying to handle data passed to Py Callback which is called from C dll. Callback passes data to another thread using Queue module and there the data are printed out. If data is printed out in a callback itself it's ok. If I put on queue and next get from queue in another thread script prints some trash. Looks like the data is released when callback returned. I tired to make d = copy.deepcopy(data), but it does not work - I...
0
2493
by: JonTwend | last post by:
I am working with the Twitter API and finding it great fun and generally easy to use. But I am having trouble getting to the data in the trends/current.json file. I am able to loop through the object data with a foreach loop and print it out. But I want to do more with the data than just print it. Just to be clear, I want to work with the daily and weekly trends but I am using the simpler current trends for this example. What I want to...
5
2392
semanticnotion
by: semanticnotion | last post by:
i have retrieved mysql data from one table in json using the following script $table_first = 'abc'; $query = "SELECT * FROM $table_first"; $resouter = mysql_query($query, $conn); $set = array(); $total_records = mysql_numrows($resouter); if($total_records >= 1){
0
8788
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9263
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8210
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.