码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • Message Bus & Solace Deeper Dive


    文章目录

    • Message Bus
    • Solace Deeper Dive
      • What is Solace
      • Overview
        • Topics Publish and Subscribe System
      • Solace Features
      • SolCache & PubSub+

    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

  • 相关阅读:
    wx.request请求eggjs报invalid csrf token
    牛客网—链表的回文结构
    jQuery总结
    Java面向对象(下)
    嵌入式培训机构四个月实训课程笔记(完整版)-Linux ARM驱动编程第六天-ARM Linux编程之高级驱动基础 (物联技术666)
    P3613 【深基15.例2】寄包柜
    部门来了个测试开发,听说是00后,上来一顿操作给我看呆了...
    speech studio-神经网络定制自己的声音
    在 Android 上恢复已删除音乐的 5 种简单方法
    【分布式】大模型分布式训练入门与实践 - 04
  • 原文地址:https://blog.csdn.net/qq_39384184/article/details/127042589
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号