By default rust uses the system's default memory allocator which tends to be malloc. malloc is sufficient for light workloads, however under heavy workloads, and lots of memory allocations like those done by ord it can be extremely useful to use a different allocator.
Solution
Add optional support for usage of jemalloc
Notes
This paper does a thorough analysis of different allocators, and recommends the usage of jemalloc over malloc for things like RDMS servers.
Overview
By default rust uses the system's default memory allocator which tends to be
malloc
.malloc
is sufficient for light workloads, however under heavy workloads, and lots of memory allocations like those done byord
it can be extremely useful to use a different allocator.Solution
Add optional support for usage of
jemalloc
Notes
This paper does a thorough analysis of different allocators, and recommends the usage of
jemalloc
overmalloc
for things like RDMS servers.https://adms-conf.org/2019-camera-ready/durner_adms19.pdf