neondatabase / wsproxy

Apache License 2.0
117 stars 5 forks source link

Support UNIX Socket? Is it possible? #5

Open flexchar opened 1 day ago

flexchar commented 1 day ago

Would it be possible to support connecting to UNIX socket listening at /var/run/postgresql?

With docker, it is very easy to share virtual volume rather than a network, and it adds a couple noticeable performance gains. I'm not a go guy so I am not sure how difficult it is.

flexchar commented 1 day ago

So I end up going down the rabbit hole and did it with AI, included in my PR at https://github.com/neondatabase/wsproxy/pull/6.

Should have first asked Claude before opening an issue 😆