me ranting about the downsides of Spring Boot / Netflix OSS. Sorry that the slides are a little rare on text, so most likely hard to understand without the actual talk. feel free to send me any questions, though!
53. No Proxy? Make your own.
var http = require('http'),
httpProxy = require('http-proxy');
var proxy = httpProxy.createProxyServer({});
var interceptingServer = http.createServer(function (req, res) {
// define your custom logic to handle the request
// and then proxy the request.
proxy.web(req, res, {target: 'http://MyActualTargetService.com'});
});
console.log("proxy listening on port 5050")
interceptingServer.listen(5050);
https://github.com/nodejitsu/node-http-proxy
63. Filesystem Size Used Avail Use% Mounted on
...
/dev/mapper/datavg-lv_optsoftware
492G 22G 446G 5% /opt/software
64. Filesystem Size Used Avail Use% Mounted on
...
/dev/mapper/datavg-lv_optsoftware
492G 22G 446G 5% /opt/software
Filesystem Inodes IUsed IFree IUse% Mounted on
...
/dev/mapper/datavg-lv_optsoftware
32768000 32428987 39013 99% /opt/software
65. Filesystem Size Used Avail Use% Mounted on
...
/dev/mapper/datavg-lv_optsoftware
492G 22G 446G 5% /opt/software
Filesystem Inodes IUsed IFree IUse% Mounted on
...
/dev/mapper/datavg-lv_optsoftware
32768000 32428987 39013 99% /opt/software
I lost track when the deepest node_modules path
was about 2000 chars long…
66. npm dedupe would help,
but only if npm install worked
at least once…
67. Beware:
Npm3 will be the default package
manager starting with nodejs 5.x,
and is a breaking change:
68. Lessons learned:
We started the project when
NodeJS 4.x and npm 3.x
were still unstable.
That time is gone. Go for it.