Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Alex Peshkoff
On 11/28/14 19:13, Carlos H. Cantu wrote: > AP> What pages? That's about _wire_ compression, not database. It's turned > AP> off by default, and it's supposed that reasonable people use it only for > AP> WAN connections where reducing size (and specially number) of packages > AP> is expected to lea

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Carlos H. Cantu
AP> What pages? That's about _wire_ compression, not database. It's turned AP> off by default, and it's supposed that reasonable people use it only for AP> WAN connections where reducing size (and specially number) of packages AP> is expected to lead to better performance. Alex, can we enable/disa

Re: [Firebird-devel] Support for building Firebird with mingw-w64 toolchains.

2014-11-28 Thread Alex Peshkoff
On 11/28/14 19:17, Alexpux wrote: >> 28 нояб. 2014 г., в 19:13, Alex Peshkoff написал(а): >> >> On 11/28/14 19:07, Alexey Pavlov wrote: >>> Is anybody interesting in have mingw support in Firebird? >> The more ports we have - the better code we get. >> I.e. port is definitely useful. >> > Maybe th

Re: [Firebird-devel] Support for building Firebird with mingw-w64 toolchains.

2014-11-28 Thread Alexpux
> 28 нояб. 2014 г., в 19:13, Alex Peshkoff написал(а): > > On 11/28/14 19:07, Alexey Pavlov wrote: >> Is anybody interesting in have mingw support in Firebird? > > The more ports we have - the better code we get. > I.e. port is definitely useful. > Maybe then review changes and apply them upst

Re: [Firebird-devel] Support for building Firebird with mingw-w64 toolchains.

2014-11-28 Thread Alex Peshkoff
On 11/28/14 19:07, Alexey Pavlov wrote: > Is anybody interesting in have mingw support in Firebird? The more ports we have - the better code we get. I.e. port is definitely useful. -- Download BIRT iHub F-Type - The Free

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Thomas Steinmaurer
Jim, > Has anyone done any performance studies on zlib? I never trust benchmarks which haven't run on my own, but slide 8 here: http://www.slideshare.net/Hadoop_Summit/kamat-singh-june27425pmroom210cv2 is a good fit regarding cpu time vs. compression ratio. Working with Cassandra for the last t

Re: [Firebird-devel] Support for building Firebird with mingw-w64 toolchains.

2014-11-28 Thread Alexey Pavlov
Is anybody interesting in have mingw support in Firebird? Or it will be only in private repos around internet. Regards, Alexey. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly S

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Alex Peshkoff
On 11/28/14 18:29, James Starkey wrote: > Has anyone done any performance studies on zlib? Decompression is OK, but > compression is very, very CPU intensive. I did a study a while back to > investigate using zlib for blobs. The short answer is that it was much, > much faster to read the extra p

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread James Starkey
Has anyone done any performance studies on zlib? Decompression is OK, but compression is very, very CPU intensive. I did a study a while back to investigate using zlib for blobs. The short answer is that it was much, much faster to read the extra pages than pay for zlib compression and decompres

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Adriano dos Santos Fernandes
On 28/11/2014 11:02, Vlad Khorsun wrote: > 28.11.2014 14:50, Adriano dos Santos Fernandes wrote: >> On 28/11/2014 09:39, Vlad Khorsun wrote: >>> Hi all. >>> >>> Recently wire compression was implemented by Alex. It uses well known >>> zlib >>> library. On Linux zlib could be installed as a

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Vlad Khorsun
28.11.2014 14:50, Adriano dos Santos Fernandes wrote: > On 28/11/2014 09:39, Vlad Khorsun wrote: >> Hi all. >> >> Recently wire compression was implemented by Alex. It uses well known >> zlib >> library. On Linux zlib could be installed as a standalone package and there >> is no problems w

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Alex Peshkoff
On 11/28/14 15:34, Thomas Steinmaurer wrote: >> Recently wire compression was implemented by Alex. It uses well known >> zlib >> library. > Have you guys considered LZ4? https://code.google.com/p/lz4/ > > It is getting very popular in the big-data / NoSQL area for both, > compressing data on

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Adriano dos Santos Fernandes
On 28/11/2014 09:39, Vlad Khorsun wrote: >Hi all. > >Recently wire compression was implemented by Alex. It uses well known zlib > library. On Linux zlib could be installed as a standalone package and there > is no problems with its presence nor for Firebird users, nor for those who > going

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Thomas Steinmaurer
> Recently wire compression was implemented by Alex. It uses well known zlib > library. Have you guys considered LZ4? https://code.google.com/p/lz4/ It is getting very popular in the big-data / NoSQL area for both, compressing data on disk and over-the-wire. Regards, Thomas On Linux zlib

Re: [Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Dimitry Sibiryakov
28.11.2014 12:39, Vlad Khorsun wrote: > So, i have a couple of questions: My answers would be a) No b) Yes c) zlib1 IMHO, client and server should handle cases when zlib is not found and ignore compression option (with a warning, perhaps). -- WBR, SD. --

[Firebird-devel] Wire compression and zlib on Windows

2014-11-28 Thread Vlad Khorsun
Hi all. Recently wire compression was implemented by Alex. It uses well known zlib library. On Linux zlib could be installed as a standalone package and there is no problems with its presence nor for Firebird users, nor for those who going to build Firebird. But on Windows i found no common