I have two situations.
Main System - From my modem-router location to my main system requires about 40+ feet of hard cabling allowing for how the cable must be run. Initially, I ran 50 feet of hardwired Ethernet cable and recently replaced that with 15M of fiber using two converters, one at the modem-router location and one at my main system that I use with a LPS.
I have a second system located in my garage that provides music to our outdoor area. That system is much further from my modem-router location. A year or so ago, I switched my router to an Orbi mesh system. The mesh system provides full internet bandwidth from multiple satellites that can be positioned wherever you choose. By positioning one of the satellites in the garage, I was able to hardwire a very short Ethernet cable from that Orbi satellite to a second Roon endpoint that feeds the garage system from my hardwired server.