On Tuesday, January 10, 2012, Randall Leeds <[email protected]> wrote: > On Tue, Jan 10, 2012 at 00:31, Dirkjan Ochtman <[email protected]> wrote: >> On Mon, Jan 9, 2012 at 23:19, Filipe David Manana <[email protected]> wrote: >>>> 2) Can anyone mention how snappy/zlib impacts performance? >>> >>> * https://issues.apache.org/jira/browse/COUCHDB-1120 >> >> So does 1.2 have both the new JSON implementation and the snappy >> compression? It seems like all the benchmarks in the ticket are either >> compression or JSON NIF, but not both.
Dirkjan, the sections that say "Results with the snappy branch" mean that the respective branch had the C JSON encoder/decoder and the compression. The reason to compare against with and without the C JSON parser was to verify that all performance gains were not obtained only by the JSON parser. > > Both. They are not alternatives. Compression occurs after JSON > decoding when storing, decompression before JSON encoding on the way > out. You'll have to test the impact on your workload with each and > decide on the settings that are right for you. > >> >> Cheers, >> >> Dirkjan > -- Filipe David Manana, "Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men."
