[nodejs] Re: Server is accepting requests but is not responding. There is something hanging up the response.

2015-08-09 Thread zladuric
Well, in that case, I would say it looks like a memory leak or something. You say the socket should close in two minutes - are you leaving some closures there too? Maybe those get piled up and then afterwards they only accept new requests when old ones expire. Did you count how many requests

[nodejs] A microframework in node.js called elet

2015-08-09 Thread Justin John
I would like to present a microframework in Node.js called Elet which was inspired by CakePHP framework. It helps in building web applications simpler and require less code. Please check: https://github.com/justin-john/elet

Re: [nodejs] A microframework in node.js called elet

2015-08-09 Thread Angel Java Lopez
Nice! First suggestions, questions: - Maybe fs.readFileSync in view.js engine method is something to be cached, or replaced by async call (yes, I know, it could imply that engine method becomes async... no free lunch ;-) I would prefer file content caching, and watch file system changes. Or

Re: [nodejs] A microframework in node.js called elet

2015-08-09 Thread Adam Reynolds
Had a quick look. Why would I use this over express? On 9 Aug 2015 16:55, Justin John justinjohnmath...@gmail.com wrote: I would like to present a microframework in Node.js called Elet which was inspired by CakePHP framework. It helps in building web applications simpler and require less code.

[nodejs] performance issue with express-validator

2015-08-09 Thread Sebastian M Cheung
After adding express-validator, the app slows down dramatically: why is that? // mongoose config require('./database'); var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser =

Re: [nodejs] Re: Server is accepting requests but is not responding. There is something hanging up the response.

2015-08-09 Thread boby rahmawan
Hi moacir, is there any socket process not completed to execute? Maybe it can make your server not responding because main program wait the response from socket. On Aug 9, 2015 10:55 PM, zladuric zladu...@gmail.com wrote: Well, in that case, I would say it looks like a memory leak or something.