Presentation is loading. Please wait.

Presentation is loading. Please wait.

QQ peer-to-peerAnswer 1Each peer is neither client nor server to other peers. True or False? 2Pros and cons of P2P 3What are the 2 main concerns about.

Similar presentations


Presentation on theme: "QQ peer-to-peerAnswer 1Each peer is neither client nor server to other peers. True or False? 2Pros and cons of P2P 3What are the 2 main concerns about."— Presentation transcript:

1 QQ peer-to-peerAnswer 1Each peer is neither client nor server to other peers. True or False? 2Pros and cons of P2P 3What are the 2 main concerns about resources in P2P file sharing? 4How many views does Gangnam Style have on Youtube? 5Why did Napster fail? 6How can I prevent flooding when routing messages in a P2P network? 7In Gnutella, peer discovery is P2P, not client- server. How do I find peers when I join for the first time? 8How is resource discovery performed in Skype? 9Name a type of protocol in sensor networks 1

2 QQ peer-to-peerAnswer 1Each peer is neither client nor server to other peers. True or False? False. Each peer is both client and server to other peers. 2Pros and cons of P2PPros: scaling (more nodes = more hardware), robustness. Cons: complex resource discovery, security. 3What are the 2 main concerns about resources in P2P file sharing? Resource location and resource retrieval 4How many views does Gangnam Style have on Youtube? Nearly 2 billions 5Why did Napster fail?Discovery server = single point of failure 6How can I prevent flooding when routing messages in a P2P network? Decrease message’s TTL flag every hop 7In Gnutella, peer discovery is P2P, not client- server. How do I find peers when I join for the first time? Seeds = list of reliable peers 8How is resource discovery performed in Skype? The directory is stored and distributed in super peers. 9Name a type of protocol in sensor networksMultipath, query-based, QoS-based 2

3 QQ MVCAnswer 1Describe what MVC is about. 2In Vanilla (= default) MVC, which component is aware of which? 3How many components has MVC? 4In Web MVC (= iOS MVC), what does the controller do? 5Name a Java tool using web MVC. 6Why is web MVC not super cool? 3

4 QQ MVCAnswer 1Describe what MVC is about.Separate rendering (V) and user input (C) from state and logic (M). 2In Vanilla (= default) MVC, which component is aware of which? M: none. V: model. C: model and view. 3How many components has MVC?3? TRICK QUESTION! Can have multiple views, controllers, and models. 4In Web MVC (= iOS MVC), what does the controller do? Fetch data from model, select a view, give data to that view. 5Name a Java tool involved in web MVC.M=Enterprise Java Beans, V=JSP, C=servlet 6Why is web MVC not super cool?It mixes server code (Java/python/C#/PHP) into client code (HTML, CSS). 4


Download ppt "QQ peer-to-peerAnswer 1Each peer is neither client nor server to other peers. True or False? 2Pros and cons of P2P 3What are the 2 main concerns about."

Similar presentations


Ads by Google