Skip to content

Latest commit

 

History

History
37 lines (36 loc) · 1.96 KB

README.md

File metadata and controls

37 lines (36 loc) · 1.96 KB

System Programming Homework-II

  • Using Transport Layer shipping functions with Java programming language You are expected to develop a distributed subscription system.

  • This subscription system supports SMTP, HTTP, etc. on the socket. occur within the scope of homework rather than a protocol Basic syntax with a primitive protocol called ASUP (Subscription Service Subscription Protocol) It should happen in the order shared below.

  • Load distribution, fault tolerance etc. In the distributed architecture used in requests, each server connects subscribers and keeps information about subscribers being online/offline in the system. client from a server Subscribe; Must be able to log in to the system from another server.

  • After the server list is updated on other servers (the other 2 servers that receive the updated list After receiving the "55 TAMM" message from the server), a response must be returned to the client it serves.

  • Each server accesses its lists during concurrent client access. It has to offer thread-safe. (Structures such as lock, synchronized, etc. should be used in critical areas.)

picture-first

Screen Shots

Client

sk

Server

sk

sk

sk