开发者

1 network daemon or 2 network daemons

开发者 https://www.devze.com 2023-03-20 02:01 出处:网络
If I am implementing a feature such as upload / download on a dual core machine dedicated for this purpose in ruby, is there any way 开发者_JAVA百科to have a process per core? Is there any point in ha

If I am implementing a feature such as upload / download on a dual core machine dedicated for this purpose in ruby, is there any way 开发者_JAVA百科to have a process per core? Is there any point in having one socket open for uploading and one socket open for downloading? If I take this approach, are there any downsides? Is there any way to optimize this, or might I just as well just have one daemon for both upload and download?


sounds like premature optimization to me

0

精彩评论

暂无评论...
验证码 换一张
取 消