File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes how to Send Large object (of 4MB) faster Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to Send Large object (of 4MB) faster" Watch "how to Send Large object (of 4MB) faster" New topic

how to Send Large object (of 4MB) faster

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

For many days , i have struggling with sending a large object across network (http) due to its large size it was taking time to write an object

then i thought k problem is the large size of Object i did a work around and find that gZIPoutputStream reduce much of the object size so i did

but now even more time is taken by the just because i have added an extra overhead of compressing the Object
i guess this problem is not new ..there are hell lot of situation in the real world where programmers has to have stream objects how they do it ?
how softwares like TeamViewer & VNC stream images so fast ? if any one know how to solve my problem then please i request you to put your comments ...i m struggling with this for almost a month ...please help

The Only way to learn is!
Visit my blog
I agree. Here's the link:
subject: how to Send Large object (of 4MB) faster
It's not a secret anymore!