Dedicated Server Configuration (133)

本文详细介绍了专有服务器配置的工作原理及其与用户进程之间的交互方式。包括在同一台计算机上使用操作系统进程间通信机制进行通信,以及跨计算机时利用网络软件和Oracle Net Services建立连接。此外还讨论了该配置在某些应用场景下的效率问题。

The user and server processes are separate, distinct processes. The separate server
process created on behalf of each user process is called a dedicated server process (or
shadow process), because this server process acts only on behalf of the associated user
process.
This configuration maintains a one-to-one ratio between the number of user processes
and server processes. Even when the user is not actively making a database request,
the dedicated server process remains (though it is inactive and can be paged out on
some operating systems).
In the dedicated server configuration, the user and server processes communicate
using different mechanisms:
■ If the system is configured so that the user process and the dedicated server
process run on the same computer, the program interface uses the host operating
system’s interprocess communication mechanism to perform its job.
■ If the user process and the dedicated server process run on different computers,
the program interface provides the communication mechanisms (such as the
network software and Oracle Net Services) between the programs.
■ Dedicated server architecture can sometimes result in inefficiency. Consider an
order entry system with dedicated server processes. A customer places an order as
a clerk enters the order into the database. For most of the transaction, the clerk is
talking to the customer while the server process dedicated to the clerk’s user
process remains idle. The server process is not needed during most of the
transaction, and the system is slower for other clerks entering orders. For
applications such as this, the shared server architecture may be preferable.

专有服务
用户进程和服务进程分隔开 , 服务进程为每个用户进程创建一个专有连接 , 是1对1的
在专有服务模式下 , 用户和服务进程通过不同机制连接 :
1. 用户和服务进程运行在同一机器上 , 程序接口使用操作系统进程间通信机制
2. 用户和服务进程运行在不同机器上 , 程序接口在程序见提供通信连接机制
3. 专有模式下在有些时候是低效的 .

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-980725/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-980725/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值