Wayland-Proxy Load Balancer Helping Firefox Cope With Wayland Issues

Written by Michael Larabel in Wayland on 22 December 2023 at 11:00 AM EST. 373 Comments
WAYLAND
With this week's release of Firefox 121, Wayland is being used by default when encountering a native Wayland desktop. Shipping as part of Firefox 121 is wayland-proxy as a C++ module to serve as a Wayland proxy load balancer.

Among the Firefox Wayland bugs, one of the top crash bugs is over a lost connection to a Wayland compositor. For dealing with it is to have a proxy between Firefox and the Wayland compositor to cache messages and prevent compositor message queue overflows.

Firefox on Wayland


Martin Stransky with Red Hat wrote Wayland-Proxy as a C++ version of a prior proof-of-concept written in Rust. Wayland-Proxy can work either as a standalone application or a library called upon by Wayland apps.
"Wayland proxy is load balancer between Wayland compositor and Wayland client. It prevents Wayland client to be disconnected by Wayland compositor if Wayland client is bussy or under heavy load."

Those wishing to learn more about Wayland-Proxy and its Firefox use can see today's post on Stransky's blog.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week