hoodiehq-archive / my-first-hoodie

⛔ deprecated
Other
157 stars 35 forks source link

Is hoodie suitable for common account use? #23

Closed robhrt7 closed 11 years ago

robhrt7 commented 11 years ago

Hi,

I'm now working with hoodie integrating it in our frontend documentation engine, where we have common data for all documentation viewers. Is it okay to use common account for all users? Could hoodie work stable this way?

I just login every client to same account, and give functionality to change something for every user.

And is it already possible to use hoodie.share for this kind of tasks?

janl commented 11 years ago

Heya Robert,

using just one account for all your users already works today. The only limitation here is that we currently expect individual user’s data to be small, especially on the client, the data limit is currently 5MB per account (due to Browser limits). If your collective users use less than that, all is well. If not: we will be expanding that limit in the future, but is going to be a bit of time. The two things we want to investigate is 1. using different and/or multiple in-browser storage with higher limits and 2. make Hoodie smart enough to only keep the latest or most relevant data in the client and sync the rest selectively. Neither of these have any code, or much thought put behind them.

hoodie.share is only useful to share data between multiple different accounts, so in your scenario it isn’t helpful.