Skip to content

Apache MPM tuning for websockets #29

@tonyabo

Description

@tonyabo

I have downloaded and played with apache-websocket and it--besides being very nice code--appears to be a good fit for our browser based application. We are currently doing some ugly stuff with Ajax HTTP requests that have to be closed and reopened every time we want the server to send something to the browser. Websockets seem to be a far superior solution. We envision each user session having a websocket open to the server for the life of the session, along with some HTTP requests (maybe someday we'll do everything on the websocket, but not yet).

My concern is that each Apache thread or process that becomes a websocket endpoint means one child thread or processes no longer servicing HTTP requests. It seems to me that that would have a significant impact on the tunable logic in the MPMs that ensure that there are enough handlers running at any given time.

Should or does the module do anything to alert Apache that handlers of websocket endpoints are no longer available for normal HTTP request processing? Has this discussion been had somewhere else that I might reference?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions