I am building a socket based architecture application with the socket io server&client libraries in nodeJs and VueJS.
I have found that at the server I can add new data to the socket instance, eg i can store the original JWT and for example user id with a list of app permissions.
I don't need a full session system for this app but is it a good idea to load each socket with custom data? or will this bloat the memory use at the server?
via John
No comments:
Post a Comment