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
精彩评论