We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Proof of concept of peer-to-peer tiles

Formal Metadata

Title
Proof of concept of peer-to-peer tiles
Title of Series
Number of Parts
237
Author
Contributors
License
CC Attribution 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
An exploration on how a seemingly obscure web standard (WebRTC) can be exploited to provide P2P transmission of rendered map tiles. The OpenStreetMap project started serving map tiles over a decade and half ago - and more than once it's been a strain on the limited resources of the OpenStreetMap Foundation. But what if a web standard designed for video conferencing -WebRTC- could be turned into a way to let web browsers exchange tiles in a peer-to-peer fashion? This would, ideally, spread the load of distributing cached tiles onto individual web browsers thus lowering the load on tile cache servers. Other web-browser-based approaches to peer-to-peer content exist (e.g. IPFS), but seem unfit for the use case of map tiles. The main concern is the sheer number of possible map tiles (four to the eighteenth power, or over 68 thousand million), which makes hashing each individual tile both impractical and counterproductive. In computing science jargon: cacheable (meta)tiles exploit the obvious spatial locality of neighbouring tiles, and hashing tile URLs would invalidate the exploitation of that locality. This talk explores the idea of how WebRTC could be leveraged to turn web browsers into peers forming a P2P tile network; what software pieces would need to be developed, and what potential caveats await at the end. The main obstacle would be something called (in WebRTC parlance) the “signaling server”. This means solving the problem on how to pair web browsers that are looking at similar areas of the map. A proposed naïve approach is to force clients to inform a signaling/orchestration server about their visible bounding box, let that server build up a R-tree (or R-tree-like data structure) of bboxes, then pairing peers based on the R-tree structure, or by performing k-nearest-neighbour searches. One big unknown is whether the CPU load of running such an orchestration service is a practical improvement over the network load of tile caches. On the ethical front, there would be concerns about malicious actors exchanging “poisoned” (modified) tiles, and mining the IP addresses of other peers and the geographical areas those peers are viewing. Please note that the contents of this talk are experimental and/or hypothetical, since (to the best of the author’s knowledge) no actual deliverable work has been done on this field. Authors and Affiliations – Iván Sánchez Ortega (1) (1) Freelancer Requirements for the Attendees – Some knowledge of tiled web maps, web servers, and/or tile servers, would be preferred. Track – Software Topic – Software status / state of the art Level – 3 - Medium. Advanced knowledge is recommended. Language of the Presentation – English