[OnyxCeph³™ Wiki]

DokuWiki - World Wide Web

User Tools

Site Tools


en:servercommunicationtypes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:servercommunicationtypes [2020/09/28 13:18] – created onyxadminen:servercommunicationtypes [2022/01/15 08:21] (current) onyxadmin
Line 1: Line 1:
-~~NOTOC~~ + 
-===== TCP/IP vs. Named Pipes =====+====== TCP/IP vs. Named Pipes ======
 ---- ----
  
-In a fast local area network (LAN) environment, Transmission Control Protocol/Internet Protocol (TCP/IP) Sockets and Named Pipes clients are comparable in terms of performance. However, the performance difference between the TCP/IP Sockets and Named Pipes clients becomes apparent with slower networks, such as across wide area networks (WANs) or dial-up networks. This is because of the different ways the interprocess communication (IPC) mechanisms communicate between peers.+In a fast local area network (LAN) environment, Transmission Control Protocol/Internet Protocol (TCP/IP) Sockets and Named Pipes clients are comparable in terms of performance. However, the performance difference between the TCP/IP Sockets and Named Pipes clients becomes apparent with slower networks, such as across wide area networks (WANs) or dial-up networks. This is because of the different ways the interprocess communication (IPC) mechanisms communicate between peers.\\
  
-For named pipes, network communications are typically more interactiveA peer does not send data until another peer asks for it using a read command. A network read typically involves a series of peek named pipes messages before it begins to read the data. These can be very costly in a slow network and cause excessive network traffic, which in turn affects other network clients.+{{:tcpipe1.png?&direct}} {{:tcpipe2.png?&direct}}\\
  
-It is also important to clarify if you are talking about local pipes or network pipesIf the server application is running locally on the computer running an instance of Microsoft SQL Server™ 2000the local Named Pipes protocol is an optionLocal named pipes runs in kernel mode and is extremely fast.+====TCP/IP==== 
 +For TCP/IP Sockets, data transmissions are more streamlined and have less overhead. Data transmissions can also take advantage of TCP/IP Sockets performance enhancement mechanisms such as windowing, delayed acknowledgements, and so on, which can be very beneficial in a slow network. Depending on the type of applicationssuch performance differences can be significant.\\ 
 +TCP/IP Sockets also support a backlog queue, which can provide a limited smoothing effect compared to named pipes that may lead to pipe busy errors when you are attempting to connect to SQL Server.\\
  
-For TCP/IP Socketsdata transmissions are more streamlined and have less overheadData transmissions can also take advantage of TCP/IP Sockets performance enhancement mechanisms such as windowing, delayed acknowledgements, and so on, which can be very beneficial in a slow network. Depending on the type of applicationssuch performance differences can be significant.+====Named Pipes==== 
 +For named pipesnetwork communications are typically more interactiveA peer does not send data until another peer asks for it using a read command. A network read typically involves a series of peek named pipes messages before it begins to read the data. These can be very costly in a slow network and cause excessive network traffic, which in turn affects other network clients.\\ 
 +It is also important to clarify if you are talking about local pipes or network pipes. If the server application is running locally on the computer running an instance of Microsoft SQL Server™ 2000the local Named Pipes protocol is an option. Local named pipes runs in kernel mode and is extremely fast.\\
  
-TCP/IP Sockets also support a backlog queuewhich can provide limited smoothing effect compared to named pipes that may lead to pipe busy errors when you are attempting to connect to SQL Server.+In generalsockets are preferred in slow LAN, WAN, or dial-up network, whereas named pipes can be a better choice when network speed is not the issue, as it offers more functionality, ease of use, and configuration options.\\
  
-In general, sockets are preferred in a slow LAN, WAN, or dial-up network, whereas named pipes can be a better choice when network speed is not the issue, as it offers more functionality, ease of use, and configuration options.+----
en/servercommunicationtypes.1601291926.txt.gz · Last modified: 2020/09/28 13:18 by onyxadmin