README.wire.compression.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
  5. <TITLE></TITLE>
  6. <META NAME="GENERATOR" CONTENT="OpenOffice 4.1.1 (Unix)">
  7. <META NAME="AUTHOR" CONTENT="alex ">
  8. <META NAME="CREATED" CONTENT="20130531;10003100">
  9. <META NAME="CHANGEDBY" CONTENT="Alex Peshkoff">
  10. <META NAME="CHANGED" CONTENT="20141127;15401600">
  11. <STYLE TYPE="text/css">
  12. <!--
  13. @page { size: 8.5in 11in; margin: 0.79in }
  14. P { margin-bottom: 0.08in }
  15. -->
  16. </STYLE>
  17. </HEAD>
  18. <BODY LANG="en-US" DIR="LTR">
  19. <P STYLE="margin-top: 0.17in; margin-bottom: 0.2in; page-break-after: avoid">
  20. <FONT FACE="Albany, sans-serif"><FONT SIZE=4>Compressing data passed
  21. over the wire.</FONT></FONT></P>
  22. <P STYLE="margin-bottom: 0in"><BR>
  23. </P>
  24. <P>In most of cases compressing data passed over the wire is useless
  25. &ndash; one spends more time to compress a packet of data than to
  26. pass it over the typical LAN. But for WAN access data compression may
  27. be rather efficient way to enhance performance, specially when it can
  28. provide instead package size decrees packages' number decrees &ndash;
  29. that's the case for Firebird when it transfers a lot of data like big
  30. result set. zlib library (<A HREF="http://www.zlib.net/">http://www.zlib.net/</A>)
  31. is used by Firebird to compress data passed over the wire.</P>
  32. <P>By default wire compression is off, to turn it on you should set
  33. &ldquo;WireCompression=true&rdquo; in Firebird configuration on
  34. client. Compression setting is done by client to let only some
  35. clients that really need it use compression. Server gets compression
  36. setting from client when connection is established. Certainly only
  37. Firebird 3 (or higher) wire protocol supports compression. When
  38. compression is turned on Z flag is shown in client/server version
  39. info &ndash; for example: LI-T3.0.0.31451 Firebird 3.0 Beta 1/tcp
  40. (fbs)/P13:Z.</P>
  41. <P><BR><BR>
  42. </P>
  43. <P><BR><BR>
  44. </P>
  45. </BODY>
  46. </HTML>