Transparency (computing)
From Wikipedia, the free encyclopedia
The factual accuracy of this article is disputed. Please see the relevant discussion on the talk page. (March 2008) |
Any change in a computing system, such as new feature or new component, is transparent if the system after change adheres to previous external interface as much as possible while changing its internal behaviour. The purpose is to shield from change all systems (or human users) on the other end of the interface. Confusingly, the term refers to overall invisibility of the component, it does not refer to visibility of component's internals (as in white box or open system).
The term is used particularly often with regard to an abstraction layer that is invisible either from its upper or lower neighbouring layer.
Also temporarily used later around 1969 in IBM and Honeywell programming mannuals[citation needed] the term referred to a certain programming technique. An application code was transparent when it was clear of the low-level detail (such as device-specific management) and contained only the logic solving a main problem. It was achieved through encapsulation - putting the code into modules that hid internal details, making them invisible for the main application.
[edit] Examples
For example, the Network File System is transparent, because it introduces the access to files stored remotely on the network in a way uniform with previous local access to a file system, so user might even not notice it while using the folder hierarchy. Earlier File Transfer Protocol (FTP) is considerably less transparent, because it requires each user to learn how to access files through ftp client.
Similarly, some file systems allow transparent compression and decompression of data, enabling users to store more files on a medium without any special knowledge; some file systems encrypt files transparently. This approach does not require running compression or encryption utility manually.
In software engineering, it is also considered good practice to develop or use abstraction layers for database access, so that the same application will work with different databases; here, the abstraction layer allows other parts of the program to access the database transparently.
In object-oriented programming, transparency is facilitated through the use of interfaces that hide actual implementations done with different underlying classes.
[edit] Types of transparency in distributed system
Transparency means that any form of distributed system should hide its distributed nature from its users, appearing and functioning as a normal centralized system.
There are many types of transparency:
- Access transparency - Regardless of how resource access and representation has to be performed on each individual computing entity, the users of a distributed system should always access resources in a single, uniform way.
- Location transparency - Users of a distributed system should not have to be aware of where a resource is physically located.
- Migration transparency - Users should not be aware of whether a resource or computing entity possesses the ability to move to a different physical or logical location.
- Relocation transparency - Should a resource move while in use, this should not be noticeable to the end user.
- Replication transparency - If a resource is replicated among several locations, it should appear to the user as a single resource.
- Concurrent transparency - While multiple users may compete for and share a single resource, this should not be apparent to any of them.
- Failure transparency - Always try to hide any failure and recovery of computing entities and resources.
- Persistence transparency - Whether a resource lies in volatile or permanent memory should make no difference to the user.
- Security transparency - Negotiation of cryptographically secure access of resources must require a minimum of user intervention, or users will circumvent the security in preference of productivity.[1]
Formal definitions of most of these concepts can be found in RM-ODP, the Open Distributed Processing Reference Model (ISO 10746).
The degree to which these properties can or should be achieved may vary widely. Not every system can or should hide everything from its users. For instance, due to the existence of a fixed and finite speed of light there will always be more latency on accessing resources distant from the user. If one expects real-time interaction with the distributed system, this may be very noticeable.
[edit] References
- Transparent-Mode Control Procedures for Data Communication a paper from 1965; its abstract carries an early example of usage in IT field.