• 请不要在回答技术问题时复制粘贴 AI 生成的内容
awanganddong
V2EX  ›  程序员

请教大家关于微服务的概念

  •  
  •   awanganddong · Jun 26, 2023 · 1620 views
    This topic created in 1076 days ago, the information mentioned may be changed or developed.
    1.etcd 的服务发现,是从 etcd 获取服务的地址+端口。
    这种获取方式是不是只有 tcp 这种方式,没有 http 的方式。
    
    2.如果是用 openresty+lua 实现网关,如果想用 etcd 做服务注册和服务发现,那 lua 与 etcd 之间获取地址和端口是用那种方式呢,这和上边其实是一个问题。
    
    2 replies    2023-06-26 20:15:28 +08:00
    rbaloatiw
        1
    rbaloatiw  
       Jun 26, 2023
    etcd 有 http api 啊.. https://etcd.io/docs/v2.3/api/
    awanganddong
        2
    awanganddong  
    OP
       Jun 26, 2023
    谢谢了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2649 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:23 · PVG 19:23 · LAX 04:23 · JFK 07:23
    ♥ Do have faith in what you're doing.