Optimizing Client-Server Communications
Using ZIP-archives and AES encryption to improve security and performance
Issue: 9.1 (November/December 2010)
Author: Mattias Sandstrom
Article Description: No description available.
Article Length (in bytes): 11,470
Starting Page Number: 19
RBD Number: 9106
9106project.zip Updated: Monday, November 1, 2010 at 6:53 PM
Related Web Link(s):
Known Limitations: None
Excerpt of article text...
During the course of a long-lasting product, things never evolve along the anticipated lines. What started out as a simple affair with just a couple of kB being transferred between server and client, turned after five years into major bit hauling in the MB range. Clearly something had to be done to manage scaling and this article will outline our solution and explain some of the details from the implementation, both on the client and on the server.
In the fifth year of one of our products we decided to spend some time revisiting the core of the product, in this case a piece of code in a client application that downloads information from a server. In the beginning, the client downloaded text information with an approximate size no larger than 100 kB, but this has since increased to about 8 MB due to all of the features that have been added during the years. From a couple of pictures (about 10) we eventually found ourselves having to be able to manage many pictures (about 50) and then later on adding generic attachments as files and the size of the download inflated rapidly.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.