Você está na página 1de 2

CENTRO DE CIENCIAS BÁSICAS

DEPARTAMENTO DE SISTEMAS ELECTRONICOS


ACADEMIA DE REDES

Nombre del Estudiante: Fecha:


Materia: CÓMPUTO DISTRIBUIDO Carrera: ISC
Profesor: FRANCISCO GUILLERMO GUTIERREZ N. Semestre: 4
Periodo: ( X ) Enero – Junio ( ) Agosto - Diciembre Aciertos:
Parcial: 1° ( X ) 2° ( ) 3° ( )
Tipo de Examen: Calificación:
Otro:

I. Instrucciones: Explique los siguientes conceptos. Valor:20% (1 pto c/u)

1. ¿Cuál es la estructura de una invocación remota?


2. ¿Partes de un RPC?
3. ¿Elementos de un RMI?
4. ¿Qué es un socket?
5. ¿Tipos de socket en programación?
6. ¿Número máximo de servicios en una computadora con una sola ip?
7. ¿Qué es comunicación por desacoplamiento de espacio/tiempo?
8. ¿En que se basa la comunicación indirecta?

II. Instrucciones: Desarrolle los siguientes problemas. Valor:40% (1 pto c/u)

9. Give an outline of the server implementation, showing how the operations


getRequest and sendReply are used by a server that creates a new thread to execute
each client request. Indicate how the server will copy the requestId from the request
message into the reply message and how it will obtain the client IP address and port.
10. A client makes remote method invocations to a server. The client takes 5
milliseconds to compute the arguments for each request, and the server takes 10
milliseconds to process each request. The local operating system processing time for
each send or receive operation is 0.5 milliseconds, and the network time to transmit
each request or reply message is 3 milliseconds. Marshalling or unmarshalling takes
0.5 milliseconds per message.

Calculate the time taken by the client to generate and return from two requests:

. (i) if it is single-threaded; 


. (ii) if it has two threads that can make requests concurrently on a single
processor. 


You can ignore context-switching times. Is there a need for asynchronous


Código: FO-121500-10
Revisión: 01
Emisión: 30/10/09
invocation if the client and server processes are threaded?

11. Construct an argument as to why indirect communication may be appropriate in


volatile environments. To what extent can this be traced to time uncoupling, space
uncoupling or indeed a combination of both? 


12. If a communication paradigm is asynchronous, is it also time-uncoupled? Explain


your answer with examples as appropriate. 


13. In publish-subscribe systems, explain how channel-based approaches can trivially be


implemented using a group communication service? Why is this a less optimal
strategy for implementing a content-based approach?
14. Explain in which respects DSM is suitable or unsuitable for client-server systems.
15. How would you implement the equivalent of a remote procedure call using a tuple
space? What are the advantages and disadvantages of implementing a remote
procedure call–style interaction in this way?

III. Instrucciones: Desarrolle los siguientes problemas. Entregar en 24 hrs Valor:40% (1 pto c/u)

16. Desarrolle un RPC con los siguientes requisitos:


 El cliente debe capturar una matriz de nxn.
 El cliente debe enviar la matriz capturada de nxn al servidor.
 El servidor debe calcular el determinante de la matriz.
 El servidor regresa solo un doble al cliente la matriz.
 El cliente visualiza el valor regresado por el servidor.

17. Crear un chat, utilizando topic de java EE.


 El chat debe utilizar comunicación indirecta.
 El chat debe hacer un login y comunicar que hay un nuevo miembro en el grupo.
 El chat debe comunicar cuando un miembro deja el grupo.

Código: FO-121500-10
Revisión: 01
Emisión: 30/10/09

Você também pode gostar