Thursday 19 September 2019

[Noob question] Is it possible to query the master process from a worker process without using event emitters while using using cluster?

My nodejs project structure looks like this:Master{Very_Big_Cache}Workers{TCP server that might need to query data from the cache}​Is there any way to query the data (in an elegant way) from the master process without using event emitters so I can query it on a sync way or await it?

Submitted September 19, 2019 at 05:17PM by Kran6a

No comments:

Post a Comment