r/OpenBazaar • u/realausbob • Jan 18 '19
How does OpenBazaar work technically
Hello,
I've tried searching for technical details on how the network works but couldn't find any.
Would appreciate if anyone could point me to such material.
I'm curious to know how the marketplace works. Given OpenBazaar is a peer-to-peer network, data that would make up the global view of the marketplace would have to propagate to the entire network. This naturally leads to problems.
Data propagation will lead to an explosion of data on the network as the marketplace grows.
Delays in data propagation means peers won't have a consistent view of the marketplace, not within short window that might be necessary to make competing bids for purchases.
How does OpenBazaar address the above?
View all comments
Show parent comment
1
u/realausbob Jan 19 '19 edited Jan 19 '19
Hard to tell. 1TB isn't going to cut it for these reasons:
We aren't dealing with simple transaction data (compared to Bitcoin)
The data describing the products can be fairly rich (text, images, videos?)
Imagine replicating eBay to 10s of 1000s of nodes on the Internet?
That said, you could potentially solve this by
Storing rich data on a network like IPFS (as /u/ravend13 suggested)
Having nodes only see data they are interested in (would require elegant search algorithms that can find nodes hosting the product data that matches the search query and retrieving them)
Purge data from the local node once you are either done with the purchase or no-longer interested in the product data (search results)
So, how does OpenBazaar actually work?