{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/sockjs-erlang/issues/7","labels_url":"https://api.github.com/repos/rabbitmq/sockjs-erlang/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/sockjs-erlang/issues/7/comments","events_url":"https://api.github.com/repos/rabbitmq/sockjs-erlang/issues/7/events","html_url":"https://github.com/rabbitmq/sockjs-erlang/issues/7","id":118373164,"number":7,"title":"Slow response for iframe.html","user":{"login":"sega-yarkin","id":1433049,"avatar_url":"https://avatars.githubusercontent.com/u/1433049?v=3","gravatar_id":"","url":"https://api.github.com/users/sega-yarkin","html_url":"https://github.com/sega-yarkin","followers_url":"https://api.github.com/users/sega-yarkin/followers","following_url":"https://api.github.com/users/sega-yarkin/following{/other_user}","gists_url":"https://api.github.com/users/sega-yarkin/gists{/gist_id}","starred_url":"https://api.github.com/users/sega-yarkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sega-yarkin/subscriptions","organizations_url":"https://api.github.com/users/sega-yarkin/orgs","repos_url":"https://api.github.com/users/sega-yarkin/repos","events_url":"https://api.github.com/users/sega-yarkin/events{/privacy}","received_events_url":"https://api.github.com/users/sega-yarkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"essen","id":141739,"avatar_url":"https://avatars.githubusercontent.com/u/141739?v=3","gravatar_id":"","url":"https://api.github.com/users/essen","html_url":"https://github.com/essen","followers_url":"https://api.github.com/users/essen/followers","following_url":"https://api.github.com/users/essen/following{/other_user}","gists_url":"https://api.github.com/users/essen/gists{/gist_id}","starred_url":"https://api.github.com/users/essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essen/subscriptions","organizations_url":"https://api.github.com/users/essen/orgs","repos_url":"https://api.github.com/users/essen/repos","events_url":"https://api.github.com/users/essen/events{/privacy}","received_events_url":"https://api.github.com/users/essen/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-11-23T12:41:27Z","updated_at":"2015-12-29T13:23:11Z","closed_at":null,"body":"I've tested performance of response to /stomp/iframe.html, for 5 cores (Xeon 2.30GHz) it was only ~1000 requests per second, which is too slow for static resource.\r\n\r\n(P.S. I found in code that it every time does replace SockjsUrl in template and calculate MD5 hash. Maybe is better to do it at application start to save resources and time?)"},"comment":{"url":"https://api.github.com/repos/rabbitmq/sockjs-erlang/issues/comments/167787123","html_url":"https://github.com/rabbitmq/sockjs-erlang/issues/7#issuecomment-167787123","issue_url":"https://api.github.com/repos/rabbitmq/sockjs-erlang/issues/7","id":167787123,"user":{"login":"sega-yarkin","id":1433049,"avatar_url":"https://avatars.githubusercontent.com/u/1433049?v=3","gravatar_id":"","url":"https://api.github.com/users/sega-yarkin","html_url":"https://github.com/sega-yarkin","followers_url":"https://api.github.com/users/sega-yarkin/followers","following_url":"https://api.github.com/users/sega-yarkin/following{/other_user}","gists_url":"https://api.github.com/users/sega-yarkin/gists{/gist_id}","starred_url":"https://api.github.com/users/sega-yarkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sega-yarkin/subscriptions","organizations_url":"https://api.github.com/users/sega-yarkin/orgs","repos_url":"https://api.github.com/users/sega-yarkin/repos","events_url":"https://api.github.com/users/sega-yarkin/events{/privacy}","received_events_url":"https://api.github.com/users/sega-yarkin/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T13:23:11Z","updated_at":"2015-12-29T13:23:11Z","body":"Limits under current `beam.smp` process are:\r\n```\r\n# cat /proc/45836/limits\r\nLimit                     Soft Limit           Hard Limit           Units\r\nMax cpu time              unlimited            unlimited            seconds\r\nMax file size             unlimited            unlimited            bytes\r\nMax data size             unlimited            unlimited            bytes\r\nMax stack size            8388608              unlimited            bytes\r\nMax core file size        0                    unlimited            bytes\r\nMax resident set          unlimited            unlimited            bytes\r\nMax processes             4096                 31195                processes\r\nMax open files            102400               102400               files\r\nMax locked memory         65536                65536                bytes\r\nMax address space         unlimited            unlimited            bytes\r\nMax file locks            unlimited            unlimited            locks\r\nMax pending signals       31195                31195                signals\r\nMax msgqueue size         819200               819200               bytes\r\nMax nice priority         0                    0\r\nMax realtime priority     0                    0\r\nMax realtime timeout      unlimited            unlimited            us\r\n```\r\nor you interested of limits under root account?"}}