heroku - Scalable architecture for multi-tenant Firebase app -


we're trying architect our usage of firebase database scales multi-tentant app. our app similar in architecture grocery list or todo list app. users need access own data; no data shared across user boundaries.

additionally, need sync data firebase database external system. example, if user enters item in our app, sooner or later, version of item needs turned pdf document , sent document repository.

we plan implement node app runs on heroku worker perform synchronization. however, after reading how firebase works, sounds we'll run memory problems number of users grows. sounds entire firebase database synced memory (see firebase listeners take huge amount of memory)

is there best practice around sharding firebase databases? there practical limitations size of given json tree? i.e. if store todo items @ top level key ('/items') grows without bound, when break down?


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -