Distributed application system research (5)

zhaozj2021-02-17  73

Configuration

A network application should be able to configure its constituent services at all phases, including compilation, static connection, installation, and even running when running. The steps to configure a network application include named and locating services, connect the service to one or more addresses of address space. These steps can be done in static and dynamic, as discussed below.

l Static and dynamic naming

Applications can be static or dynamic classification according to their service names.

Static Naming Service: Related to the existing object code when compiling or (AND / OR) is compiled or (and / or). Echo.

Dynamic Naming Services: Posting the service name with the binding of the object code to the execution of the service. Therefore, even if the code is written, there is no need to be identified when compiling and even connect. This code is only identified only when the application starts performing the corresponding service. Telnet.

l Static and dynamic connection

The application can also be dynamically or static and dynamically connected depending on the service connection.

Static connection When compiling or establishes a fully executable application when compiling or static connections.

Dynamically connect or remove objects to or from an address space from one process. Modern operating systems simultaneously support explicit and implicit dynamic connections.

l Static and dynamic configuration

Dynamic configuration refers to the process of initialization to provide a dynamic naming service application. This dynamic configuration of this dynamic configuration can be extended to installation / start or operation with dynamic connection, thread / process establishment mechanism. This extension is conducive to the following configurations:

Ø Function subset: Dynamic configuration Simplifies the development steps of functional subset running on a series of OS platform applications. For example, through a fine configuration service, the application can run in an embedded application can also be used for enterprise network applications. If a web browser can run on the PDA can also run on the PC.

Ø Workload balancing is difficult to determine the feature parameters of the related application services because the workload changes frequently at runtime. Therefore, it is necessary to argue the alternative application configuration options in a network environment by multiple trials. For example, this particular service (such as image processing) is the most reasonable time when a server and how many clients are matched. The service allocation is also easy to form a bottleneck in the client and the server. Too many services (features) in the server may be in the client's bottleneck, too much service (function) in the client, and form a bottleneck in the case of the client configuration.

Dynamic service reconfiguration

Highly available network applications such as online transaction or real-time remote processes control, key task systems, may require highly flexible dynamic reproduction management performance. For example, it is likely that there is a need to add other services or new version of services that do not interrupt other services. The reconfiguration protocol is based on displaying a dynamic link mechanism, which greatly enhances the functionality and flexibility of network applications. Because it brings no need to terminate other service processes for the entire application

/

Threads can increase, delete, and modify services at runtime.

转载请注明原文地址:https://www.9cbs.com/read-30892.html

New Post(0)