1 / 9

Prototype Design of an Evolutionary Trustworthy Web Server  Hons Project Fall 2003

Prototype Design of an Evolutionary Trustworthy Web Server  Hons Project Fall 2003. Assumptions. Use off-the-shelf client software Use .Net framework .Net framework cannot be modified Not use off-the-shelf web server, e.g. MS IIS (Internet Information Service)

regina
Télécharger la présentation

Prototype Design of an Evolutionary Trustworthy Web Server  Hons Project Fall 2003

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Prototype Design of an Evolutionary Trustworthy Web Server Hons Project Fall 2003

  2. Assumptions • Use off-the-shelf client software • Use .Net framework • .Net framework cannot be modified • Not use off-the-shelf web server, e.g. MS IIS (Internet Information Service) • We will write a simple server software • We will write simple service agents

  3. Implementation Overview Clients off-the-shelf Web Server Service Provider Agents Service Agents Service Scheduler C# Multithreading in .Net Framework

  4. Service Scheduler requests from Service Provider Distributor QS1 QS2 QS2 QS3 Priority queues Service Scheduler Dispatcher (service activator) .Net Runtime S1 S3 S2 S4

  5. What Can Be Scheduled • Service Scheduling • Which service agent should be activated? • Will be implemented in the prototype • Task Scheduling • Which process (all tasks and agents in the system) should be executed? • Should be implemented in the infrastructure (OS) • Will not be implemented in the prototype

  6. Implementation Consideration • Each task, agent, or object is a C# thread • Threads are organized in a hierarchy • The main() will activate two threads: • Service Provider, which will activate: • service agents • Scheduler, which will activate • distributor • priority queue agents • dispatcher, which will activate the selected service agent

  7. Dispatch Policies • Select the most critical service first; • Dispatch the request with the highest priority; • Each service agent will start a quantum timer at the beginning. When timeout, the current process is saved, put back into its queue, and another request is dispatched

  8. Task Allocation • Vishnu: • Write graphic user interface • Generate clients and service requests • Write simple service provider • Explore wireless communication option • Foad • Write Service Provider Agents. These agents • take registration request from clients, opens and manages user accounts • generate password • take service requests, verifies user id and password • handle statement requests • Yinhui • Write the service scheduler. It • takes approved requests from service provider; • put different service requests into different queues • select a request from the queues and call the service provider to handle the request.

  9. Time Table from 10/07/2003 2 weeks complete the preparation of C# multithreading programming and read the sample programs from last semester. 2 weeks Each has the main program done, in which you have created multiple threads, each thread will do one job. Three of you have decided the interface among you. 2 weeks You have the threads implemented and individually tested. Remaining time (about 2 weeks): test the system together.

More Related