You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/01/25 02:00:09 UTC

[jira] Created: (AXIS2C-30) Enable the simple axis server to handle multiple concurrent requests

Enable the simple axis server to handle multiple concurrent requests
--------------------------------------------------------------------

         Key: AXIS2C-30
         URL: http://issues.apache.org/jira/browse/AXIS2C-30
     Project: Axis2-C
        Type: Improvement
  Components: transport/http  
    Versions: Current (Nightly)    
    Reporter: Samisa Abeysinghe
     Fix For: M0.3


Simple axis server, as of now, is single threaded. We need to make it capable of handling multiple requests concurrently.

I would propose that we make the initial version a 'select' based one. Then once that works, make simple axis server threaded.

The key challenge in using threads is to ensure that context hierarchy is thread safe. This is because we have all the context related stuff, (svc grp ctx, svc ctx etc.) stored in configuration context. Multiple threads need read write access to single instance of config context struct concurrently.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXIS2C-30) Enable the simple axis server to handle multiple concurrent requests

Posted by "Sahan Gamage (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-30?page=all ]
     
Sahan Gamage closed AXIS2C-30:
------------------------------

    Fix Version: Current (Nightly)
                     (was: M0.4)
     Resolution: Fixed

Added locking mechanisms to context objects which are shared among threads (conf_ctx ..) Now the server can handle multiple requests concurrently.

> Enable the simple axis server to handle multiple concurrent requests
> --------------------------------------------------------------------
>
>          Key: AXIS2C-30
>          URL: http://issues.apache.org/jira/browse/AXIS2C-30
>      Project: Axis2-C
>         Type: Improvement
>   Components: transport/http
>     Versions: M0.3
>     Reporter: Samisa Abeysinghe
>     Assignee: Sahan Gamage
>      Fix For: Current (Nightly)

>
> Simple axis server, as of now, is single threaded. We need to make it capable of handling multiple requests concurrently.
> I would propose that we make the initial version a 'select' based one. Then once that works, make simple axis server threaded.
> The key challenge in using threads is to ensure that context hierarchy is thread safe. This is because we have all the context related stuff, (svc grp ctx, svc ctx etc.) stored in configuration context. Multiple threads need read write access to single instance of config context struct concurrently.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS2C-30) Enable the simple axis server to handle multiple concurrent requests

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-30?page=all ]

Samisa Abeysinghe updated AXIS2C-30:
------------------------------------

    Fix Version: M1.0
                     (was: M0.3)
        Version: M0.3
                     (was: Current (Nightly))
      Assign To: Sahan Gamage

> Enable the simple axis server to handle multiple concurrent requests
> --------------------------------------------------------------------
>
>          Key: AXIS2C-30
>          URL: http://issues.apache.org/jira/browse/AXIS2C-30
>      Project: Axis2-C
>         Type: Improvement
>   Components: transport/http
>     Versions: M0.3
>     Reporter: Samisa Abeysinghe
>     Assignee: Sahan Gamage
>      Fix For: M1.0

>
> Simple axis server, as of now, is single threaded. We need to make it capable of handling multiple requests concurrently.
> I would propose that we make the initial version a 'select' based one. Then once that works, make simple axis server threaded.
> The key challenge in using threads is to ensure that context hierarchy is thread safe. This is because we have all the context related stuff, (svc grp ctx, svc ctx etc.) stored in configuration context. Multiple threads need read write access to single instance of config context struct concurrently.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2C-30) Enable the simple axis server to handle multiple concurrent requests

Posted by "Sahan Gamage (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-30?page=comments#action_12366309 ] 

Sahan Gamage commented on AXIS2C-30:
------------------------------------

Threading support is added. Now the server can handle multiple requests at the same time. Only thing left is to make sure the concurrnt execution is correct by adding some locks to the critical regions.

> Enable the simple axis server to handle multiple concurrent requests
> --------------------------------------------------------------------
>
>          Key: AXIS2C-30
>          URL: http://issues.apache.org/jira/browse/AXIS2C-30
>      Project: Axis2-C
>         Type: Improvement
>   Components: transport/http
>     Versions: M0.3
>     Reporter: Samisa Abeysinghe
>     Assignee: Sahan Gamage
>      Fix For: M0.4

>
> Simple axis server, as of now, is single threaded. We need to make it capable of handling multiple requests concurrently.
> I would propose that we make the initial version a 'select' based one. Then once that works, make simple axis server threaded.
> The key challenge in using threads is to ensure that context hierarchy is thread safe. This is because we have all the context related stuff, (svc grp ctx, svc ctx etc.) stored in configuration context. Multiple threads need read write access to single instance of config context struct concurrently.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira