发明名称 | Alternately processing messages | ||
摘要 | Among other things, processing an incoming message stream includes storing context data of an application in a global database. Various messages from the incoming message stream are placed in an in-memory message queue. One of at least a first and a second phases at a first process is executed, and another of the at least first and second phases at a second process is also executed, so as to alternately execute a first phase and a second phase by a first process and a second process. The first phase includes processing at least one message from the various messages and storing at least one corresponding result in a local memory area. The first phase also includes storing at least one modification to the context data in the local memory area. The second phase includes performing a transaction of the at least one result and the at least one modification of the context data to the global database and committing the transaction. | ||
申请公布号 | US9361477(B2) | 申请公布日期 | 2016.06.07 |
申请号 | US201414503608 | 申请日期 | 2014.10.01 |
申请人 | Accenture Global Services Limited | 发明人 | Fountoukas Alexandros |
分类号 | G06F3/00;G06F9/44;G06F9/46;G06F13/00;G06F21/62;G06F9/54;G06F17/30;G06Q10/08 | 主分类号 | G06F3/00 |
代理机构 | Fish & Richardson P.C. | 代理人 | Fish & Richardson P.C. |
主权项 | 1. A computer-implemented method comprising: obtaining, by a first instance of an application, exclusive access to a global memory area after a second instance of the application has released the exclusive access to the global memory area; processing, by the first instance that has obtained the exclusive access to the global memory area, information that is stored in the global memory area; obtaining, by the first instance of the application, exclusive access to a global database after the second instance of the application has released the exclusive access to the global database; and after the first instance has obtained the exclusive access to the global database: releasing, by the first instance, the exclusive access to the global memory area;storing, in the global database, a result of processing the information that was stored in the global memory area when the first instance of the application had obtained the exclusive access to the global memory area; andreleasing, by the first instance of the application, the exclusive access to the global database. | ||
地址 | Dublin IE |