System and method for supporting port multiplexing in a server environment
First Claim
Patent Images
1. A method for supporting port multiplexing in a server environment comprising a plurality of services running on a single server process, the method comprising:
- providing a port in the server environment;
providing a multiplexed socket provider which provides a plurality of multiplexed sockets associated with the port;
associating the port with a plurality of different port address values identifying a plurality of sub-ports of the port each of the plurality of sub-ports being associated with a corresponding one of the plurality of multiplexed sockets;
designating a different sub-port of said plurality of sub-ports for each of the plurality of services; and
receiving a plurality of connection requests at the port;
in response to each of the plurality of connection requests,reading a particular port address value from said each connection request,identifying a particular sub-port of the plurality of sub-ports associated with the particular port address, andestablishing a connection via the particular sub-port with a particular socket corresponding to the particular sub-port.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method can support port multiplexing in a server environment, e.g. in a distributed data grid. The server environment can comprise a port to receive one or more request, wherein the port is adapted to be associated with different port address values and the port operates to receive one or more connection requests. Additionally, the server environment allows a plurality of sockets to utilize the different port address values to support multiplexing of sockets over the port, and a multiplexed socket provider can be used to provide the plurality of sockets.
-
Citations
21 Claims
-
1. A method for supporting port multiplexing in a server environment comprising a plurality of services running on a single server process, the method comprising:
-
providing a port in the server environment; providing a multiplexed socket provider which provides a plurality of multiplexed sockets associated with the port; associating the port with a plurality of different port address values identifying a plurality of sub-ports of the port each of the plurality of sub-ports being associated with a corresponding one of the plurality of multiplexed sockets; designating a different sub-port of said plurality of sub-ports for each of the plurality of services; and receiving a plurality of connection requests at the port; in response to each of the plurality of connection requests, reading a particular port address value from said each connection request, identifying a particular sub-port of the plurality of sub-ports associated with the particular port address, and establishing a connection via the particular sub-port with a particular socket corresponding to the particular sub-port. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for supporting port multiplexing, the system comprising:
-
a server environment comprising one or more microprocessors; a plurality of services running on a single server process of the server environment; a port provided in the server environment; a multiplexed socket provider associated with the port wherein the multiplexed socket provider provides a plurality of multiplexed sockets associated with the port and a multiplexer; a plurality of different port address values identifying a plurality of sub-ports of the port each of the plurality of sub-ports being associated with a corresponding one of the plurality of multiplexed sockets; wherein a different sub-port of said plurality of sub-ports is designated for each of the plurality of services; wherein the port and multiplexed socket provider are configured to receive a plurality of connection requests at the port and, in response to each of the plurality of connection requests, the multiplexer of the multiplexed socket provider is configured to read a particular port address value from said each connection request, identify a particular sub-port of the plurality of sub-ports associated with the particular port address, and establish a connection via the particular sub-port with a particular socket corresponding to the particular sub-port. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A nontransitory computer readable medium having instructions stored thereon for supporting port multiplexing in a server environment comprising a port and a plurality of services running on a single server process, which instructions, when executed cause the server environment to perform steps comprising:
-
providing a multiplexed socket provider which provides a plurality of multiplexed sockets associated with the port; associating the port with a plurality of different port address values identifying a plurality of sub-ports of the port each of the plurality of sub-ports being associated with a corresponding one of the plurality of multiplexed sockets; designating a different sub-port of said plurality of sub-ports for each of the plurality of services; and receiving a plurality of connection requests at the port; in response to each of the plurality of connection requests, reading a particular port address value from said each connection request, identifying a particular sub-port of the plurality of sub-ports associated with the particular port address, and establishing a connection via the particular sub-port with a particular socket corresponding to the particular sub-port.
-
-
19. A method for supporting port multiplexing in a server environment, the method comprising:
-
providing a port in the server environment; providing a multiplexed socket provider which provides a plurality of multiplexed sockets associated with the port, wherein said plurality of multiplexed sockets includes a first socket configured to handle Hypertext Transfer Protocol (HTTP) requests; associating the port with a plurality of different port address values identifying a plurality of sub-ports of the port each of the plurality of sub-ports being associated with a corresponding one of the plurality of multiplexed sockets; designating a first sub-port of said plurality of sub-ports for receiving HTTP requests wherein the first sub-port is associated with the first socket; and receiving a plurality of connection requests at the port; in response to each of the plurality of connection requests, reading a particular port address value from said each connection request, identifying a particular sub-port of the plurality of sub-ports associated with the particular port address, and establishing a connection via the particular sub-port with a particular socket corresponding to the particular sub-port.
-
-
20. A system for supporting port multiplexing, the system comprising:
-
a server environment comprising one or more microprocessors; a port provided in the server environment; a multiplexed socket provider associated with the port wherein the multiplexed socket provider provides a plurality of multiplexed sockets associated with the port and a multiplexer, wherein said plurality of multiplexed sockets includes a first socket configured to handle Hypertext Transfer Protocol (HTTP) requests; a plurality of different port address values identifying a plurality of sub-ports of the port each of the plurality of sub-ports being associated with a corresponding one of the plurality of multiplexed sockets; wherein a first sub-port of said plurality of sub-ports is designated for receiving HTTP requests wherein the first sub-port is associated with the first socket; wherein the port and multiplexed socket provider are configured to receive a plurality of connection requests at the port and, in response to each of the plurality of connection requests, the multiplexer of the multiplexed socket provider is configured to read a particular port address value from said each connection request, identify a particular sub-port of the plurality of sub-ports associated with the particular port address, and establish a connection via the particular sub-port with a particular socket corresponding to the particular sub-port.
-
-
21. A nontransitory computer readable medium having instructions stored thereon for supporting port multiplexing in a server environment comprising a port, which instructions, when executed cause the server environment to perform steps comprising:
-
providing a multiplexed socket provider which provides a plurality of multiplexed sockets associated with the port, wherein said plurality of multiplexed sockets includes a first socket configured to handle Hypertext Transfer Protocol (HTTP) requests; associating the port with a plurality of different port address values identifying a plurality of sub-ports of the port each of the plurality of sub-ports being associated with a corresponding one of the plurality of multiplexed sockets; designating a first sub-port of said plurality of sub-ports for receiving HTTP requests wherein the first sub-port is associated with the first socket; and receiving a plurality of connection requests at the port; in response to each of the plurality of connection requests, reading a particular port address value from said each connection request, identifying a particular sub-port of the plurality of sub-ports associated with the particular port address, and establishing a connection via the particular sub-port with a particular socket corresponding to the particular sub-port.
-
Specification