Reactor框架中有没有方法实现多进程的方式?
Reactor范例都是基于thread的,这样子能够比较简便的共享连接等信息,是否有基于Process的方案呢? asynchronize completion token design pattern
请参考asynchronize completion token design pattern Reactor范例都是基于thread的,这样子能够比较简便的共享连接等信息,
是否有基于Process的方案呢?
You mean processed-data-sync ? 可以这样,每个Process里面一个线程,运行Reactor,系统运行多个Process.不过貌似这样的情况不多吧? Ok, I see what you want, MP instead of MT. It had little to do with reactor pattern and gonna be much more complex than MT.
You have to think about proxy, load-balancing and FT.Basically it's Architector's job, not yours.
页:
[1]