close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 15 years ago

Closed 15 years ago

#873 closed task (fixed)

Improve TolServer process structure

Reported by: Jorge Owned by: lramirez
Priority: highest Milestone: Mantainance
Component: TolServer Version: 2.0.1
Severity: blocker Keywords:
Cc: mlpaiva@…, soshiro@…

Description

TolServer is s monolitic process that does not answer when it's calculating a long task. It is required that TolServer be splitted in two processes or thread on attending requests from clients an other dedicated to computation.

Change History (6)

comment:1 Changed 15 years ago by Jorge

Milestone: Mantainance
Status: newaccepted

A possible solution could be based on 2 threads one for attending request and other to do the computation. This means using Thread extension.

comment:2 Changed 15 years ago by Jorge

Milestone: Mantainance
Owner: changed from Jorge to lramirez
Status: acceptedassigned

Another solution based on 2 independent processes sharing a common area to exchange data will be implemented based on "Tequila". This will be also de basic to implement the object serialization.

comment:3 Changed 15 years ago by Liván Ramírez Dorta

(In [2052]) refs#873: Improve TolServer process structure

comment:4 Changed 15 years ago by Liván Ramírez Dorta

(In [2055]) refs#873: Improve TolServer process structure
Using diferent arrays, one for tasks and another for the slave's state

comment:5 Changed 15 years ago by Liván Ramírez Dorta

(In [2056]) refs#873: Improve TolServer process structure
Use of another shared array in order to inform client that a task has being finished

comment:6 Changed 15 years ago by Jorge

Resolution: fixed
Status: assignedclosed

TolServer has being separated into 3 processes

  • Master : deal with client communication.
  • Shared : serve a common data area in order to implemente communication between Master & Slave.
  • Slave : compute de TOL tasks.
Note: See TracTickets for help on using tickets.