F
F
fenric2014-01-20 13:06:34
PHP
fenric, 2014-01-20 13:06:34

Is it better to use a socket connection to the server or a host with a port?

Dear friends, in fact, based on the title, the question is clear, but I will repeat:
Do you think it is better to use a connection to the server via a socket or a host with a port?
Personally, I didn’t see any difference, not in speed, nor in memory consumption, everything is almost identical ...
Maybe use skip-networking , and make a connection via a socket ...
And implement a remote connection through a tunnel.
Yes, in my opinion it's not bad... What about you?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kzk888, 2014-01-20
@fenric

A UNIX socket will inherently be faster than a TCP socket, but with respect to any local based website + database application, you will never see a noticeable difference in speed between the two.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question