# Is it possible to disable IPC compression?

**URL:** <https://forum.kx.com/t/is-it-possible-to-disable-ipc-compression/15345>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [December 11, 2025, 9:23am UTC](https://forum.kx.com/t/is-it-possible-to-disable-ipc-compression/15345 "2025-12-11T09:23:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyper-nova](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/hyper-nova/32/128_2.png) [@hyper-nova](https://forum.kx.com/u/hyper-nova)\
**Post date:** [December 11, 2025, 9:23am UTC](https://forum.kx.com/t/is-it-possible-to-disable-ipc-compression/15345/1 "2025-12-11T09:23:50Z")

</div>

KDB specifies some default rules which are used to determine whether or not data will be compressed when sending that data over IPC.

[Interprocess communication | Developing | kdb+ and q documentation - kdb+ and q documentation](https://code.kx.com/q/basics/ipc/#compression)

Here is a copy of the relevant section from that documentation page.

### Compression

For releases since 2012.05.29, kdb+ and the C-API will compress an outgoing message if

- Uncompressed serialized data has a length greater than 2000 bytes

- Connection is not `localhost`

- Connection is not 127.0.0.1

- Connection is not using UDS (Unix Domain Socket)

- Connection does not resolve to being localhost (since 4.1t 2021.06.04)

- Size of compressed data is less than ½ the size of uncompressed data

Is it possible to **disable** compression for communication over IPC?

---

<div class="post-metadata">

**Author:** ![rocuinneagain](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/rocuinneagain/32/287_2.png) [@rocuinneagain](https://forum.kx.com/u/rocuinneagain)\
**Post date:** [December 11, 2025, 10:19am UTC](https://forum.kx.com/t/is-it-possible-to-disable-ipc-compression/15345/2 "2025-12-11T10:19:34Z")

</div>

No, it is not currently possible.
