Comments (8)
but little effort was done to find and understand the bugs that are subtle, hard-to-reproduce, take time to trigger, affect only some platforms, etc.
Of course, that isn't true. I spent hours upon hours staring at the code trying to track down memory and cpu issues. You need to consider as well that it was basically just me writing/debugging that code on strict time deadlines, while also working on this code base at the same time.
Thankfully, I'm not the only person working on it anymore. If you include the ipfs team, we have four or five full time developers working on the codebase. So it should be much improved.
Please feel free to contribute resources as well if you want to build on top of it.
I do agree with #2 though and have voiced my opinion on that.
from openbazaar-go.
I spent hours upon hours staring at the code trying to track down memory and cpu issues.
@cpacia Ok, understood. My suggestion for OB2.0 is to invest time in a stress testing framework. It will make it much easier to find bugs than staring at the code. I'm happy to contribute to that. It can be something easy like "instantiate n
nodes and make them send a random message to x%
of the nodes every m
seconds". My guess is that bugs will start manifesting themselves in minutes, bypassing hours of staring.
from openbazaar-go.
This is something that came up in one of our team meetings the other day. Do you have any scripts already that we can use as a baseline or process recommendations here? I was thinking about a few tools I've used in the past but hadn't started to run with this yet.
from openbazaar-go.
@hoffmabc Ideally we want to test 100+ nodes communicating with each other at high speed, submitting listings, etc. More likely than not, we're going to need a cluster of machines for that. I believe the most professional way of doing that is with Docker Swarm and Docker Machine (see here. My preference would be to load up DigitalOcean droplets.
Here's a possible roadmap:
- Figure out how to instantiate a single IPFS node (I'm still at this stage!)
- Get two IPFS nodes on a single machine to talk to each other. Write a few stress tests between these two nodes.
- Understand the max number of test IPFS nodes that can fit in a droplet (say
n
) and build a docker container for that. - Get two droplets (each with
n
nodes from the container) to talk to each other and write more stress tests - Automate the provision of droplets with Docker Machine and Docker Swarm to get to 100+ nodes in 3 different continents
- Use the above infrastructure as a basis for a public testnet?
from openbazaar-go.
@cpacia have we gotten #2 to work yet?
from openbazaar-go.
Should just be a matter of using two different repo directories.
from openbazaar-go.
btw here's for tracking ipfs test coverage ipfs/kubo#3053
from openbazaar-go.
I created the qa package to build out integration tests.
from openbazaar-go.
Related Issues (20)
- Bug (GET /ob/sales): Orders with a state of PENDING or RESOLVED have a zero value for total.amount HOT 1
- How to reduce memory usage
- OpenBazaar API return empty price HOT 5
- Switch to Go Modules HOT 2
- Please allow search results to be sorted by origin of shipping HOT 1
- ERROR: create new IPFS node; failed to listen on any address
- compile error:go-multihash is not in GOROOT (/home/linuxbrew/.linuxbrew/Cellar/go/1.14.3/libexec/src/gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash) GoWork/pkg/mod/github.com/!open!bazaar/[email protected]/ipfs/resolve.go:15:2: HOT 1
- Config File is Malformed HOT 7
- Unresolved conflict pushed in Godeps.json
- Server crash due to ticker error
- Server crash due to websocket timeout HOT 9
- Dev docker build is not working HOT 1
- (wrong page)
- no log for debugging?
- No sellers appear under pclos - is there a linux this is known to work in? HOT 2
- no obvious way to start this
- Openbazaar HOT 2
- Is openbazaar still alive? HOT 4
- unable to migrate unknown schema HOT 1
- How can I connect to the server once launched (docker)?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbazaar-go.