RTC Forums
February 29, 2024, 03:59:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Login Register  
Pages: [1]
Author Topic: Compression in RTC  (Read 3347 times)
RTC License
Posts: 43

« on: November 07, 2009, 05:32:19 PM »

First  Wink !

I have a question about client requests.

- I'm trying to make assess the size of a request that I'm making of a server via RTC. Compression is enabled, so I can't just measure my inputs. How do I get the size of the (compressed) request to make sure it's not too big?

Henrick (StreamSec)
RTC Partner
Posts: 32

« Reply #1 on: November 11, 2009, 01:45:17 PM »

You should use maximum lengths for the uncompressed input as well, and is is a valid assumption that the compressed output is no longer than the input plus a constant.

The reason for checking the length of the uncompressed input is that the server would obviously have to decompress the data you send, and this is the point were it is often most likely to run out of memory.
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.022 seconds with 18 queries.