Multiservice Servers Chuan-Ming Liu Computer Science and Information Engineering spring 2004. ntut TAIWAN CSIE NTUT Taiwan
1 CSIE, NTUT, Taiwan Multiservice Servers Chuan-Ming Liu Computer Science and Information Engineering Spring 2004, NTUT TAIWAN
●。° Consolidating Servers o Same motivations for multiprotocol servers o Higher risk to use a single, multiservice server, why? o Consolidating many services into a single server process reduces o the number of executing processes dramatically The total code required o Most multiservice servers use a single transport protocol SIE NTUT. Taiwan
2 CSIE, NTUT, Taiwan Consolidating Servers Same motivations for multiprotocol servers Higher risk to use a single, multiservice server, why? Consolidating many services into a single server process reduces ⚫ the number of executing processes dramatically ⚫ The total code required Most multiservice servers use a single transport protocol
。。 Connectionless multiservice erver Application Process Master sockets ←OS (One for each service being offered) SIE. NTUT. Taiwan
3 CSIE, NTUT, Taiwan Connectionless Multiservice Server OS Application Process Master sockets (One for each service being offered)
Connection-Oriented ●●● Multiservice o Multiservice server can be programmed to handle some services iteratively and other services concurrent o Concurrency can be implemented with multiple single-threaded processes or a multi-threaded process 4 SIE NTUT. Taiwan
4 CSIE, NTUT, Taiwan Connection-Oriented Multiservice Multiservice server can be programmed to handle some services iteratively and other services concurrently Concurrency can be implemented with multiple single-threaded processes or a multi-threaded process
Iterative Connection- ●。 Oriented multiservice Master Application rocess Master sockets Sockets for←OS (One for each a TcP service offered connections 5 SIE NTUT. Taiwan
5 CSIE, NTUT, Taiwan Iterative, ConnectionOriented Multiservice Master OS Application Process Master sockets (One for each service offered) Sockets for a TCP connections