Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to Send Large object (of 4MB) faster  RSS feed

Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!