You are here: Home » Topic » Compression

Compression

This topic contains 2 replies, has 2 voices, and was last updated by  Osik 9 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2128

    Osik
    Participant

    Hi Ron,

    i found this old thread. Compression would be a nice feature.

    I know that this isn’t practicable for low memory devices.

    I’d looked at the mt-daapd.conf and found also

    # compress
    #
    # Whether to use gzip content-encoding when transferring playlists etc.
    # This was contributed as a patch by Ciamac Moallemi just prior to the 0.2.1
    # release, and as such, hasn’t gotten as much testing as other features.
    #
    # This feature should substantially speed up transfers of large databases
    # and playlists.
    #
    # It will eventually default to 1, but currently it defaults to 0.
    #
    #compress = 0

    but does this work? it doesn’t seem to work.

    If you can add compression support it should be deactivated per default for the low memory devices but for normal servers there should be the possibility to enable it.

    Greetz

    Ron

    #15862

    rpedde
    Participant

    @osik wrote:

    Hi Ron,

    i found this old thread. Compression would be a nice feature.

    I know that this isn’t practicable for low memory devices.

    I’d looked at the mt-daapd.conf and found also

    # compress
    #
    # Whether to use gzip content-encoding when transferring playlists etc.
    # This was contributed as a patch by Ciamac Moallemi just prior to the 0.2.1
    # release, and as such, hasn’t gotten as much testing as other features.
    #
    # This feature should substantially speed up transfers of large databases
    # and playlists.
    #
    # It will eventually default to 1, but currently it defaults to 0.
    #
    #compress = 0

    but does this work? it doesn’t seem to work.

    If you can add compression support it should be deactivated per default for the low memory devices but for normal servers there should be the possibility to enable it.

    Greetz

    Ron

    rsp does already, but daap doesn’t. It’s not very compressible. Once I switch to a mmapped response, it will be easier to compress the output, and I’ll turn it back on.

    — Ron

    #15863

    Osik
    Participant

    Hi Ron,

    thx for info

    Greetz

    Osik

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.