{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1313","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1313/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1313/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1313/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1313","id":178832953,"number":1313,"title":"Bot in a clustered express application","user":{"login":"naeemshaikh27","id":6553193,"avatar_url":"https://avatars.githubusercontent.com/u/6553193?v=3","gravatar_id":"","url":"https://api.github.com/users/naeemshaikh27","html_url":"https://github.com/naeemshaikh27","followers_url":"https://api.github.com/users/naeemshaikh27/followers","following_url":"https://api.github.com/users/naeemshaikh27/following{/other_user}","gists_url":"https://api.github.com/users/naeemshaikh27/gists{/gist_id}","starred_url":"https://api.github.com/users/naeemshaikh27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naeemshaikh27/subscriptions","organizations_url":"https://api.github.com/users/naeemshaikh27/orgs","repos_url":"https://api.github.com/users/naeemshaikh27/repos","events_url":"https://api.github.com/users/naeemshaikh27/events{/privacy}","received_events_url":"https://api.github.com/users/naeemshaikh27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Stevenic","id":698939,"avatar_url":"https://avatars.githubusercontent.com/u/698939?v=3","gravatar_id":"","url":"https://api.github.com/users/Stevenic","html_url":"https://github.com/Stevenic","followers_url":"https://api.github.com/users/Stevenic/followers","following_url":"https://api.github.com/users/Stevenic/following{/other_user}","gists_url":"https://api.github.com/users/Stevenic/gists{/gist_id}","starred_url":"https://api.github.com/users/Stevenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stevenic/subscriptions","organizations_url":"https://api.github.com/users/Stevenic/orgs","repos_url":"https://api.github.com/users/Stevenic/repos","events_url":"https://api.github.com/users/Stevenic/events{/privacy}","received_events_url":"https://api.github.com/users/Stevenic/received_events","type":"User","site_admin":false},"assignees":[{"login":"Stevenic","id":698939,"avatar_url":"https://avatars.githubusercontent.com/u/698939?v=3","gravatar_id":"","url":"https://api.github.com/users/Stevenic","html_url":"https://github.com/Stevenic","followers_url":"https://api.github.com/users/Stevenic/followers","following_url":"https://api.github.com/users/Stevenic/following{/other_user}","gists_url":"https://api.github.com/users/Stevenic/gists{/gist_id}","starred_url":"https://api.github.com/users/Stevenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stevenic/subscriptions","organizations_url":"https://api.github.com/users/Stevenic/orgs","repos_url":"https://api.github.com/users/Stevenic/repos","events_url":"https://api.github.com/users/Stevenic/events{/privacy}","received_events_url":"https://api.github.com/users/Stevenic/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-09-23T09:49:26Z","updated_at":"2016-10-19T20:14:18Z","closed_at":null,"body":"Hi all,\r\n\r\nI wanted to scale my node-express-bot application with the usual code.\r\n\r\n```\r\nif( cluster.isMaster ) {\r\n  // Create a worker for each CPU\r\n  for( var i = 0; i < cCPUs; i++ ) {\r\n    cluster.fork();\r\n  }\r\n}\r\nelse {\r\n  var app    = express();\r\n  var routes = require( './routes' )( app );\r\n  app\r\n    .use( express.bodyParser() )\r\n    .listen( port );\r\n}\r\n```\r\nNow this server also runs my bot, the problem is i can not get `session.privateConversationData.persistSession` persisted on all the processes running in the cluster. Is there any way I can have the session to be stored somewhere outside, like Redis, so the data will be available to whole cluster? Or is it still impossible to scale the bot on a clustered environment?"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/254927218","html_url":"https://github.com/Microsoft/BotBuilder/issues/1313#issuecomment-254927218","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1313","id":254927218,"user":{"login":"willportnoy","id":17912714,"avatar_url":"https://avatars.githubusercontent.com/u/17912714?v=3","gravatar_id":"","url":"https://api.github.com/users/willportnoy","html_url":"https://github.com/willportnoy","followers_url":"https://api.github.com/users/willportnoy/followers","following_url":"https://api.github.com/users/willportnoy/following{/other_user}","gists_url":"https://api.github.com/users/willportnoy/gists{/gist_id}","starred_url":"https://api.github.com/users/willportnoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willportnoy/subscriptions","organizations_url":"https://api.github.com/users/willportnoy/orgs","repos_url":"https://api.github.com/users/willportnoy/repos","events_url":"https://api.github.com/users/willportnoy/events{/privacy}","received_events_url":"https://api.github.com/users/willportnoy/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T20:14:17Z","updated_at":"2016-10-19T20:14:17Z","body":"@stevenic I'll add to TFS a work item for \"exposing delete on bot data bags through Node\""}}
{"actor":{"display_login":"willportnoy"}}