Sisteme cu Control Distribuit

Laborator
7/10 (1 vot)
Domeniu: Engleză
Conține 2 fișiere: pdf
Pagini : 18 în total
Cuvinte : 5874
Mărime: 86.07KB (arhivat)
Publicat de: Oliviu Negru
Puncte necesare: 0
Profesor îndrumător / Prezentat Profesorului: Tiberiu Letia

Extras din laborator

If you are designing a client-server system you may also have to design a communication

protocol between the client and the server. Of course, sometimes this protocol is already

have been decided for you, e.g. HTTP, XML-RPC (XML over HTTP), or SOAP (also

XML over HTTP). But once in a while the protocol decision is open, so let's look at a

few issued you may want to think about when designing your client - server protocol:

1. Client - Server Roundtrips

2. Demarcating the end of requests and responses

3. Penetrating Firewalls

Client - Server Roundtrips

When a client and server communicates to perform some operation they exchange

information. For instance, the client will ask for a service to be performed, and the server

will attempt to perform it, and send back a response telling the client of the result. Such

an exchange of information between the client and server is called a roundtrip.

When a computer (client or server) sends data to another computer over the internet it

takes some time from the time the data is sent, to the data is received at the other end.

This is the time it takes the data to travel over the internet. This time is called latency.

The more roundtrips you have in your protocol, the slower the protocol becomes,

especially if latency is high. The HTTP protocol consists of only a single request and a

single response to perform its service. A single roundtrip in other words. The SMTP

protocol on the other hand, consists of several roundtrips between the client and the

server before an email is sent.

The only reason to break your protocol up into multiple roundtrips is, if you have a large

amount of data to send from the client to the server. You have two options in this case:

1. Send the header information in a separate roundtrip.

2. Break the message body up into smaller chunks.

Sending the header in a separate roundtrip (the first) can be smart if the server can do

some initial pre-validation of e.g. header information. If that header information is

invalid, sending the large body of data would have been a waste anyways.

If the network connection fails while you are transfering a large amount of data, you may

have to resend all that data from scratch. By breaking the data up into smaller chunks you

only have to resend the chunks from the chunk where the network connection failed and

onwards. The successfully transfered chunks do not have be resent

Preview document

Sisteme cu Control Distribuit - Pagina 1
Sisteme cu Control Distribuit - Pagina 2
Sisteme cu Control Distribuit - Pagina 3
Sisteme cu Control Distribuit - Pagina 4
Sisteme cu Control Distribuit - Pagina 5
Sisteme cu Control Distribuit - Pagina 6
Sisteme cu Control Distribuit - Pagina 7
Sisteme cu Control Distribuit - Pagina 8
Sisteme cu Control Distribuit - Pagina 9
Sisteme cu Control Distribuit - Pagina 10
Sisteme cu Control Distribuit - Pagina 11
Sisteme cu Control Distribuit - Pagina 12
Sisteme cu Control Distribuit - Pagina 13
Sisteme cu Control Distribuit - Pagina 14
Sisteme cu Control Distribuit - Pagina 15
Sisteme cu Control Distribuit - Pagina 16
Sisteme cu Control Distribuit - Pagina 17
Sisteme cu Control Distribuit - Pagina 18

Conținut arhivă zip

  • scd-L01-Network Protocol Design.pdf
  • scd-L01-Networking Basics.pdf

Te-ar putea interesa și

Elaborarea Sistemului de Control a Parametrilor Solului și Gestionarea Irigării prin Picurare în Sere

ÎNTRODUCERE Orice gospodărie agricolă care se ocupă cu creşterea legumelor anul împrejur posedă complexe de sere în care şi se creşte producţia...

Tehnici Avansate de Conducere pentru un Sistem Energetic

1. Introducere În contextul situaþiei energetice mondiale, efortul cerut pentru reducerea consumurilor de energie în vederea conservãrii este, de...

Securitatea bazelor de date

1. SECURITATEA DATELOR Securitatea este o preocupare constanta in proiectarea si dezvoltarea bazelor de date. In mod uzual, nu se pun probleme...

Raport de practică management-marketing

I. Motivatie Firma la care mi-am efectuat stagiul de practica se numeste Prodalcom S.A. Vorona, societate cu profil productie. Cunoscand deja...

Proiectarea unui Sistem de Conducere a unui Ansamblu Serial de Hidrocentrale

Prefață În secolul al XXI-lea, economia mondială a atins noi recorduri în ceea ce privește consumul de energie. Cererea pentru energie electrică...

Rețea de prelucrarea distribuită a imaginilor

INTRODUCERE Procesul de informatizare se caracterizează prin apariţia şi dezvoltarea în interiorul diverselor organizaţii a unor reţele de...

Controlul Proceselor Tehnologice cu Ajutorul Calculatorului

Cap.I ARGUMENT In aceasta lucrare am prezentat tema „Controlul proceselor tehnologice cu ajutorul calculatorului”. Aceasta este structurata in...

Lucrare de practică - sisteme de plăți la Raiffeisen Bank - Agenția Gheorghe Lazăr Timișoara

INTRODUCERE Din cele mai vechi timpuri, de-a lungul diverselor forme de organizare şi mai ales într-o economie de piaţă, tranzacţiile sunt foarte...

Ai nevoie de altceva?