4 ms·
Most applications have atleast 1 SPOF, the DB. Just because the DB is now the Firebase API doesn't change anything. It would be very difficult to build product
by asadjb 8y ago
Most applications have atleast 1 SPOF, the DB. Just because the DB is now the Firebase API doesn't change anything.
It would be very difficult to build products in a reasonable amount of time if everything has to be coded defensively. I can build my app quicker, and remain sane, if I assume that the DB will always be available, and just fail if the DB isn't there. Same for things like S3 (which I think had only 1 large scale failure in recent history), Redis, etc...
There are APIs which can be unavailable and you need to work around those. For me, these are mostly third party services that I don't control. But then again, I'm not building the next Netflix. I don't have enough engineers to build an app that works with a chaos monkey!
Not the best approach for all applications, but has been good enough for most projects I've worked on. Just my 2 cents.