Re: [nodejs] Trouble with response.writeHead

2015-06-22 Thread Ryan Graham
I would expect NGINX to be doing some level of caching based on the ETag, but I would also expect it to be using the Content-Type as part of the cache validation, which is controlled by the Vary header. Here's a reasonable looking article (I only skimmed) on it that might give you enough

[nodejs] node v0.10.39 (Maintenance)

2015-06-22 Thread julien . gilli
Hi everyone, A new maintenance release for Node.js, node v0.10.39, is now available. With this new release, OpenSSL has been upgraded to 1.0.1o to fix [several security vulnerabilities](http://openssl.org/news/secadv_20150611.txt). Two of them affect Node.js directly: Logjam and CVE-2015-1788.

Re: [nodejs] Porting Node.js to a CPU other than ARM or x86/AMD? I'm using OpenWRT and a PPC board.

2015-06-22 Thread Michael Dawson
What's more is that the V8 PPC port has been contributed back to the Google repos. You should be able to build V8 from PPC from the 4.3 branch and later. Our course that needs Node to be using a recent V8 level. The repositories mentioned have the source that will compile/run on PPC for Node

[nodejs] harmony performance?

2015-06-22 Thread ms073434
Hello, I'm coding in NodeJS since some years and from 6months I'm using TypeScript. Basically 70% of my code is TypeScript translated to EcmaScript5. I was curious to know which benefit in term of performance i will have if i start to use Harmony at all instead of cast back to ES5. Thanks, M.

[nodejs] Error in installation of nodejs on fedora

2015-06-22 Thread Himanshu Srivastava
On running command yum install npm , I am getting below error: Transaction check error: file /usr/lib/node_modules/npm/bin/npm from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686 file /usr/lib/node_modules/npm/node_modules/node-gyp

[nodejs] Trouble with response.writeHead

2015-06-22 Thread Ecas Saeculum
Reaching the end of my rope, so I thought I'd check here to see if anyone has experienced anything similar. Simple HTTP Server, that responds on connection with a write head and response.end('hello'); Simple, simple. When I do this: response.writeHead(200, { 'Content-Type': 'text/plain',

[nodejs] Node Cluster scheduling policy | Load Balancing for Read Scalability

2015-06-22 Thread Emerson Rocha Luiz
How (if possible) to use node-cluster to schedule which worker will respond to a request, based on type of request e.g. one worker for write (POST/PUT/DELETE methods) and 1+ worker only for read (GET)? This is common on Load Balancing databases, where master server is for Write, and slaves

Re: [nodejs] Re: Newbie Question

2015-06-22 Thread Gustavo Machado
Ray, a few clarifications on Grant's email. By setting things up with NGINX, it now becomes your point of entry for your user's traffic (hence the name reverse-proxy). Cheers! Gus On Sun, Jun 21, 2015 at 7:56 AM, Grant MacDonald minevillian.g...@gmail.com wrote: Hi Ray. If the node.js was

Re: [nodejs] Multi-tenant with multiple databases?

2015-06-22 Thread Gustavo Machado
Not sure how many tenants you plan to have in memory, but you should probably check out some (memory) caching libraries. Cheers, Gus On Tue, Jun 9, 2015 at 1:39 AM, Aria Stewart aredri...@dinhe.net wrote: On 8 Jun 2015, at 23:38, Steve P steveandjo...@gmail.com wrote: I'm working on a