Flatend

Infrastructure

microservice mesh framework

SHOW HN2020

Flatend

Quickly build microservices using P2P networking in Node/Go

github.com

#microservices#p2p networking#kademlia#service discovery#node go

145points
20comments
#415of 3,028 in 2020
Top 14%of 2020 by points

How HN took it

LovedMost comments that take a side are positive

8 positive, 4 neutral or asking, 0 mixed, 1 critical, out of 13 comments about the project. Thread score +0.43.

Idea: 3 for, 1 againstExecution: 2 for, 0 againstDesign: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Simple, dev-friendly approach to P2P backend networking

    From 3 comments
    • I appreciate the dev-friendliness of this (libp2p leaves a lot to be desired last I looked from a dev perspective). How chatty is it? How resilient is it to untrusted peers (e.g.…
      kodablah on HN
    • Good job, Kenta :)
      HerbsMan on HN
    • awesome.. it's a very simple.
      ykjt on HN
  • Interesting idea of using p2p for service discovery

    From 2 comments
    • mega interesting approach. will try it out later. this is the first time i heard that someone is using a p2p protocol for stuff like service discovery. How did you get this…
      mpfundstein on HN
    • This is neat. Reminds me of moleculer.services to a degree.
      Ataraxy on HN

Objections

  • Unclear where the p2p aspect is given a central API gateway

    From 1 comment
    • I might be a bit dense, but I don't see what's p2p about Flatend. You have a service that connects to an API gateway by hardcoding its address, then the client queries the…
      rakoo on HN
  • Not resilient to untrusted peers yet

    From 1 comment
    • All communication is quiescent unless some given node A sends data to node B (apart from TCP keepalive packets of course). For routing messages, it is expected O(log n) much like…
      lithdew on HN

Requests

  • Support WebSocket and gRPC

    From 1 comment
  • Example showing nodes discovering each other without hardcoded addresses

    From 1 comment
    • 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…
      rakoo on HN
  • Map Express.js routes automatically

    From 1 comment
    • This looks really promising. Can you think of mapping express.js routes to flatend automatically - that would be awesome. We are striving to make things simpler on backend too -…
      xgenecloud on HN

Questions

  • How chatty is it and how resilient to untrusted peers

    From 1 comment
    • I appreciate the dev-friendliness of this (libp2p leaves a lot to be desired last I looked from a dev perspective). How chatty is it? How resilient is it to untrusted peers (e.g.…
      kodablah on HN
  • Could it run over custom net.Conn such as Tor

    From 1 comment
    • I appreciate the dev-friendliness of this (libp2p leaves a lot to be desired last I looked from a dev perspective). How chatty is it? How resilient is it to untrusted peers (e.g.…
      kodablah on HN
  • Why not libp2p

    From 1 comment
    • Was any thought given to libp2p? The IPFS project is also using Kademlia and they're on top of that.
      imglorp on HN

Alternatives named

  • Moleculer

    From 1 comment
    • This is neat. Reminds me of moleculer.services to a degree.
      Ataraxy on HN
  • Firebase

    From 1 comment
    • Hello! OP here. One of the biggest frustrations I've had prying through Darklang [1], Firebase [2], Supabase [3], and a slew of other low-code projects is that although they do…
      lithdew on HN
  • Supabase

    From 1 comment
    • Hello! OP here. One of the biggest frustrations I've had prying through Darklang [1], Firebase [2], Supabase [3], and a slew of other low-code projects is that although they do…
      lithdew on HN
  • Darklang

    From 1 comment
    • Hello! OP here. One of the biggest frustrations I've had prying through Darklang [1], Firebase [2], Supabase [3], and a slew of other low-code projects is that although they do…
      lithdew on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/23561904)