BLiTzER
05-12-2004, 00:25
Mpe. Exo ergasia na paradoso AYRIO ki epeidh eimai giatompoutso, an mporei kaneis na voithisei, tou xrostao :P Otidhpote mporeite na prosferete mou kanei. Thanks :)
Loipon me liga logia, thelei ena server pou metadidei news headlines meso internet. Oi clients dexontai ta nea, mono an einai syndromhtes sto service kai epilegoun an theloun na doun mono NEA headlines h OLA ta headlines apo thn teleytaia fora pou ekanan login. Epishs h epikoinonia epitrepetai MONO metaksy server/clients kai oxi metaksy ton clients.
O kodikas prepei na trexei se linux. Ego exo suse 9.1 personal, alla den exei idiaiterh shmasia. Arkei na einai C kai na einai se linux. Epishs thelei ligh theoria pano ston kodika, alla ok an exo ton kodika ta vrisko kai monos mou ayta. Ostoso an exete kayles de tha me xalousan katholou liga sxolia mazi me kodika :P
Sto telos, exei ena entelos theorhtiko shmeio. Pos mporo na tropopoihso ton parapano kodika oste: 1on na shkonei ekatommyria clients, 2on to service na einai syndromhtiko kai 3on na xrhsimopoiei ki alla formats (ektos apo sketo text), opos eikona, hxo, sms ktl. De thelei kodika edo, mono mpla mpla.
Oriste kai aytousia h ekfonhsh.
"Consider a news headline alert service running over the internet:
Each user of the service has a news client program running on their computer that receives regular news headline from a news server located somewhere on the internet. The only communication allowable in the service is between client and server, no messages should pass between clients. Only clients known to the server can receive the service. Clients should be able to request to see either only new headlines or all headlines since they last logged in.
You are required to design and implement, using the C programming language, a Sockets/Linux implementation of the service. Yoru design should include an overview of the functionality of the service, how it works and any assumptions that have been made.
Using the above service as a starting point provide an analysis of how you would improve the design to cope with the following issues:
* Scaling the service to millions of users
* Providing a pay-subscription service
* Content provided in different formats, e.g. pictures, sound clips, sms"
Loipon me liga logia, thelei ena server pou metadidei news headlines meso internet. Oi clients dexontai ta nea, mono an einai syndromhtes sto service kai epilegoun an theloun na doun mono NEA headlines h OLA ta headlines apo thn teleytaia fora pou ekanan login. Epishs h epikoinonia epitrepetai MONO metaksy server/clients kai oxi metaksy ton clients.
O kodikas prepei na trexei se linux. Ego exo suse 9.1 personal, alla den exei idiaiterh shmasia. Arkei na einai C kai na einai se linux. Epishs thelei ligh theoria pano ston kodika, alla ok an exo ton kodika ta vrisko kai monos mou ayta. Ostoso an exete kayles de tha me xalousan katholou liga sxolia mazi me kodika :P
Sto telos, exei ena entelos theorhtiko shmeio. Pos mporo na tropopoihso ton parapano kodika oste: 1on na shkonei ekatommyria clients, 2on to service na einai syndromhtiko kai 3on na xrhsimopoiei ki alla formats (ektos apo sketo text), opos eikona, hxo, sms ktl. De thelei kodika edo, mono mpla mpla.
Oriste kai aytousia h ekfonhsh.
"Consider a news headline alert service running over the internet:
Each user of the service has a news client program running on their computer that receives regular news headline from a news server located somewhere on the internet. The only communication allowable in the service is between client and server, no messages should pass between clients. Only clients known to the server can receive the service. Clients should be able to request to see either only new headlines or all headlines since they last logged in.
You are required to design and implement, using the C programming language, a Sockets/Linux implementation of the service. Yoru design should include an overview of the functionality of the service, how it works and any assumptions that have been made.
Using the above service as a starting point provide an analysis of how you would improve the design to cope with the following issues:
* Scaling the service to millions of users
* Providing a pay-subscription service
* Content provided in different formats, e.g. pictures, sound clips, sms"