jgantunes / pulsarcast-test-harness Goto Github PK
View Code? Open in Web Editor NEWA test harness for Pulsarcast using ipfs-testbed
License: MIT License
A test harness for Pulsarcast using ipfs-testbed
License: MIT License
Seems like the connection between containernet hosts is working properly. However I think I'm still unable to connect the IPFS nodes to each other.
After running the initial network bootstrap, doing jsipfs swarm peers
lists the multiple peers in the containernet network as being valid connections (although they're all bound to the loopback interface):
Test net running
Running node with id QmTBcwuunUvU3w95L4gCD6k12SRZBarkhUVs4cmoZ86HnF
Running node with id QmVVx6s2QvEnRZwYhxH1j7bzYgwpQZWVpguhPbCsTdR8Bq
Running node with id QmWiiK1wzz1yokSkEo8f5n5KnZUZEbF7qkKW7FXMPwWmhS
Running node with id QmSSZYyLmcvt6bpovKbCiwac9BouXwr8mtnFwdQFNYpdCx
Running node with id QmcEqbBUTJLmrdCFmAEPHLHXPQUCcxTXr4MDCfaFywAccw
Running node with id QmdVxTkbYLdZRbw7KStncWoGbc5M8z45MzT88WXJkqAG7E
Bootstrap finished
root@d1:/usr/src/app# jsipfs swarm peers
(...)
/ip4/127.0.0.1/tcp/4002/ipfs/QmVVx6s2QvEnRZwYhxH1j7bzYgwpQZWVpguhPbCsTdR8Bq
/ip4/127.0.0.1/tcp/4002/ipfs/QmcEqbBUTJLmrdCFmAEPHLHXPQUCcxTXr4MDCfaFywAccw
/ip4/127.0.0.1/tcp/4002/ipfs/QmWiiK1wzz1yokSkEo8f5n5KnZUZEbF7qkKW7FXMPwWmhS
/ip4/127.0.0.1/tcp/4002/ipfs/QmSSZYyLmcvt6bpovKbCiwac9BouXwr8mtnFwdQFNYpdCx
/ip4/127.0.0.1/tcp/4002/ipfs/QmdVxTkbYLdZRbw7KStncWoGbc5M8z45MzT88WXJkqAG7E
How does each IPFS node connect to the others without me doing anything? Any clues? Somehow I think they shouldn't list the other peers as being under the loopback interface ip address.
Is there a way of testing the connection between 2 IPFS nodes? There seems to be a ping command but it is not working in js-ipfs right? Because if I try to use pub-sub it doesn't work (subscribing a peer to a topic and publishing on the other side, nothing happens).
The end result of this process should be to run our test-harness in the Microsoft Azure, Kubernetes as a Service platform.
The focus should be for us to get close to the real world without it being something binding. Essentially, if you could have a dataset like Reddit for example, where we can have a topic hierarchy and subscriber num we could even infer the number of posts per topic based on the popularity of it.
In the end the goal is to have a zipfian distribution and an uniform one. That way we could see how the system behaves under a well balanced ideal situation and an unbalanced, "real world" one.
We'll need to:
We should set everything ready in order to run our test-harness using - https://github.com/JGAntunes/ipfs-testbed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.