Skip to content
Snippets Groups Projects
Commit f6887a86 authored by Chao Zhan's avatar Chao Zhan
Browse files

update slides

parent c558b971
No related branches found
No related tags found
No related merge requests found
slides/images/cover.jpg

2.72 MiB | W: | H:

slides/images/cover.jpg

877 KiB | W: | H:

slides/images/cover.jpg
slides/images/cover.jpg
slides/images/cover.jpg
slides/images/cover.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -6,13 +6,9 @@ title: Q&A
Any questions about:
- Eighth Assignment Sheet
- Ninth Assignment Sheet
- Final Exam
- Topics from the lectures
- Organisation
<br/>
## Resources
- [P2P Network](https://www.enjoyalgorithms.com/blog/peer-to-peer-networks)
---
title: Web Radio Server in Java
title: Finale
layout: center
---
# Web Radio & Chat Room Server/Client in Java
A possible approach:
- Use different threads to handle different clients as well as different tasks
- Use different ports to handle different services
See live demo.
---
title: RPC
---
## Remote Procedure Call (RPC)
**Remote Procedure Call (RPC)** is a distributed computing technique in which a computer program calls a procedure (subroutine or service) to execute in a different address space than its own.
<div class="container flex justify-center mt-5">
<img src="/images/RPC.webp" class="block w-md"/>
</div>
**Language Specific**:
- Java Remote Method Invocation (RMI)
- Go RPC
- ...
# Last Tutorial Session
---
title: RMI
title: Reminders
---
## Java Remote Method Invocation (RMI)
It is a mechanism that allows an object residing in one system (JVM) to access/invoke an object running on another JVM.
## Reminders
<div class="container flex justify-center mt-5">
<img src="/images/RMI.webp" class="block w-md"/>
</div>
**Note:** RMI is a Java-specific implementation of RPC.
---
title: RPC in Python
---
## Exercise: Using RPC in Python
<br />
Python provides built-in support for RPC through the [xmlrpc](https://docs.python.org/3/library/xmlrpc.html) module.
- Last tutorial session
- Last chance to present (vorrechnen) your assignment sheet
1. Try the example in `exercises/python-rpc` with your teammates.
2. Modify the example to implement RPC services that sends bytes of a file (e.g. `yourimage.jpg`) to the client.
## Today's topics
**Hint**:
<br />
- Use `open` to open a file and read it in binary mode.
- Use `xmlrpc.client.Binary` to wrap the bytes.
- You can find example in the documentation of [xmlrpc](https://docs.python.org/3/library/xmlrpc.html).
- Exam preparation
- More on Web Development
---
title: P2P
title: Exam Preparation
layout: two-cols
---
# Recaps & Discussion - P2P
## Relevant topics
Discuss the following topics and explain those concepts in your own words to your teammates:
<br/>
- Concurrency, Determinism
- Critical Sections, Threads, Locks
- Petri Nets
- Semaphores, Monitors
- Deadlocks
- Parallel Programming (OpenMP, MPI)
- IPC/RPC
- P2P Networks
- Cloud Computing
- Web Development
- What is peer-to-peer (P2P) architecture?
- What are the use cases/examples of P2P?
- What are the different types of P2P network?
- What are the advantages and disadvantages of these type of P2P networks?
- What are the advantages and disadvantages of P2P itself?
::right::
---
title: Cloud Computing
---
## Non-relevant topics
# Cloud Computing
Discuss the following topics and explain those concepts in your own words to your teammates:
<br/>
- Java RMI
- What is cloud computing?
- What are the **service models** of cloud computing?
- What are the **deployment models** of cloud computing?
- What are the key technologies involved in cloud computing?
<!-- <div class="container flex justify-center mt-5"> -->
<!-- <img src="/images/RPC.webp" class="block w-md"/> -->
<!-- </div> -->
......@@ -17,7 +17,7 @@ css: unocss
background: /images/cover.jpg
---
# ALP4 Tutorial 11
# ALP4 Tutorial 12
## Chao Zhan
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment