Sometimes you don’t own the whole thing and BFF is the best way, but in my mind that place wasn’t Netflix, but some slow moving bank etc
Looks a bit like not invented here (in this team) syndrome
Ed: was open sourced back in 2015 - discussion at the time: https://news.ycombinator.com/item?id=10075092
My company uses falcor exclusively for 2 years in the datalayer and it has major advantages for us compared to graphql or other alternatives:
- has all the features to expect from modern data layer (caching incl. invalidation and refreshing, request batching, pluggable transport protocol, error handling, endpoint stitching, delegation, handling of references, reactivity)
- much simpler to reason about, focus on the core features
- much more flexible for certain usecases, because the schema can change/evolve dynamically (really cool for rapid prototyping etc.)
- the query model (paths and path sets) is much closer to javascript and json than for graphql (also no need to parse and build a fairly complex query language string ). This allows us to gernerate nearly all queries automatcally from templates. Imagine apollo, but without any need to maunually define useQuery in the head of a component. This is really THE killer feature of falcor.
I wonder why they didn't go with a microservice on top of kotlin? I mean, nodejs is ok - but it's not like it's not possible to write a microservice backed by an uberjar?