[Distributed_systems] week 8?

Lukács Dániel dlukacs at caesar.elte.hu
Sun Apr 5 20:12:56 CEST 2020


Hi,

Thank you for your answer about the plans! I think 20 minutes per task 
is the better choice, since 3x30 minutes is already 1.5 hour and then 
there's no time for demo.

It will be most likely not possible for my labs to follow yours, because 
we still have to write the synchronous chat server as well.

Also it was a good idea to request BEAD for yourself beforehand! On 
Friday, I wrote Artúr about adding everyone, hope he'll manage it before 
the nagybeadandó release (it's complicated because of the students 
migrating).

Dániel


On 4/5/20 12:25 PM, Grünwald Péter wrote:
> Hi,
>
> To be honest, I think Márk has really good tasks in this area:
> I have added an English translation to the tasks:
>
> ---
>
> Készíts olyan chat alkalmazást, amelyben a két kliensnek nem kell 
> egymásra várnia soronként, hanem bármikor beszélhetnek egymáshoz, és 
> ez azonnal kiíródik a másik kliensnél. `AsyncChatServer.java` és 
> `AsyncChatClient.java`
> /Create a chat application, where the two clients don't have to wait 
> for each other. Instead, they can talk to each other anytime, and 
> their message immediately printed at the other client./
> ---
>
> Készíts chat szervert, amelyhez tetszőleges számú kliens kapcsolódhat, 
> illetve bármikor bonthatják is a kapcsolatot. Minden kliens először a 
> nevét közli egy sorban. A kliensek bármikor beszélhessenek, ami 
> azonnal íródjon ki minden kapcsolódott kliensnél. 
> `NamedChatServer.java` és `NamedChatClient.java`
> /Create a chat server, where any number of clients can join, and they 
> can disconnect any time. Every client first sends its name. Clients 
> can talk any time, and the message of a client shall be printed out at 
> every other client./
>
> ---
>
> Adott két szerver. Az első szerver két parancssori paramétere egy cím 
> és port, melyen egy második szerverhez tud csatlakozni, és névként a 
> `server` szót küldi át, melyből a másik szerver tudja, hogy szerver 
> kapcsolódott hozzá. A kliensek csatlakoznak tetszőlegesen egyik vagy 
> másik szerverhez, melyekre üzeneteket küldenek. Ha egy kliens az 
> üzenetét elküldte egy szervernek, akkor az a másik szerverhez átküldi 
> azt, amelyik továbbítja azokat a hozzá csatlakozó kliensek számára. 
> `MultiChatServer.java` és `MultiChatClient.java`
>
> /There are 2 servers. The first server can be started with an address 
> and a port as command line argument. These arguments are used to 
> connect to another server, with *server* as a name. The other server 
> knows from this name, that a server is connected to it. Clients can 
> connect to any of the servers, and send messages. When a client sends 
> a message to server, it sends it to the another server, which 
> broadcasts it to all its clients./
>
> ---
>
> So here is my plan:
> /Please note, that my class is 10-12 Monday./
>
> 1) Give the video to the student. Latest this evening
> 2) First exercise is the one which the video is about. /I agree with 
> Tamás, that it could be homework, but I hardly think, students would 
> be ready with it by tomorrow morning./
> 3) Once this task is done, they would get the next two tasks.
> 4)Of course, there are faster and slower people in the class. I would 
> like to post these tasks in BEAD. (I have already asked Artúr to 
> create the group for me) I don't say, I will go through each and every 
> solution, because it is a lot of time and effort. But I would like to 
> give the students the feeling, that they need to work, and they get 
> real assignments during the class.
> 5) And I would give 20-30 minutes for each task for them to complete. 
> Then I would go to /*demo* mode, and show them the tricky parts./
> /
> /
> /*What do you think?*
> /
>
>
>
> Regards,
> Peter
>
> On Fri, Apr 3, 2020 at 11:39 AM Lukács Dániel <dlukacs at caesar.elte.hu 
> <mailto:dlukacs at caesar.elte.hu>> wrote:
>
>     Hi!
>
>     Thank you for being on time! :) I watched the video just now, I
>     think the quality is good overall! I noticed maybe a few breaks
>     that could be edited out before the final release, but let's see
>     if the others find it necessary. I appreciated the figures, and
>     that you point to the words you talk about.
>
>     So the content is an introduction of the task of parallelizing the
>     chat server and chat client with some code examples.
>
>     What's your plan for the students (and instructors) to do during
>     the class?
>
>     Thanks,
>     Dániel
>
>
>     On 4/2/20 10:52 PM, Grünwald Péter wrote:
>>     Hi,
>>     I have created a video. It is 10:41 minutes long.
>>     I have just uploaded it in Teams.
>>     https://ikelte.sharepoint.com/sites/DistributedSystemsStaff2/Megosztott%20dokumentumok/General/2020-04-02%2022-34-21.mkv
>>
>>
>>     Please check it, and come back with comments. I am sure, you will
>>     have some :)
>>     I would like to thank a lot to Márk, as I used his
>>     implementations for the demonstration. Thanks! :)
>>
>>     Let's collect the comments, and then I can create a new video if
>>     needed.
>>     Regards,
>>     Peter
>>
>>     On Thu, Apr 2, 2020 at 9:45 PM Lukács Dániel
>>     <dlukacs at caesar.elte.hu <mailto:dlukacs at caesar.elte.hu>> wrote:
>>
>>         Hi!
>>
>>         Superb! It should be Hungarian. I will translate it to Charles.
>>
>>         Dániel
>>
>>
>>         On 4/2/20 9:42 PM, Grünwald Péter wrote:
>>>         Hi,
>>>         Sorry, that I forgot to ask:
>>>         What should be the language of the video?
>>>         Hungarian or English?
>>>
>>>         I am about to start the recording :)
>>>
>>>         Regards,
>>>         Peter
>>>
>>>         On Thu, Apr 2, 2020 at 11:37 AM Lukács Dániel
>>>         <dlukacs at caesar.elte.hu <mailto:dlukacs at caesar.elte.hu>> wrote:
>>>
>>>             Hi Péter,
>>>
>>>             Thank you, that would be perfect! I think the easiest
>>>             way to share a working copy internally is to simply
>>>             upload it as a file to the Staff team. Each of us
>>>             already has access there, and it's very easy to reupload
>>>             new versions if needed.
>>>
>>>             Dániel
>>>
>>>
>>>             On 4/2/20 8:27 AM, Grünwald Péter wrote:
>>>>             Hi,
>>>>             I will be able to work on my video today evening, so
>>>>             most probably it will be ready for tomorrow morning, or
>>>>             late this night.
>>>>
>>>>             The reason I am not really available on Team is, that
>>>>             at Ericsson we also use Teams, and I cannot be logged
>>>>             in with 2 different accounts. So I always need to swap.
>>>>
>>>>             Regards,
>>>>             Peter
>>>>
>>>>             On Mon, Mar 30, 2020 at 8:30 PM Török Márk
>>>>             <tmark at caesar.elte.hu <mailto:tmark at caesar.elte.hu>> wrote:
>>>>
>>>>                 Hi All,
>>>>
>>>>                 Do we have a streaming server? Where can we store
>>>>                 these videos and how can we make them available for
>>>>                 students?
>>>>
>>>>                 Thank you,
>>>>                 Mark
>>>>
>>>>
>>>>                 2020 Március 30, Hétfő 14:25 CEST dátummal, Lukács
>>>>                 Dániel <dlukacs at caesar.elte.hu
>>>>                 <mailto:dlukacs at caesar.elte.hu>> ezt írta:
>>>>
>>>>                 > Hi!
>>>>                 >
>>>>                 > That's awesome! :) I think most of us are new to
>>>>                 this, so it's still all
>>>>                 > experimental.
>>>>                 >
>>>>                 > The length should be around 20 minutes. Maybe
>>>>                 less, but definitely not
>>>>                 > more.
>>>>                 >
>>>>                 > I guess the topic is mostly up to you (until it's
>>>>                 multithreaded servers
>>>>                 > :)), but if you need a plan:
>>>>                 >
>>>>                 >   * The *video* could be some theory intro and a
>>>>                 demo about moving from
>>>>                 >     iterative server to multithreaded server.
>>>>                 (With iterative server,
>>>>                 >     one client has to wait until the other client
>>>>                 finished
>>>>                 >     communication. Threads can solve this
>>>>                 problem.) If you don't want to
>>>>                 >     code everything from scratch, it may be a
>>>>                 good idea to create a
>>>>                 >     supplementary handout and refer to that in
>>>>                 the video.
>>>>                 >   * During class they could implement Robi's chat
>>>>                 server and chat client
>>>>                 >     during *class*. They will need a detailed
>>>>                 assignment text for this.
>>>>                 >     As Robi said, a demo (or written instruction)
>>>>                 could be necessary
>>>>
>>>>                 >     here if there are difficult or unexpected or
>>>>                 tricky operations.
>>>>                 >   * Finally, they could solve Robi's HTTP server
>>>>                 for *homework*. They
>>>>                 >     will need a detailed assignment text for this.
>>>>                 >
>>>>                 > If they have this down, then week 9 could be
>>>>                 about implementing
>>>>                 > ping-pong and avoiding deadlocks.
>>>>                 >
>>>>                 > Is it realistic for you to finish the video until
>>>>                 Thursday night? We
>>>>                 > could then review it on Friday and publish it, so
>>>>                 students would have
>>>>                 > time to watch it during the weekend.
>>>>                 >
>>>>                 > Bests,
>>>>                 >
>>>>                 > Dániel
>>>>                 >
>>>>                 >
>>>>                 > On 3/30/20 10:17 AM, Grünwald Péter wrote:
>>>>                 > > Sziasztok!
>>>>                 > >
>>>>                 > > Hát ilyen videót még nem csináltam, de megpróbálom.
>>>>                 > > Milyen hosszú legyen?
>>>>                 > > Milyen témákat tárgyaljon pontosan?
>>>>                 > >
>>>>                 > > Üdv,
>>>>                 > > Péter
>>>>                 > >
>>>>                 > > On Sun, Mar 29, 2020 at 1:16 PM Lukács Dániel
>>>>                 <dlukacs at caesar.elte.hu
>>>>                 <mailto:dlukacs at caesar.elte.hu>
>>>>                 > > <mailto:dlukacs at caesar.elte.hu
>>>>                 <mailto:dlukacs at caesar.elte.hu>>> wrote:
>>>>                 > >
>>>>                 > >     Dear All,
>>>>                 > >
>>>>                 > >     No one signed up yet for preparing teaching
>>>>                 materials for week 8 (the
>>>>                 > >     one starting on April 6). The topic is
>>>>                 Multithreaded client-server 1.
>>>>                 > >
>>>>                 > >     I would do it because new topics are
>>>>                 usually easier, but I'm already
>>>>                 > >     working on the large assignment :(
>>>>                 > >
>>>>                 > >     Péter, is it possible for you to prepare
>>>>                 the materials for week 8?
>>>>                 > >
>>>>                 > >     Dániel
>>>>                 > >
>>>>
>>>>
>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://plc.inf.elte.hu/pipermail/distributed_systems/attachments/20200405/f57f2889/attachment-0001.html>


More information about the Distributed_systems mailing list