Online Trading and bulk trading

Source: Internet
Author: User

System Trivia >>> Online trading and bulk trading

===================

What is online trading/bulk trading? There is no exact definition of online and batch, and my personal understanding is as follows:

Online trading means that the system directly provides transactions, the transaction has a transactional-rollback; real-time-the transaction has a life cycle, and there is a time-out mechanism, and so on, the caller needs to wait in real time for the feedback, success or failure feedback; concurrency--the same class or even the same transaction can be called by multiple threads simultaneously. There are locking mechanisms between each other.

Batch processing means that the transaction-related parameters, the system state is locked, the system needs to do a certain kind of operation, the operation has unity-the same rules to deal with large amounts of data, serialization-not to say that there can be no concurrency in a bulk transaction, but there is a fixed step, what to do first, and then what step, Each step has a dependency on certain conditions, repeatability-This is not necessary, but it is strongly recommended that the batch program at the beginning of the design to consider the repeatable operation, or the subsequent operation and maintenance will cause a lot of trouble;

Typical online is the withdrawal transaction, the balance of the query (may appear under the situation of insufficient balance) and update, the formation of the transaction flow, the account usage record generation, accounting voucher generation, deposit and Cash Account General Ledger registration, need to complete, if one of the steps to produce an exception, the entire transaction back; A typical bulk transaction is a reconciliation transaction , the reconciliation of the pre-requisite for the last day of processing has been all over, the system needs to be the validation of the results of the previous days, the way to verify is to set up some screening rules, check whether there are non-compliant data, if any, will its own and related data generated reconciliation error log, for operators to query and processing, If the reconciliation results are completely correct, the transaction is carried out and the next batch program (such as generating a daily incremental data file is sent to the downstream system).

--

Not to be continued!

Online Trading and bulk trading

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.