influxdata / influxdata/influxdb

Add configuration options 'unix-socket-enabled' and 'bind-socket' for InfluxDB 2.x

Open
#23,382 1 comment 12 reactions 0 assignees View on GitHub
v3
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Feature Request:__

Add support for unix domain sockets for InfluxDB 2.x with the configuration options 'unix-socket-enabled' and 'bind-socket'

__Proposal:__

Add configuration options to InfluxDB 2.x already supported for InfluxDB 1.x

unix-socket-enabled = "true"
bind-socket = "unix://var/run/influxdb.sock"

__Current behavior:__

InfluxDB 2.x can only configured for HTTP or HTTPS

__Desired behavior:__

InfluxDB 2.x can be configured for UDS

__Use case:__

Upgrade configuration from InfluxDB 1.x to InfluxDB 2.x with options 'unix-socket-enabled' and 'bind-socket'
Easy reverse proxy integration
UDS sockets are faster and more reliables as a TCP sockets

Contributor guide

Open the contributing guide

Research direction

Compare the existing InfluxDB 1.x support for `unix-socket-enabled` and `bind-socket` with the InfluxDB 2.x configuration that currently supports HTTP or HTTPS. Trace how the 2.x bind address is configured and identify the tests covering these options. Done means 2.x accepts the proposed UDS settings while retaining HTTP and HTTPS behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.