[CONJ-602] Add server hostname to connection packet for proxy Created: 2018-05-14  Updated: 2018-05-28  Resolved: 2018-05-14

Status: Closed
Project: MariaDB Connector/J
Component/s: configuration
Affects Version/s: None
Fix Version/s: 2.2.5, 1.7.4

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-15450 Add Host Name Field to MariaDB Client... Closed

 Description   

see related task MDEV-15450

Why

In original, one MariaDB server instance is identified by one address (IP + port). That is not enough for a shared proxy for multi servers. Like HTTP HOST header, which enables virtual host in a web server machine [1]. The similar approach is used in Oracle net listener by adding INSTANCE_NAME [2]. Adding the host name field helps the proxy layer to find the backend server, monitor full throughput easily, and can do the specific logic on different host. For cloud service, let server instance can be identified by <server name, address (IP + port)> will help to simplified workflow for the frontend proxy.


Generated at Thu Feb 08 03:16:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.