Skip to content

Commit

Permalink
Format the README
Browse files Browse the repository at this point in the history
  • Loading branch information
umgefahren committed Nov 5, 2024
1 parent f5114ad commit 1d5f4fd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ This is an implementation of a (js-)libp2p node running on [Cloudflare Workers](

There are a couple of reasons I wanted to do this:

1. *libp2p in serverless environments*: I wanted to see if you could run libp2p in serverless environments, only starting when a connection is coming in.
2. *Building a better bootstrap node*: Since this node should be, thanks to Cloudflare, geographically close to users it could decrease access latency when bootstrapping a node. I see the greatest possibilities for improvement here.
3. *Increasing general KAD performance by encouraging connections to physically close nodes*: Although I don't do this yet I think Kademlias performance could be improved if the routing table would initially be filled with nodes that are geographically close to the bootstrapping node. I see queries that go around the world as a future/current performance bottleneck in DHT performance.
4. *Test limits and flexibility of js-libp2p*
5. *Build a comprehensive map of libp2p nodes*: Since Cloudflare provides [IP location information](https://blog.cloudflare.com/location-based-personalization-using-workers/) for every incoming request it would now be possible to map out where nodes are connecting from. This could give insights in possible (future) performance improvements.
1. _libp2p in serverless environments_: I wanted to see if you could run libp2p in serverless environments, only starting when a connection is coming in.
2. _Building a better bootstrap node_: Since this node should be, thanks to Cloudflare, geographically close to users it could decrease access latency when bootstrapping a node. I see the greatest possibilities for improvement here.
3. _Increasing general KAD performance by encouraging connections to physically close nodes_: Although I don't do this yet I think Kademlias performance could be improved if the routing table would initially be filled with nodes that are geographically close to the bootstrapping node. I see queries that go around the world as a future/current performance bottleneck in DHT performance.
4. _Test limits and flexibility of js-libp2p_
5. _Build a comprehensive map of libp2p nodes_: Since Cloudflare provides [IP location information](https://blog.cloudflare.com/location-based-personalization-using-workers/) for every incoming request it would now be possible to map out where nodes are connecting from. This could give insights in possible (future) performance improvements.

## Does it work?

*Yes!*
_Yes!_

At the time of writing you can access the node at `/dns/libp2p-on-edge.dione.network/tcp/443/wss/p2p/12D3KooWEEh437zVGirT8xqBo7WxBJvXTEucFZRp7hUsK55pp1tt`.

Expand Down

0 comments on commit 1d5f4fd

Please sign in to comment.