Re: [nodejs] Best practice to share data between processes (cluster)

2013-09-20 Thread Ivan Maximenko
It's helpful for me, thanks. четверг, 19 сентября 2013 г., 21:09:47 UTC+3 пользователь Sam Roberts написал: On Thu, Sep 19, 2013 at 7:13 AM, Matt hel...@gmail.com javascript: wrote: It's not just convenience - master/worker communication won't scale beyond one host. Use external

[nodejs] Best practice to share data between processes (cluster)

2013-09-19 Thread Ivan Maximenko
Hello, I'm newest in nodejs. My application based on expressjs + cluster. And now for me is not clear how to share data between processes? Code example : function Acl(storage) { //storage - mongodb return { isAllow: function(role, resource, cb) { if (!cache) {

[nodejs] Dnode, send large files or any data

2013-09-03 Thread Ivan Maximenko
Hello. Please help, how to send large file by dnode. Exist way to return in callback stream or something like that. Thanks for help. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message

[nodejs] Error: no writecb in Transform class

2013-07-19 Thread Ivan Maximenko
Hello. I'm new in nodejs and now playing with streams. Now I try combine streams in one and then separate their. For separate used Transform stream. When i try call done callback in _read method of separate Readable stream - throw Exception. Error: no writecb in Transform class at

[nodejs] How to pause Transform stream

2013-07-18 Thread Ivan Maximenko
Hello I try combine few streams in one and then parse its in separated streams And now for me not clear how to pause of transform. When i call method done (indicate stream continue transform) in Readable stream - throw exception Error: no writecb in Transform class. Thanks for help! var fs =

[nodejs] Tls. Dynamic list of trusted certificates

2013-06-18 Thread Ivan Maximenko
Hi! Is it possible to add a trusted certificate after the tls server has been started? Thanks for help! -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to