{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io-redis/issues/56","repository_url":"https://api.github.com/repos/socketio/socket.io-redis","labels_url":"https://api.github.com/repos/socketio/socket.io-redis/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-redis/issues/56/comments","events_url":"https://api.github.com/repos/socketio/socket.io-redis/issues/56/events","html_url":"https://github.com/socketio/socket.io-redis/issues/56","id":69072593,"number":56,"title":"Sending a message from one node to a specific socket on another node.","user":{"login":"allthetime","id":6376965,"avatar_url":"https://avatars.githubusercontent.com/u/6376965?v=3","gravatar_id":"","url":"https://api.github.com/users/allthetime","html_url":"https://github.com/allthetime","followers_url":"https://api.github.com/users/allthetime/followers","following_url":"https://api.github.com/users/allthetime/following{/other_user}","gists_url":"https://api.github.com/users/allthetime/gists{/gist_id}","starred_url":"https://api.github.com/users/allthetime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allthetime/subscriptions","organizations_url":"https://api.github.com/users/allthetime/orgs","repos_url":"https://api.github.com/users/allthetime/repos","events_url":"https://api.github.com/users/allthetime/events{/privacy}","received_events_url":"https://api.github.com/users/allthetime/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-04-17T06:23:21Z","updated_at":"2016-12-19T23:23:24Z","closed_at":"2015-04-17T08:53:25Z","body":"So I'm trying to run a multi-node system where one user can initiate private contact with another user, potentially across nodes, but I'm not sure how to do this with a multi-node system and socket.io-redis. \n\nOriginally with a single node, I was simply attaching session objects to each socket. This allowed me to search for socketIds based on session ids and then send a message accordingly, something like: client1 -> socket-server -> client 2.\n\nBut now, I can't search the sockets of one node from another. \n\nI'm assuming there must be a way to collect all the sockets connected to the entire network from the redis cache used by socket.io, but I'm not sure and I don't know how to find out. I've been inspecting redis with a desktop client and I can't see anything being cached by socket-io.\n\nAnyways, is it possible to scan the sockets of one node from another node? Or, is what I'm trying to do even possible in this framework?\n"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io-redis/issues/comments/268108076","html_url":"https://github.com/socketio/socket.io-redis/issues/56#issuecomment-268108076","issue_url":"https://api.github.com/repos/socketio/socket.io-redis/issues/56","id":268108076,"user":{"login":"baranx","id":1851711,"avatar_url":"https://avatars.githubusercontent.com/u/1851711?v=3","gravatar_id":"","url":"https://api.github.com/users/baranx","html_url":"https://github.com/baranx","followers_url":"https://api.github.com/users/baranx/followers","following_url":"https://api.github.com/users/baranx/following{/other_user}","gists_url":"https://api.github.com/users/baranx/gists{/gist_id}","starred_url":"https://api.github.com/users/baranx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baranx/subscriptions","organizations_url":"https://api.github.com/users/baranx/orgs","repos_url":"https://api.github.com/users/baranx/repos","events_url":"https://api.github.com/users/baranx/events{/privacy}","received_events_url":"https://api.github.com/users/baranx/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T23:23:24Z","updated_at":"2016-12-19T23:23:24Z","body":"Hi,\r\n\r\nCurrently I'm struggling with the same issue. I'm new to socket.io and redis. Could you please explain me how did you solve this?\r\n\r\nThanks in advance..."}}
{"actor":{"display_login":"baranx"}}