How unoserver works: Listener mode vs Headless mode
masterStandard LibreOffice conversion (e.g., libreoffice --headless --convert-to pdf ...) loads LibreOffice into memory, performs the conversion, and then exits. This causes high CPU overhead when converting many documents because the software must be reloaded for every file.
unoserver solves this by using LibreOffice's listener mode. The unoserver command starts a listener on a specified IP and port. This allows the software to stay loaded in memory, accepting multiple conversion requests via a client (unoconverter or unocompare) without exiting and reloading. This can reduce CPU load by 50% to 75% and increase conversion throughput by 2x to 4x.