Better HN
topnewbestaskshowjobs
Log inSign up

gmaclennan

63 karma · joined Jun 15, 2016 (10y ago) · 5 submissions

Submissions

comment 10y ago · link · parent

Substack can probably give a better answer, but my understanding is that CouchDB only holds a version history since the last replication between clients, and then conflicts need to be resolved before replication can continue, after which version history is lost. With OSM-p2p no data is every deleted, it is all just in the underlying hyperlog. It's more like git than CouchDB, and each record has a complete history, and can be forked and merged and will continue to sync/replicate.

comment 10y ago · link · parent

Yes, right now this is for setting up your own "OpenStreetMap" that will work offline. The author of this work, substack, is also working/thinking about p2p infrastructure for OSM. See https://peermaps.github.io/

comment 10y ago · link · parent

If two or more peers edit the same record, it doesn't create a conflict but instead that record simply has two versions in the database - like a fork in a git repo. These can be merged at any time in the future, but prior to that two versions can continue to exist and replicate. For more about why we designed it like this see: https://github.com/digidem/osm-p2p-db/blob/master/doc/archit...

4.

Osm-p2p: a peer-to-peer distributed OpenStreetMap database(digital-democracy.org ↗)

117 points · by gmaclennan · 10y ago · 14 comments

5.

OpenStreetMap without servers(digital-democracy.org ↗)

2 points · by gmaclennan · 10y ago · discuss