Patent ID: 8307124

Claim:
A memory allocation method in a Broker system, wherein the method comprises: managing communication between a plurality of clients and a plurality of servers, wherein said managing is performed by the Broker system, wherein said managing comprises: allocating memory for a plurality of memory pools, wherein each memory pool is for memory allocations for a respective type of resource, wherein said allocating is requested by tasks of the Broker system using a ticket system, the ticket system being implemented by a dedicated task that allocates memory for the tasks of the Broker system; and dividing each memory pool into equal sized memory blocks of a size which is specific to the type of the resource for that memory pool, wherein the resource is related to the communication managed by the Broker, and comprises one or more of: a participant; a conversation; a publication; a service; a topic; a message; or a communication buffer; and storing data regarding the communication in one or more of the memory blocks.