News for hackers. Stuff that matters.
Re:Show HN: Flatend – Quickly build microservices using P2P ... by lithdew on Thursday June 18, 2020 @02:52PM (#23566321)
No worries: Flatend uses Kademlia for helping developers bootstrap the network, and to have nodes discover services from one another.

To clarify, the API gateway I provided is just* another node/peer in the network which advertises a few services that deal with exposing other nodes' services via HTTP/WebSocket/gRPC (rather than an ordinary API gateway server).

This means that you can run several API gateway nodes on different machines, and kill several of them, and they would still discover and process one another's request/data without any extra work, as they are independent nodes that are not directly tied by their addresses to other nodes/microservices.

So, I guess the easiest way to point out the p2p aspect here is on how Flatend deals with the separation of concerns across "services"/nodes.

Re:Show HN: Flatend – Quickly build microservices using P2P ... by rakoo on Thursday June 18, 2020 @03:35PM (#23566893)
I think there should be a way to show the p2p aspect in the example; maybe have the go service and the node service talk to each other, without hardcoding anything ? Just to show how it leverages the whole p2p thing
Re:Show HN: Flatend – Quickly build microservices using P2P ... by imglorp on Thursday June 18, 2020 @03:32PM (#23566854)
Was any thought given to libp2p? The IPFS project is also using Kademlia and they're on top of that.