Lesson 10 | Advantages and disadvantages of standalone and transient servers |
Objective | List the advantages and disadvantages of standalone and transient network servers. |
Advantages and Disadvantages of Standalone and Transient Servers
Standalone and transient servers each have their own advantages and disadvantages. Standalone servers respond rapidly to incoming connections, but they must run constantly and hold resources that the system could allocate elsewhere.
Transient servers, on the other hand, do not permanently hold resources, but take longer to respond than standalone servers.
The table below summarizes this tradeoff:
Server
|
Advantages
|
Disadvantages
|
Standalone
|
Fastest response
|
Holds resources permanently
|
Transient
|
Holds no permanent resources
|
Slower response
|
Memory
There are several other things to consider if you are trying to decide whether to use a standalone or a transient server.
If memory is critical, transient servers are more useful than standalone servers. With transient servers, only the single superserver is permanently resident in memory. Standalone servers permanently consume system resources.
Response time
A standalone server is better suited if response time is critical. Transient servers must start anew for every incoming connection. With standalone servers, no time is wasted starting another copy of itself.
The next lesson concludes this module.