Code Reading: The Open Source Perspective by Diomidis Spinellis
Author:Diomidis Spinellis
Language: eng
Format: epub, pdf
Publisher: Addison-Wesley
Published: 2010-07-14T16:00:00+00:00
9.1.1 Centralized Repository and Distributed Approaches
A centralized repository architectural model relies on a central process or data structure acting as a control or information hub for the system. In larger-scale systems the coordination role can be distributed across several hub processes. You will find centralized repository architectures employed when several semiautonomous processes need to cooperate to access shared information or resources. Examples in this category include window managers,1,2 file 3 and print4 servers, and network resource management applications.5 Centralized repository architectures are also the basis for many collaborative applications such as the World Wide Web, on-line messaging, player games, and revision control systems like CVS and RCS.
As a typical small-scale example, consider the description of the method used for connecting two independent Unix talk processes in a one-to-one on-line chat session.6
The talk server acts [as] a repository of invitations, responding to requests by clients wishing to rendezvous for the purpose of holding a conversation. In normal operation, a client, the caller, initiates a rendezvous by sending a CTL_MSG to the server of type LOOK_UP. This causes the server to search its invitation tables to check if an invitation currently exists for the caller (to speak to the callee specified in the message). If the lookup fails, the caller then sends an ANNOUNCE message causing the server to broadcast an announcement on the callee's login ports requesting contact. When the callee responds, the local server uses the recorded invitation to respond with the appropriate rendezvous address and the caller and callee client programs establish a stream connection through which the conversation takes place.
Download
Code Reading: The Open Source Perspective by Diomidis Spinellis.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12526)
Hello! Python by Anthony Briggs(9871)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9761)
The Mikado Method by Ola Ellnestam Daniel Brolund(9752)
Dependency Injection in .NET by Mark Seemann(9297)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8262)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7745)
Grails in Action by Glen Smith Peter Ledbrook(7671)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7521)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(6759)
Microservices with Go by Alexander Shuiskov(6526)
Practical Design Patterns for Java Developers by Miroslav Wengner(6422)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6401)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6383)
Angular Projects - Third Edition by Aristeidis Bampakos(5785)
The Art of Crafting User Stories by The Art of Crafting User Stories(5313)
NetSuite for Consultants - Second Edition by Peter Ries(5254)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5075)
Kotlin in Action by Dmitry Jemerov(5023)
