• Message Bus & Solace Deeper Dive


    Message Bus

    Distributed system design is hard. There are many decisions that you need to make in the architecture early that have long reaching impacts. One of these decisions is how systems will communicate.

    • Will components expose RESTful APIs?
    • Will they interact with a messaging system (e.g. RabbitMQ, NATS, Kafka)? GRPC?
    • How will they share responses?

    **I think that communication roughly falls into two schools: **

    1. point to point
    2. message bus

    In an architecture driven by a message bus it allows more ubiquitous access to data. The consumers are allowed to determine how they will consume the data. It is not something decided by the sender. The power created by decoupling the producer and consumer, far outweighs any operational overhead introduced. Point to point is easier in some ways, but it silod the data off from the rest of the system. This can be a perk, security and isolation for instance, but building these walled gardens of data will hurt innovation, development pace, and monitoring in the long run.

    Point-to-point need to handle load balancer or proxy. The biggest drawback of a point-to-point communication structure is that the data is silod in the ecosystem from which it originates. The creator of the information determines how the data is used, by sending that data to a single point. This means that new crosscutting capabilities have to go fundamentally highjack that communication channel. They have to man-in-the-middle the receiver to get access to that data.

    Solace Deeper Dive

    What is Solace

    • Simple functions
      • Takes in messages
      • Matches subscriptions
      • Sends out messages
    • Uses FPGA technology for topic matching
    • Has no “memory” of past/historical messages
      • More on SolCache later

    Overview

    Topics Publish and Subscribe System

    • “/” is a special character reserved by Solace that separates topics
    • “*” machines anything up to the next “/”
    • “>” as the last character matches anything

    Solace Features

    1. Virtual Private Networks
    2. Eliding: Solace can limit the rate of message sent on a topic
    3. Request/Response
    4. Solace Element Management Protocol(SEMP)
    5. Soldump
    6. Guaranteed Messaging
    7. Deliver to One

    SolCache & PubSub+

    Remembers messages (until caches are cleared)
    Can have messages removed via SEMP

    PubSub+ is New version of SolCache, and have higher performance

  • 相关阅读:
    TCP 四次挥手,可以直接变成三次?
    深入了解网络流量清洗--使用免费的雷池社区版进行防护
    React 全栈体系(十一)
    【云原生】Dokcer安装Jenkins
    VCS(DVE)仿真波形的存储和打开.vpd
    leetcode-814:二叉树剪枝
    Real-Time Rendering——9.13.1 Filtering Normals and Normal Distributions过滤法线和正态分布
    前段导出XLSX表格
    Docker安装Python3教程
    Spring Boot中配置文件介绍及其使用教程
  • 原文地址:https://blog.csdn.net/qq_39384184/article/details/127042589