Re:Backend for Front-end
by respondo2134 on Wednesday September 21, 2022 @10:06AM
(#32925354)
>> I'd rather deal with a monolithic rails app any day.
if your app gets "bigger" this can work OK, but I've found they typically get "wider" and then any work on the monolith gets really painful and slow. My last two gigs have been at opposite ends of the spectrum and it's kind of a "pick your poison" situation.
However, assuming you've got them, BFF means only one group has to get the following right:
* User authentication
* Web performance analytics
* A/B testing
* More difficult bits of HTTP (fast TLS, prefetch, streaming responses)
If you have microservices but no BFF, you're pretty much stuck with your page being substantially rendered via js. Maybe that's okay for some things? I sure don't like it.