RTC Forums
August 16, 2022, 01:52:50 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Compression in RTC  (Read 2555 times)
Andrew.W
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?

Thanks!
Logged
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.
Logged
Pages: [1]
  Print  
 
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.023 seconds with 18 queries.