作者StubbornLin (Victor)
看板Python
标题Re: [心得] Twisted是好物!
时间Tue Jul 8 12:44:08 2008
In the mean time, if you really want to take benefit of threads in
multiple-CPU machines, you may use Jython (based on Java) or IronPython
(based on .NET) which both rely on real threads.
Hope this helps
那篇部落格的文章这样写,所以说,如果我的Twisted伺服器改用IronPython跑
就可以得到multicore的好处了是这样吗@@?
或是Jython也可以?
我的电脑只有双核心,跑出来可能不太明显
我正在想要怎样测试比较看得出来,生几个Thread全部跑一堆的运算?
还有Twsited不知道能不能在IronPython跑
晚点有空的话来试试看,有没有人有更多核心的有空帮忙试试看 XD
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.170.137.201