Ver a proveniência

Update getting-started.md

master
Savorboard há 5 anos
committed by GitHub
ascendente
cometimento
096cb876c7
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com 2 adições e 0 eliminações
  1. +2
    -0
      docs/user-guide/getting-started.md

+ 2
- 0
docs/user-guide/getting-started.md Ver ficheiro

@@ -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?


Carregando…
Cancelar
Guardar