goinstant / chat

The GoInstant Chat widget provides real-time chat to users inside a room of your application.. This repo will no longer be updated. GoInstant will be discontinued as of August 31, 2014. Read our blog for more details.
https://goinstant.com
BSD 3-Clause "New" or "Revised" License
16 stars 10 forks source link

Optimize message storage #44

Open colinmacdonald opened 10 years ago

colinmacdonald commented 10 years ago

Store a historical user list separately instead of storing the userObj in each message. Should only be storing the userId on each message.

colinmacdonald commented 10 years ago

Should look to implement the historical storage in the userCache component.

ianlivingstone commented 10 years ago

So you will be storing the user data in a separate key outside of /.users right ?

colinmacdonald commented 10 years ago

yes.