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 ...@@ -6,13 +6,9 @@ title: Q&A
Any questions about: Any questions about:
- Eighth Assignment Sheet
- Ninth Assignment Sheet - Ninth Assignment Sheet
- Final Exam
- Topics from the lectures - Topics from the lectures
- Organisation - Organisation
<br/> <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 # Last Tutorial Session
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 title: Reminders
--- ---
## Remote Procedure Call (RPC) ## Reminders
**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**: <br />
- Java Remote Method Invocation (RMI) - Last tutorial session
- Go RPC - Last chance to present (vorrechnen) your assignment sheet
- ...
--- ## Today's topics
title: RMI
---
## 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. <br />
<div class="container flex justify-center mt-5"> - Exam preparation
<img src="/images/RMI.webp" class="block w-md"/> - More on Web Development
</div>
**Note:** RMI is a Java-specific implementation of RPC.
--- ---
title: RPC in Python title: Exam Preparation
layout: two-cols
--- ---
## Exercise: Using RPC in Python ## Relevant topics
Python provides built-in support for RPC through the [xmlrpc](https://docs.python.org/3/library/xmlrpc.html) module.
1. Try the example in `exercises/python-rpc` with your teammates. - Concurrency, Determinism
2. Modify the example to implement RPC services that sends bytes of a file (e.g. `yourimage.jpg`) to the client. - Critical Sections, Threads, Locks
- Petri Nets
- Semaphores, Monitors
- Deadlocks
- Parallel Programming (OpenMP, MPI)
- IPC/RPC
- P2P Networks
- Cloud Computing
- Web Development
**Hint**: ::right::
- Use `open` to open a file and read it in binary mode. ## Non-relevant topics
- 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).
---
title: P2P
---
# Recaps & Discussion - P2P
Discuss the following topics and explain those concepts in your own words to your teammates:
<br/>
- 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?
---
title: Cloud Computing
---
# Cloud Computing - Java RMI
Discuss the following topics and explain those concepts in your own words to your teammates:
<br/>
- What is cloud computing? <!-- <div class="container flex justify-center mt-5"> -->
- What are the **service models** of cloud computing? <!-- <img src="/images/RPC.webp" class="block w-md"/> -->
- What are the **deployment models** of cloud computing? <!-- </div> -->
- What are the key technologies involved in cloud computing?
...@@ -17,7 +17,7 @@ css: unocss ...@@ -17,7 +17,7 @@ css: unocss
background: /images/cover.jpg background: /images/cover.jpg
--- ---
# ALP4 Tutorial 11 # ALP4 Tutorial 12
## Chao Zhan ## Chao Zhan
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment