In this paper, we develop a futures trading simulation system to determine how speculative behavior affects the futures mar ket. A eonfigurable client is designed to simulate traders, and users can define trade strate...In this paper, we develop a futures trading simulation system to determine how speculative behavior affects the futures mar ket. A eonfigurable client is designed to simulate traders, and users can define trade strategies using different programming languages. A lightweight server is designed to handle large scale and highly eoncmTent access requests from clients. HBase is chosen as the database to grantee sealability of the system. As HBase only supports single row transaction, a transaction support mechanism is developed to improve data consistency for HBase. The HBase transaction support mecha nism supports multirow and multitaMe by using two phase commit protocol. The experiments indicate that our system shows high efficiency in the face of the large scale and high concurrency access request, and the read/write performance loss of HBase introduced by the transaction support mecha nisms is also acceptable.展开更多
文摘In this paper, we develop a futures trading simulation system to determine how speculative behavior affects the futures mar ket. A eonfigurable client is designed to simulate traders, and users can define trade strategies using different programming languages. A lightweight server is designed to handle large scale and highly eoncmTent access requests from clients. HBase is chosen as the database to grantee sealability of the system. As HBase only supports single row transaction, a transaction support mechanism is developed to improve data consistency for HBase. The HBase transaction support mecha nism supports multirow and multitaMe by using two phase commit protocol. The experiments indicate that our system shows high efficiency in the face of the large scale and high concurrency access request, and the read/write performance loss of HBase introduced by the transaction support mecha nisms is also acceptable.