DistSystems at Frankfurt University Of Applied Sciences | Flashcards & Summaries

Select your language

Suggested languages for you:
Log In Start studying!

Lernmaterialien für DistSystems an der Frankfurt University of Applied Sciences

Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen DistSystems Kurs an der Frankfurt University of Applied Sciences zu.

TESTE DEIN WISSEN

Name the definitions for distributed Systems.

Lösung anzeigen
TESTE DEIN WISSEN

Autonomous computers are part of distributed system, if they are able to solve problem in the network


-hard- and software components
-based on different but connected computers
-communicate with each other based on specific protocol
-Interchange messages with each other

Lösung ausblenden
TESTE DEIN WISSEN

How do we identify a service

Lösung anzeigen
TESTE DEIN WISSEN

we identify a serive by it´s ip adress + port number

Lösung ausblenden
TESTE DEIN WISSEN

What is the difference between server and service?

Lösung anzeigen
TESTE DEIN WISSEN

The Server is the machine , you can run multiple services on a server

Lösung ausblenden
TESTE DEIN WISSEN

Socket programming using java

-Name  the relevant ckasses 

-Name the relevant steps

pseudo code

Lösung anzeigen
TESTE DEIN WISSEN

Java : client program


Socket echoSocket = new Socket("127,0.0.1",1117);

OutputStream os = echoSocket.getOutputStream();//setup outgoing bytes

os.println("eineNachricht an den Server");// send a sting over the socket to the server

BufferedReader in = new BufferedReader(new InputStreamReader(echoSocket.getInputStream()));// remember the decorator pattern


sout("echo: "+ in.readLine());

in.close();//close inputstream

out.close();close outputstream

echoSocket.close(); //close connection


java: Server Program

ServerSocket echod = new ServerSocket(1117);// Service is started using port 1117

Socket socket = echod.accept( ); //incoming connection is accepted

InputStream in = socket.getInputStream( ); // stup datastream for incoming bytes 

//read from the client using object in

OutputStream out =   socket.getOutputStream( );// setup datastream for outgoing bytes 

//weite to the client using object out

out.flush( );

in.close( );//close inputstream

out.close( );//close outputstream

socket.close( );//close connection


Lösung ausblenden
TESTE DEIN WISSEN

What ist the difference betweeen a Socket and a ServerSocket?

Lösung anzeigen
TESTE DEIN WISSEN

The Socket represents the clientside the ServerSocket represents the serverside.

Lösung ausblenden
TESTE DEIN WISSEN

what is the difference between  char based and byte base streams?

Lösung anzeigen
TESTE DEIN WISSEN

The main difference between Byte Stream and Character Stream in Java is that the Byte Stream helps to perform input and output operations of 8-bit bytes while the Character Stream helps to perform input and output operations of 16-bit Unicode

Lösung ausblenden
TESTE DEIN WISSEN

What are the disadvantages of distributed systems?

Lösung anzeigen
TESTE DEIN WISSEN

Hardware: low cost components usually have a worse quality so blackout is much more possible


Software: complexity will increase , you have to care about distributed computing


Network: bottleneck, possible loss of data


Security: hacker attacks are possible, harder to manage, distributed responsibility


Consistency: You have to take care of data´s actuality


Lösung ausblenden
TESTE DEIN WISSEN

What are the two methods HTTP GET / HTTP POST good for?

Lösung anzeigen
TESTE DEIN WISSEN

They both are good for getting resources from the server

Lösung ausblenden
TESTE DEIN WISSEN

What is the difference between HTTP GET/ HTTP POST?

Lösung anzeigen
TESTE DEIN WISSEN

HTTP GET : It is used to send parameters from the client to the server

The parameters are part of the URL


HTTP POST: parameters are not part of the url, they are part of the body the body is unlimited in it´s size possible to send endless data from the client to the server

Lösung ausblenden
TESTE DEIN WISSEN

What information are written in an HTTP Request / Response header?



Lösung anzeigen
TESTE DEIN WISSEN

Request: Which resources is requested, which language is supported , what is the supported browser type, what was the referring webpage, what charset is supported


Response: Status code, the data of the response what kind of file type ist returned ,what server software is used

Lösung ausblenden
TESTE DEIN WISSEN

What is in the HTTP response body?

Lösung anzeigen
TESTE DEIN WISSEN

The answer/response from the server is sent inthe body of the responseBody

Lösung ausblenden
TESTE DEIN WISSEN

Name the advantage for distributed Systems!

Lösung anzeigen
TESTE DEIN WISSEN

Cost effectiveness: Microprocessor have a better cost/performance ratio than legacy systems

Performance & Reliability: better performance, the blackout of one components doesn´t lead in a blackout of the whole system


Scalability & Flexibility: Incremental increase/decrease of the computing power are possible, as well as load balance


Inherent distributing: a intrinsic advantage. So no one is the owner of the distributed system


shared data & peripheral: using shared data and expensive peripherals like printers etc

