zoukankan      html  css  js  c++  java
  • Networking Overview

    image

    image

    实现一个成功的网络环境需要考虑一下问题:

    1. small network( a few clients ) or large network ( a lot of clients )

    2. network 静态还是扩展的?

    3. 你想配置哪些方面

    4. 使用哪些工具配置 net work

    5. 2 层架构( client-server ) 还是 3 层架构( client-mid-server )

    client – server 模式

    image

    server 被动等待, client 发送请求.

    通过 IP地址 和 端口号 来进行连接 ( TCP/IP )

    如果 几千个 client 要连接数据库,就要考虑多层架构,好比目前的大公司,即便是C/S模式,也是中间加了一些技术,一般是另一个服务器,当client 多长时间没有请求时,就断开该连接。等等, 例如 3*

    三层结构 ( 加了个中间件 weblogic, apache 等等, 一般叫应用服务器 )

    这种三层架构,应用服务器,与数据库服务器端,一般是常连接,而 client 端与应用服务器端是等待client的请求,因为连接服务器需要很“长”时间,网络连接,所以这种常连接因为已经连接上了,节省时间。

    image

    In an N-tier architecture, the role of the middle-tier agent can be manifold. It can provide:

    • Translation services( as in adapting a legacy application on a mainframe to a client-server environment or acting as a bridge between protocols )
    • Scalability services( as in acting as a transaction-processing monitor to balance the load of requests between servers )
    • Network agent services( as in mapping a request to a number of different servers, collating the result, and returning a single response to the client )

    image

    image

    connectivity : 多种连接方式

    貌似 share server 可以对多用户进行支持 ( share server 目前不流行 )

    diectory services : 集中式的横跨企业范围的用户口令,服务器IP地址,端口等,放到目录里,连接时,首先要先连接该目录, 这种数据超大型企业使用,目前还没看到。

    scalability: 可扩展性,大规模的客户端链接,专用服务器,共享服务器(shared server)

    security: 安全,oracle 提供了基本的安全保证

    Accessibility: 可访问性,可和不属于 oracle 数据库建立链接,比如 db link 到 sqlserver.

    image

    protocol independence: 一般都是使用 TCP/IP

    comprehesive platform support: 支持全面平台,windows, linux 等等

    GUI : 集成化管理界面

    Muliple : 多种配置参数

    Tracing : 如果网络出现问题,有网络日志

    Basic security: 基本安全

    image

    客户端和服务器端都要安装网络服务,客户端要比 server 的版本高,例如 客户端 oracle 11g , server oracle 9i

    oracle NET 是构建在操作系统的 TCP/IP 协议之上

    image

    也可以使用 HTTP 跟 server 建立连接,但是不常用

    image

    image

    主要是针对大规模企业使用比较多使用 OID ,oracle internet directory

    image

    更大规模并发,有点类似中间件

    shared server: 可以支持更多用户访问 database

    dispatcher: the dispatcher is a process that handles the management of the connections to the valuable server processes.

    image

    基本上行就是中间件,例如连接池

    image

    (2 的少数连接,可以被客户端公用)

    1. The initial connection from a client to a server is established by connecting to Connection Manager.

    2. Connection Manager establishes the connection to the server.

    3. When additional clients request connections to the server throuch connection Manager, they use the same connection that Connection Manager used for the initial connection. 

    image

    加密的内容,如果在 第 2 阶段,网络传输阶段,那么,这时候的数据是加密的,被截获了也不要紧。

    image

    image

    目前流行的是,防火墙将 服务器和应用服务器统一保护起来,他们运行在一个局域网里

    image

    image

    PB 中就可以 创建 procedure

    image

    最重要 oracle net manager

    NETCA

    服务器端配置监听

    客户端配置本地命名

    都是图形界面程序

  • 相关阅读:
    Mysql 常用小技巧
    【JS学习】require('fs')(fs模块用于对系统文件及目录进行读写操作。)
    【JS学习】js中forEach与for循环
    【JS学习】ES6之async和await
    【JS学习】关于Vue.use()详解
    【Npm学习】npm run dev 和 npm run serve
    【Jenkins学习】修改插件下载源地址
    【JS学习】js中const,var,let区别
    【Go学习】知识分享之Golang——go mod时使用代理模式goproxy和私有模式GOPRIVATE
    【JS学习】export 和 export default 的区别
  • 原文地址:https://www.cnblogs.com/moveofgod/p/2883639.html
Copyright © 2011-2022 走看看