{"action":"created","issue":{"url":"https://api.github.com/repos/fedora-infra/fmn.sse/issues/33","repository_url":"https://api.github.com/repos/fedora-infra/fmn.sse","labels_url":"https://api.github.com/repos/fedora-infra/fmn.sse/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/fedora-infra/fmn.sse/issues/33/comments","events_url":"https://api.github.com/repos/fedora-infra/fmn.sse/issues/33/events","html_url":"https://github.com/fedora-infra/fmn.sse/issues/33","id":170864713,"number":33,"title":"Some Limitations","user":{"login":"skrzepto","id":3166193,"avatar_url":"https://avatars.githubusercontent.com/u/3166193?v=3","gravatar_id":"","url":"https://api.github.com/users/skrzepto","html_url":"https://github.com/skrzepto","followers_url":"https://api.github.com/users/skrzepto/followers","following_url":"https://api.github.com/users/skrzepto/following{/other_user}","gists_url":"https://api.github.com/users/skrzepto/gists{/gist_id}","starred_url":"https://api.github.com/users/skrzepto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skrzepto/subscriptions","organizations_url":"https://api.github.com/users/skrzepto/orgs","repos_url":"https://api.github.com/users/skrzepto/repos","events_url":"https://api.github.com/users/skrzepto/events{/privacy}","received_events_url":"https://api.github.com/users/skrzepto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fedora-infra/fmn.sse/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-12T12:53:06Z","updated_at":"2016-08-12T14:14:56Z","closed_at":null,"body":"* Once the program hits its ulimit it crashes. Should we reject new incoming streams once it hits lets say 90% cap from the ulimit and leave the rest for handling 503 errors? This allows the program to still run but won't allow it to crash.\r\n\r\n* Program Linearly passes through each connections to send out messages. But each request is independent of each other. This could be a good spot for multi threading optimization.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fedora-infra/fmn.sse/issues/comments/239457649","html_url":"https://github.com/fedora-infra/fmn.sse/issues/33#issuecomment-239457649","issue_url":"https://api.github.com/repos/fedora-infra/fmn.sse/issues/33","id":239457649,"user":{"login":"skrzepto","id":3166193,"avatar_url":"https://avatars.githubusercontent.com/u/3166193?v=3","gravatar_id":"","url":"https://api.github.com/users/skrzepto","html_url":"https://github.com/skrzepto","followers_url":"https://api.github.com/users/skrzepto/followers","following_url":"https://api.github.com/users/skrzepto/following{/other_user}","gists_url":"https://api.github.com/users/skrzepto/gists{/gist_id}","starred_url":"https://api.github.com/users/skrzepto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skrzepto/subscriptions","organizations_url":"https://api.github.com/users/skrzepto/orgs","repos_url":"https://api.github.com/users/skrzepto/repos","events_url":"https://api.github.com/users/skrzepto/events{/privacy}","received_events_url":"https://api.github.com/users/skrzepto/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T14:14:56Z","updated_at":"2016-08-12T14:14:56Z","body":"[stats2.txt](https://github.com/fedora-infra/fmn.sse/files/415473/stats2.txt)\r\n\r\nIt seems after running on the branch `fix-log-spam`\r\n\r\nI was able to drop the time in write all messages ~66%\r\n\r\n```\r\n     5    ncalls  tottime  percall  cumtime  percall filename:lineno(function)                      |     5    ncalls  tottime  percall  cumtime  percall filename:lineno(function)\r\n\r\n    14       301    0.295    0.001   18.565    0.062 subscriber.py:38(write_messages_all_connection>|    14       302    0.575    0.002   54.196    0.179 subscriber.py:38(write_messages_all_connections)         \r\n\r\n```\r\n\r\n"}}
{"actor":{"display_login":"skrzepto"}}