25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

introduction.md 2.5 KiB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Introduction
  2. CAP is an EventBus and a solution for solving distributed transaction problems in microservices or SOA systems. It helps create a microservices system that is scalable, reliable, and easy to change.
  3. In Microsoft's [eShopOnContainer](https://github.com/dotnet-architecture/eShopOnContainers) microservices sample project, it is recommended to use CAP as the EventBus in the production environment.
  4. !!! question "What is EventBus?"
  5. An Eventbus is a mechanism that allows different components to communicate with each other without knowing about each other. A component can send an Event to the Eventbus without knowing who will pick it up or how many others will pick it up. Components can also listen to Events on an Eventbus, without knowing who sent the Events. That way, components can communicate without depending on each other. Also, it is very easy to substitute a component. As long as the new component understands events that are being sent and received, other components will never know about the substitution.
  6. Compared to other Services Bus or Event Bus, CAP has its own characteristics. It does not require users to implement or inherit any interface when sending messages or processing messages. It has very high flexibility. We have always believed that the appointment is greater than the configuration, so the CAP is very simple to use, very friendly to the novice, and lightweight.
  7. CAP is modular in design and highly scalable. You have many options to choose from, including message queues, storage, serialization, etc. Many elements of the system can be replaced with custom implementations.
  8. ## Related videos
  9. [Video: bilibili Tutorial](https://www.bilibili.com/video/av31582401/)
  10. [Video: Youtube Tutorial](https://youtu.be/K1e4e0eddNE)
  11. [Video: Tencent Tutorial](https://www.cnblogs.com/savorboard/p/7243609.html)
  12. ## Related articles
  13. [Article: Introduction and how to use](http://www.cnblogs.com/savorboard/p/cap.html)
  14. [Article: New features in version 3.0](https://www.cnblogs.com/savorboard/p/cap-3-0.html)
  15. [Article: New features in version 2.6](https://www.cnblogs.com/savorboard/p/cap-2-6.html)
  16. [Article: New features in version 2.5](https://www.cnblogs.com/savorboard/p/cap-2-5.html)
  17. [Article: New features in version 2.4](http://www.cnblogs.com/savorboard/p/cap-2-4.html)
  18. [Article: New features in version 2.3](http://www.cnblogs.com/savorboard/p/cap-2-3.html)
  19. [Article: .NET Core Community The first thousand-star project was born: CAP](https://www.cnblogs.com/forerunner/p/ncc-cap-with-over-thousand-stars.html)