发明名称 Shared transport
摘要 A method and apparatus for processing message is described. In one embodiment, messages are received over a plurality of channels from a plurality of applications in a virtual machine. An identifier is coupled to each message. The identifier refers to the application originating the corresponding message. A shared transport is formed and associated with the channels. The messages are processed with the shared transport with the identifier.
申请公布号 US8799397(B2) 申请公布日期 2014.08.05
申请号 US200812154618 申请日期 2008.05.22
申请人 Red Hat, Inc. 发明人 Ban Bela;Blagojevic Vladimir
分类号 G06F15/167 主分类号 G06F15/167
代理机构 Lowenstein Sandler LLP 代理人 Lowenstein Sandler LLP
主权项 1. A method comprising: creating, by a processing device executing a virtual machine (VM), a first channel for a first application executed by the virtual machine, wherein the first channel is identified by a name of a group to which the first application is a member, the first channel providing communications for the first application to all members of the group; creating, by the processing device, a second channel for a second application executed by the virtual machine, wherein the second channel is identified by a name of another group to which the second application is a member, the second channel providing communications for the second application to all members of the another group; when a protocol of a transport layer of a protocol stack of each of the first channel and the second channel is the same, sharing, by the processing device, resources to implement a shared transport layer between the first channel and the second channel, wherein the shared resources comprise a default thread pool, an out of bound thread pool, and a timer thread pool, and wherein other protocol layers of the first and second channels operate independently of each other except for the shared transport layer; receiving, by the processing device, a message from a member application through a network interface device connected to a network; and multiplexing, by the processing device, the received message over the shared transport layer to the first application or the second application via the first or second channel in view of a group name identifier located in the received message corresponding to the name of one of the groups to which the first or the second application belongs.
地址 Raleigh NC US