TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Service Discovery for a microservice with multiple ports

3 pointsby caspereekoabout 8 years ago
Is exposing multiple ports per service an anti-pattern?<p>Does it violate the single responsibility of a microservice?<p>How do you handle service registration and discovery for services with multiple ports?<p>Is IP per container with smart clients &amp; SRV records the best way to tackle this problem?

1 comment

weitzjabout 8 years ago
I got inspired by Consul and srv records. I use different names for the protocols on each port, e.g. mqtt.mosquitto... websocket.mosquitto..
评论 #13922062 未加载