[nodejs] Re: how to speedup http-proxy performance

2014-11-21 Thread nik600 AT 10^100
A couple of additional info: i've tried also with a different set-up of the proxy object: var http = require('http'); var httpProxy = require('http-proxy'); httpProxy.createProxyServer({target:'http://127.0.0.1:19007'}).listen(19081); but performances are the

[nodejs] how to speedup http-proxy performance

2014-11-21 Thread nik600 AT 10^100
Dear all i'm experiencing some performance-gap using http-proxy. I've got a very simple server that does the following: var http = require('http'); var httpProxy = require('http-proxy'); var proxy = httpProxy.createProxyServer({}); var server = http.createServer(function(req, res) { proxy.w

[nodejs] fs.createReadStream on http cluster suspends requests without throwing events

2014-11-20 Thread nik600 AT 10^100
Dear all i've got an http cluster based on nodejs, basically this component does the following: - does some regex matching on the req.url - case A) -> forward the request to a back-end - case B) -> check if exists a local file - case B.KO) -> forward the request to a back-end - case B.OK) -> pip

[nodejs] Compiling with node-gyp in parallel

2014-06-26 Thread AT
I've tried searching for an answer to this but couldn't come up with anything - is there a way to have npm compile native addons with node-gyp, in parallel? I've developing a native addon and in my Gruntfile I use the following configuration: build: { command: function() { var os = requi

Re: [nodejs] Re: Some beginner questions on writing C++ addons

2013-12-13 Thread AT
Perfect - I think I've got it working now, thanks for all the help! On Friday, December 13, 2013 4:45:23 PM UTC-8, Nathan Rajlich wrote: > > > On Fri, Dec 13, 2013 at 4:14 PM, AT >wrote: > >> Thanks Nate - doesn't that still have the issue as above though,

Re: [nodejs] Re: Some beginner questions on writing C++ addons

2013-12-13 Thread AT
nding.cc%23L101-L120&sa=D&sntz=1&usg=AFQjCNEpv9tX0bXNjZbmu26yKcdOX21Jaw> > > > On Thu, Dec 12, 2013 at 8:18 PM, AT >wrote: > >> Thanks Andrew! That is all very helpful. I'm still having a little bit of >> trouble on the buffers. The object that I'm wrapping has a field on it >

[nodejs] Re: Some beginner questions on writing C++ addons

2013-12-12 Thread AT
ean I have to make the reference weak, and supply a callback to be invoked when only weak references are held to the object? If that's the case, then it seems like I actually need to delete (in the C++ sense) the backing node::Buffer*, but since the callback only provides the char* data

[nodejs] Some beginner questions on writing C++ addons

2013-12-12 Thread AT
Hey all, I'm just starting to write my first C++ addon for node and I'm finding that the documentation can be a little sparse at times. I had a few beginner questions for you all, in no particular order: 1) v8::Signatures - It seems like they're supposed to validate that functi

[nodejs] test post

2013-12-12 Thread AT
ups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from