Sfoglia il codice sorgente

Update getting-started.md

master
Savorboard 5 anni fa
committed by GitHub
parent
commit
096cb876c7
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      docs/user-guide/getting-started.md

+ 2
- 0
docs/user-guide/getting-started.md Vedi File

@@ -5,6 +5,7 @@
The usage scenarios of CAP mainly include the following two:

**1. The scheme of eventual consistency in distributed transactions**

In the process of building an SOA or MicroService system, we usually need to use the event to integrate each services. In the process, the simple use of message queue does not guarantee the reliability. CAP is adopted the local message table program integrated with the current database to solve the exception may occur in the process of the distributed system calling each other. It can ensure that the event messages are not lost in any case.
<br><br>
Distributed transactions are an inevitable requirement in a distributed system, and the current solution for distributed transactions is nothing more than just a few. Before understanding the CAP's distributed transaction scenarios, you can read the following [Articles] (http://www.infoq.com/en/articles/solution-of-distributed-system-transaction-consistency).
@@ -12,6 +13,7 @@ Distributed transactions are an inevitable requirement in a distributed system,
The CAP does not use the two-phase commit (2PC) transaction mechanism, but uses the classical message implementation of the local message table + MQ, which is also called asynchronous guarantee.

**2. Highly usable EventBus**

You can also use the CAP as an EventBus. The CAP provides a simpler way to implement event publishing and subscriptions. You do not need to inherit or implement any interface during the process of subscription and sending.
<br><br>
CAP implements the publish and subscribe method of EventBus, which has all the features of EventBus. This means that you can use CAPs just like EventBus. In addition, CAP's EventBus is highly available. What does this mean?


Caricamento…
Annulla
Salva