3 ms·
Interesting to read that they are using Unix sockets to send traffic to their backend processes. I know that it's easily done when using HaProxy but I have neve
by JanMa 5y ago
Interesting to read that they are using Unix sockets to send traffic to their backend processes. I know that it's easily done when using HaProxy but I have never read about people using it.
I guess the fact that they are not using docker or another container runtime makes sockets rather simple to use.
- kvalekseev 5y agoIt's standard way to connect things in UNIX and provides better performance. For example postgresql tcp+ssl is 175% slower than socket https://momjian.us/main/blogs/pgblog/2012.html#June_6_2012 https://momjian.us/main/blogs/pgblog/2012.html#June_6_2012
- lttlrck 5y agoBut domain sockets only work between processes on the same machine, why would SSL be used in that case?
- mst 5y agoI do that every chance I can get. At a guess, it's probably most loved by people picking old school simple architectures that aren't the sort of thing that goes viral.