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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Multinode – Python framework for building distributed cloud apps

11 点作者 kackiel超过 1 年前

5 条评论

kennywong1137超过 1 年前
@dragosbulugean Do you have any preferences for where it should run?<p>For now, we&#x27;re thinking of running it on ECS&#x2F;Fargate in our managed AWS account. But we appreciate that there are advantages in other approaches.
评论 #37737024 未加载
klasotaivc超过 1 年前
Does it offer multi-cloud support or AWS only right now?<p>Does it automatically handle scaling based on cloud app demand?
评论 #37741306 未加载
JustinGarrison超过 1 年前
Are you planning to open source the code?
评论 #37749751 未加载
kackiel超过 1 年前
We&#x27;re a small team of engineers that spent waay too much time setting up user-triggered distributed workflows with K8s when working on our previous product, even though conceptually we knew exactly what our system is supposed to do [1].<p>And so we decided to build Multinode. Its goal is to eliminate the hassle of setting up compute infrastructure so you can build arbitrarily complex compute without leaving the comfort of your local Python environment.<p>You can use it to set up distributed async workflows, continuously running daemons, APIs, etc., with a help of only 5 additional annotations.<p><i>TECHNICAL DETAILS</i><p>Internally, all the infra is on AWS. All the compute runs on ECS with Fargate using controllers similar to those used by Kubernetes. Unfortunately, Fargate has pretty annoying resource limitations (hence <a href="https:&#x2F;&#x2F;multinode.dev&#x2F;docs&#x2F;resources&#x2F;cpus-gpus-memory" rel="nofollow noreferrer">https:&#x2F;&#x2F;multinode.dev&#x2F;docs&#x2F;resources&#x2F;cpus-gpus-memory</a>) so we will likely port it to ECS on EC2s or just straight to K8s at some point. The task registry and multinode&#x27;s dict is running on Amazon Aurora. We use Python for the actual product and docs run on Firebase with next.js using one of the official Tailwind templates (I&#x27;d really recommend them!).<p><i>FEEDBACK NEEDED</i><p>In its current version, the entirety of your cloud compute would be in Multinode. But the actual #1 reason we decided to build it was these user-triggered autoscaled workflows [1]. We&#x27;re now playing with an idea of dropping most of the features to focus on solving this core problem in such a way that it&#x27;s easy to integrate with your existing infrastructure [2] instead of having to build everything in Multinode. Something like Airflow or Dagster but with emphasis on user-triggered workflows with very fast autoscaling and topologies defined at runtime. Do you think we should go with this change or keep Multinode as it is now?<p>Also, apologies for closed alpha at the moment, we&#x27;re still figuring out how to put automatic pricing or quotas in place and so opening it up to the public would bankrupt us. In practice it will be some markup on our compute cost. Any advice on what is usually reasonable here?<p>Any thoughts and feedback on those 2 points would be very appreciated!<p>[1]: For curious, it was something similar to our chess example: <a href="https:&#x2F;&#x2F;multinode.dev&#x2F;docs&#x2F;core-concepts&#x2F;job#distributing-a-job-workload-using-functions" rel="nofollow noreferrer">https:&#x2F;&#x2F;multinode.dev&#x2F;docs&#x2F;core-concepts&#x2F;job#distributing-a-...</a> [2]: Ideally, both compute and storage would be provisioned in your own AWS VPC with only the control plane running on our infra for maximum privacy and security.
dragosbulugean超过 1 年前
looks like a nice abstraction for distributed computing :)<p>where does it run?