Lösung ausblenden
  • 33135 Karteikarten
  • 1364 Studierende
  • 10 Lernmaterialien

Beispielhafte Karteikarten für deinen DistSystems Kurs an der Frankfurt University of Applied Sciences - von Kommilitonen auf StudySmarter erstellt!

Q:

Name the definitions for distributed Systems.

A:

Autonomous computers are part of distributed system, if they are able to solve problem in the network


-hard- and software components
-based on different but connected computers
-communicate with each other based on specific protocol
-Interchange messages with each other

Q:

How do we identify a service

A:

we identify a serive by it´s ip adress + port number

Q:

What is the difference between server and service?

A:

The Server is the machine , you can run multiple services on a server

Q:

Socket programming using java

-Name  the relevant ckasses 

-Name the relevant steps

pseudo code

A:

Java : client program


Socket echoSocket = new Socket("127,0.0.1",1117);

OutputStream os = echoSocket.getOutputStream();//setup outgoing bytes

os.println("eineNachricht an den Server");// send a sting over the socket to the server

BufferedReader in = new BufferedReader(new InputStreamReader(echoSocket.getInputStream()));// remember the decorator pattern


sout("echo: "+ in.readLine());

in.close();//close inputstream

out.close();close outputstream

echoSocket.close(); //close connection


java: Server Program

ServerSocket echod = new ServerSocket(1117);// Service is started using port 1117

Socket socket = echod.accept( ); //incoming connection is accepted

InputStream in = socket.getInputStream( ); // stup datastream for incoming bytes 

//read from the client using object in

OutputStream out =   socket.getOutputStream( );// setup datastream for outgoing bytes 

//weite to the client using object out

out.flush( );

in.close( );//close inputstream

out.close( );//close outputstream

socket.close( );//close connection


Q:

What ist the difference betweeen a Socket and a ServerSocket?

A:

The Socket represents the clientside the ServerSocket represents the serverside.

Mehr Karteikarten anzeigen
Q:

what is the difference between  char based and byte base streams?

A:

The main difference between Byte Stream and Character Stream in Java is that the Byte Stream helps to perform input and output operations of 8-bit bytes while the Character Stream helps to perform input and output operations of 16-bit Unicode

Q:

What are the disadvantages of distributed systems?

A:

Hardware: low cost components usually have a worse quality so blackout is much more possible


Software: complexity will increase , you have to care about distributed computing


Network: bottleneck, possible loss of data


Security: hacker attacks are possible, harder to manage, distributed responsibility


Consistency: You have to take care of data´s actuality


Q:

What are the two methods HTTP GET / HTTP POST good for?

A:

They both are good for getting resources from the server

Q:

What is the difference between HTTP GET/ HTTP POST?

A:

HTTP GET : It is used to send parameters from the client to the server

The parameters are part of the URL


HTTP POST: parameters are not part of the url, they are part of the body the body is unlimited in it´s size possible to send endless data from the client to the server

Q:

What information are written in an HTTP Request / Response header?



A:

Request: Which resources is requested, which language is supported , what is the supported browser type, what was the referring webpage, what charset is supported


Response: Status code, the data of the response what kind of file type ist returned ,what server software is used

Q:

What is in the HTTP response body?

A:

The answer/response from the server is sent inthe body of the responseBody

Q:

Name the advantage for distributed Systems!

A:

Cost effectiveness: Microprocessor have a better cost/performance ratio than legacy systems

Performance & Reliability: better performance, the blackout of one components doesn´t lead in a blackout of the whole system


Scalability & Flexibility: Incremental increase/decrease of the computing power are possible, as well as load balance


Inherent distributing: a intrinsic advantage. So no one is the owner of the distributed system


shared data & peripheral: using shared data and expensive peripherals like printers etc

DistSystems

Erstelle und finde Lernmaterialien auf StudySmarter.

Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.

Jetzt loslegen

Das sind die beliebtesten StudySmarter Kurse für deinen Studiengang DistSystems an der Frankfurt University of Applied Sciences

Für deinen Studiengang DistSystems an der Frankfurt University of Applied Sciences gibt es bereits viele Kurse, die von deinen Kommilitonen auf StudySmarter erstellt wurden. Karteikarten, Zusammenfassungen, Altklausuren, Übungsaufgaben und mehr warten auf dich!

Das sind die beliebtesten DistSystems Kurse im gesamten StudySmarter Universum

DIstributed Systems

Frankfurt University of Applied Sciences

Zum Kurs
Systems

San Joaquin Valley College-​Visalia

Zum Kurs
Distributed systems

University of Lancaster

Zum Kurs
Distributed systems

Wirtschaftsuniversität Wien

Zum Kurs
Digital Systems 3

Vaal University of Technology

Zum Kurs

Die all-in-one Lernapp für Studierende

Greife auf Millionen geteilter Lernmaterialien der StudySmarter Community zu
Kostenlos anmelden DistSystems
Erstelle Karteikarten und Zusammenfassungen mit den StudySmarter Tools
Kostenlos loslegen DistSystems