TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Solid setup for local microservices architecture

5 点作者 kostarelo超过 1 年前
What are some impressive setups you&#x27;ve seen or you&#x27;ve implemented on locally replicating a microservices architecture with local DBs and other backend dependencies.<p>I&#x27;m looking into docker-compose with remote docker-compose yaml files but I&#x27;m not sure of how solid is going to be.<p>Our services are mostly Node.js based services and dockerised already. Production environment is setup on AWS ECS.

3 条评论

leandot超过 1 年前
The AWS ECS cli understands the syntax of docker-compose files, so you can use almost the same setup as local development. Also depending on your setup, e.g. if your services are stateless and the state is kept somewhere else like SQS queue, you can parallelize 100x with a single command.<p><pre><code> ecs-cli compose -f docker-compose.prod.yml --ecs-params ecs-params.yml service up --cluster YOUR_CLUSTER ecs-cli compose -f docker-compose.prod.yml --ecs-params ecs-params.yml service scale 100 --cluster YOUR_CLUSTER </code></pre> Not sure if that is what you meant, feel free to get in touch.
kostarelo超过 1 年前
Author here: just wanted to clarify that the question was meant to be for creating a local development environment.
userNY1超过 1 年前
why docker-compose and not kubernetes?