Re: [nodejs] Re: child_process and scaling

2016-05-21 Thread Zlatko Đurić
You should try it. But the bottom line is, in a thousand-reqs-per-sec scenario, you'll almost always hit a bottleneck and need to scale the processing job over multiple machines. So it's a tradeoff - how important is it to you to finish every request, how fast you want results, is the 1k/sec

Re: [nodejs] Re: child_process and scaling

2016-05-21 Thread Ω Alisson
Interesting. I wonder if it is better to use phantomjs for the PNG rendering. Although it is slower, I don't need child_process On Fri, May 20, 2016 at 5:42 PM Zlatko wrote: > You have multiple things there. Thousands requests (per second, I assume) > is a lot even without

[nodejs] ldapAuth or bad coding or both

2016-05-21 Thread Geoff Ginley
I'm using ldapauth-fork to auth against an Active Directory domain. I grab the groups that the user is a member of to later provide access. While cleaning them up i get the below error [TypeError: Cannot read property 'forEach' of undefined] When