Dedicated Server Architecture&Shared Server Architecture

来自:http://docs.oracle.com/cd/E11882_01/server.112/e40540/dist_pro.htm#CNCPT904

1、Dedicated Server

In a dedicated server architecture, the server process created on behalf of each client process is called a dedicated server process (or shadowprocess). This server process is separate from the client process and acts only on its behalf.

In the dedicated server architecture, the user and server processes communicate using different mechanisms:

  • If the client process and the dedicated server process run on the same computer, then the program interface uses the host operating system's interprocess communication mechanism to perform its job.

  • If the client process and the dedicated server process run on different computers, then the program interface provides the communication mechanisms (such as the network software and Oracle Net Services) between the programs.

Underutilized dedicated servers sometimes result in inefficient use of operating system resources. 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 client process is idle. The server process is not needed during most of the transaction, and the system may be slower for other clerks entering orders if the system is managing too many processes. For applications of this type, the shared server architecture may be preferable.

2、Shared Server

In a shared server architecture, a dispatcher directs multiple incoming network session requests to a pool of shared server processes, eliminating the need for a dedicated server process for each connection. An idle shared server process from the pool picks up a request from a common queue.

The potential benefits of shared server are as follows:

  • Reduces the number of processes on the operating system

    A small number of shared servers can perform the same amount of processing as many dedicated servers.

  • Reduces instance PGA memory

    Every dedicated or shared server has a PGA. Fewer server processes means fewer PGAs and less process management.

  • Increases application scalability and the number of clients that can simultaneously connect to the database

  • May be faster than dedicated server when the rate of client connections and disconnections is high

The following processes are needed in a shared server architecture:

  • A network listener that connects the client processes to dispatchers or dedicated servers (the listener is part of Oracle Net Services, not Oracle Database)

    Note:

    To use shared servers, a client process must connect through Oracle Net Services, even if the process runs on the same computer as the Oracle Database instance.
  • One or more dispatcher process (Dnnn)

  • One or more shared server processes


Note that a database can support both shared server and dedicated server connections simultaneously. For example, one client can connect using a dedicated server while a different client connects to the same database using a shared server.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Valheim专用服务器是由开发人员为了满足玩家需求而推出的一项功能。它允许玩家在没有他人参与的情况下独立托管游戏。通过Valheim专用服务器,玩家可以创建一个只属于他们自己或一群朋友的虚拟世界。 使用Valheim专用服务器,玩家可以完全掌控游戏环境。他们可以自行选择世界的设置,如生成地图的大小、资源的数量等等。玩家还可以设定游戏的难度,并决定是否启用创造模式或死亡惩罚等选项。这个服务器也提供了许多管理工具,如封禁玩家、重置世界等。通过这些工具,玩家可以保持游戏的秩序并确保公平竞争的环境。 Valheim专用服务器还提供了更好的游戏性能和稳定性。与共享服务器相比,它更容易处理大量玩家的连接和游戏崩溃的情况。此外,专用服务器也提供了更多的自定义选项和一些特殊功能,如mod支持和备份功能。这些功能可以让玩家根据自己的需求来增强游戏体验。 值得一提的是,Valheim专用服务器的设置和运行需要一定的技术知识。玩家需要通过设置端口转发、防火墙等来确保服务器的正常运行。同时,他们还需要了解服务器管理和维护等方面的知识。为了方便玩家搭建和管理服务器,开发人员还提供了一些官方文档和指南供参考。 总之,Valheim专用服务器为玩家提供了一个自由定制、高性能、稳定可靠的游戏环境。它让玩家可以更好地享受游戏,并与朋友一起创造属于自己的独特世界。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值