[MXS-2349] UNIX domain sockets in servers Created: 2019-02-25  Updated: 2019-04-16  Resolved: 2019-04-15

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.4.0

Type: New Feature Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

Connecting via the UNIX domain socket to the backend servers skips the whole networking stack. This removes the extra network hop that proxies introduce thus improving query latency when the backend server is located on the same node as MaxScale.

The main reason why this is an interesting idea is that it allows no-overhead reads when MaxScale is deployed on the same node as the MariaDB server. In roughly one third of the connections it would also provide no-overhead writes with redundancy making MaxScale very efficient. In addition to the performance improvements, it could make for a cheaper and simpler setup where the server and MaxScale are both deployed as one.

This feature requires that MaxScale either detects local servers automatically or it can be configured to connect to the socket.



 Comments   
Comment by markus makela [ 2019-04-15 ]

Added socket parameter for servers.

Generated at Thu Feb 08 04:13:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.