{"action":"created","issue":{"url":"https://api.github.com/repos/OptimalBits/redbird/issues/39","repository_url":"https://api.github.com/repos/OptimalBits/redbird","labels_url":"https://api.github.com/repos/OptimalBits/redbird/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/OptimalBits/redbird/issues/39/comments","events_url":"https://api.github.com/repos/OptimalBits/redbird/issues/39/events","html_url":"https://github.com/OptimalBits/redbird/issues/39","id":136300668,"number":39,"title":"Benchmark, security, comparison","user":{"login":"inf3rno","id":408911,"avatar_url":"https://avatars.githubusercontent.com/u/408911?v=3","gravatar_id":"","url":"https://api.github.com/users/inf3rno","html_url":"https://github.com/inf3rno","followers_url":"https://api.github.com/users/inf3rno/followers","following_url":"https://api.github.com/users/inf3rno/following{/other_user}","gists_url":"https://api.github.com/users/inf3rno/gists{/gist_id}","starred_url":"https://api.github.com/users/inf3rno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inf3rno/subscriptions","organizations_url":"https://api.github.com/users/inf3rno/orgs","repos_url":"https://api.github.com/users/inf3rno/repos","events_url":"https://api.github.com/users/inf3rno/events{/privacy}","received_events_url":"https://api.github.com/users/inf3rno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-02-25T07:01:52Z","updated_at":"2016-08-12T14:09:01Z","closed_at":null,"body":"Are there any benchmarks which compare redbird with apache and nginx for example by serving static files. People use nginx with express because it serves static files much faster. According to them nginx prevents DDOS attacks as well, and increases security. Ofc. I never saw any concrete examples. I think they just use it because everyone else do so.\r\n\r\noff:\r\nIn my case I cannot find a real purpose to use a reverse proxy with nodejs. I have a home server with some nodejs services. Some of them run express and have HTTP interface. These are mostly for personal usage on the local network, but I think I'll add a dyndns and publish a few, for example my blog. It does not really need performance by static files, etc. Why do I need a reverse proxy to do this? Wouldn't express + fail2ban + port forwarding on the router be enough? "},"comment":{"url":"https://api.github.com/repos/OptimalBits/redbird/issues/comments/239456055","html_url":"https://github.com/OptimalBits/redbird/issues/39#issuecomment-239456055","issue_url":"https://api.github.com/repos/OptimalBits/redbird/issues/39","id":239456055,"user":{"login":"cchan","id":5421518,"avatar_url":"https://avatars.githubusercontent.com/u/5421518?v=3","gravatar_id":"","url":"https://api.github.com/users/cchan","html_url":"https://github.com/cchan","followers_url":"https://api.github.com/users/cchan/followers","following_url":"https://api.github.com/users/cchan/following{/other_user}","gists_url":"https://api.github.com/users/cchan/gists{/gist_id}","starred_url":"https://api.github.com/users/cchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchan/subscriptions","organizations_url":"https://api.github.com/users/cchan/orgs","repos_url":"https://api.github.com/users/cchan/repos","events_url":"https://api.github.com/users/cchan/events{/privacy}","received_events_url":"https://api.github.com/users/cchan/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T14:09:01Z","updated_at":"2016-08-12T14:09:01Z","body":"Redbird is similar to Nginx in its purpose, though Nginx has a much fuller feature set and is much faster (it's written in C, what do you *expect* the benchmark to show?).\r\n\r\nOne thing I like about Redbird is that routes can be modified on the fly with no downtime. Nginx servers must be restarted to modify routes. It's also in NodeJS, and I know NodeJS well and Nginx config language not very well, so for me it's highly configurable.\r\n\r\n[My specific usecase](https://github.com/cchan/ec2-router) is that I have a lot of different websites running on a single EC2 server. Redbird is very very lightweight (t2.micro doesn't have much space, and I guess nginx would be alright, but shrug), and I can do cool things with it in NodeJS."}}
{"actor":{"display_login":"cchan"}}