Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the magic? #26

Closed
JustinDrake opened this issue Oct 31, 2016 · 4 comments
Closed

What is the magic? #26

JustinDrake opened this issue Oct 31, 2016 · 4 comments

Comments

@JustinDrake
Copy link

(Justin here, working on OpenBazaar. Sorry for the dumb questions.) How can IPTB spin up 1000s of nodes on a single machine? What's the trick for scaling to such high numbers?

Of course all the networking happens locally. But then it seems each IPFS node runs in a separate process. Are the IPFS nodes "dumbed down" in any significant way?

@Kubuxu
Copy link
Member

Kubuxu commented Nov 1, 2016

No magic, just dev machines with quite a lot of RAM.

@JustinDrake
Copy link
Author

Thanks. What's the order of magnitude RAM footprint per IPFS node? 1MB, 10MB? Is CPU much of a consideration, or is RAM the main bottleneck?

@Kubuxu
Copy link
Member

Kubuxu commented Nov 1, 2016

It is about 100MiB per node right now, but we are working on reducing it further, it was less in the past. Idle CPU is very low.

@whyrusleeping
Copy link
Member

@JustinDrake Yeah, most iptb clusters i run see around 40MB of ram usage per node. I have a fairly beefy dev machine i use to spin up clusters, although i think the largest i've messed around with is 512. Cpu becomes an issue when youre doing large multi-peer transfers, as well as disk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants