什么是一种方式去.... [英] what would be A way to go....

查看:64
本文介绍了什么是一种方式去....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我想在WWW上使用一个工具来做一些相当于b
浮点计算密集的东西。

我可以用PHP做到这一点,但是所有的工作都必须在主机'

计算机上进行,而PHP则是SLOOOOOW。

编译的东西要快得多,但没有商业主机允许

在他的机器上运行的LAPACK东西。

java可以用什么方式帮助?

是否有允许我的java东西在他们的机器上运行的托管者

仅用于计算结果吗?或者我会让他们服务

小程序并在客户端完成运算和演示吗?


建议非常欢迎。

解决方案

Osiris写道:


>假设我想在WWW上使用一个设施做一些而不是
浮点计算密集型的东西。



当然。我可以想到任何有趣类型的

问题和物理模拟将用FP完成

。你有什么特别的兴趣

in?


>是否有允许我的java东西在他们的机器上运行的托管服务商<只为计算结果服务?



我非常怀疑它。很少有服务器愿意接受

这样的责任和加载只是为了将内容交付给另一台服务器。


> ..或者我会让他们服务小程序并在客户端上完成运算和演示吗?



''是''。但是我推荐一个JWS推出的应用程序,而不是专门用于applet的b $ b。

< http://www.physci.org/jws/#jtest>

JWS有更多选择,Sun提供更好的支持。


-

Andrew Thompson
http://www.physci.org/


留言通过JavaKB.com
http:/ /www.javakb.com/Uwe/Forums.asp...neral/200711/1


Osiris< et ** @ hotmail.comwrote:


>假设我想在WWW设备上做一些相当于浮点计算密集的工作。



特定的东西,或者给我们一些工作,我们会做的!


>我可以用PHP做到这一点,但是所有的工作都必须在主机的计算机上完成,而PHP则是SLOOOOOW。



我不确定你的前提是什么。你不是在谈论在

主机的电脑上工作吗?如果你在谈论一种让客户在他们自己的电脑上工作的方法,他们可能已经有了这样的方式,没有你的服务......


PHP可能没有使用任何优化的FP方法,你试图显示

off,但它可以调用一些帮助代码。


>编译的东西会快得多,但没有商业主机会允许在他的机器上运行LAPACK东西。



为什么不呢?有很多商业主机可以让你运行几乎任何你想要的东西。他们给你(他们的客户)一台机器(可能是虚拟的b
),你可以做任何你想做的事情,包括为你的客户提供处理能力



对于大量可分发的工作,Amazon ECC可能会有所帮助。请参阅
http://www.amazon.com /gp/browse.html?node=201590011


> java有什么方法可以提供帮助?



Dunno。我不太了解目标,不能给出实施建议。

我会弄清楚我的客户想要什么,他们愿意多少

为它付钱,然后用什么样的架构来提供它,然后用什么

语言我想写它。

-

Mark Rafn da***@dagon.net < http://www.dagon.net/>


On Thu,2007年11月22日10:26:20 -0800,Mark Rafn写道:


Osiris < et ** @ hotmail.comwrote:


>>假设我想在WWW上使用一个设施来做一些相当漂浮的工作计算密集型的东西。



具体的东西,或者给我们一些工作,我们会做的!



是的,非常具体的东西。就像计算结构的强度一样,

使用有限元法。


>> I可以在PHP中做到这一点,但所有工作必须在主机的计算机上完成,PHP是SLOOOOOW。



我不确定你的前提是什么。你不是在谈论在

主机的电脑上工作吗?如果你在谈论一种让客户在他们自己的电脑上工作的方法,他们可能已经有了这样的方式,没有你的服务......



我可以使用服务器端的PHP来进行运算,但是...... PHP很慢。


PHP可能并没有使用任何优化的FP方法,你试图显示

off,但它可以调用一些帮助代码。


>>编译的东西要快得多,但没有商业主机允许在他的机器上运行LAPACK东西。



为什么不呢?有很多商业主机可以让你运行几乎任何你想要的东西。他们给你(他们的客户)一台机器(可能是虚拟的b
),你可以做任何你想做的事情,包括为你的客户提供处理能力



好​​吧,我可以雇用一台整机......但对于单人公司来说,这个公司很贵......
< blockquote class =post_quotes>
对于大量可分发的工作,Amazon ECC可能会有所帮助。请参阅
http://www.amazon.com /gp/browse.html?node=201590011


>> java有什么方法可以提供帮助?



Dunno。我不太了解目标,不能给出实施建议。

我会弄清楚我的客户想要什么,他们愿意多少

为它买单,然后用什么样的架构来提供它,然后用什么

语言来写它。


suppose I wanted to make availble on the WWW a facility to do some rather
floating-point-calculation-intensive stuff.
I can do that in PHP, but then all work must be done on the hosters''
computer and PHP is SLOOOOOW.
Compiled stuff would be much faster, but no commercial hoster would allow
LAPACK stuff running on his machines.
In what way could java be of help ?
Are there hosters that allow my java stuff running on their machine and
serve just the calculation results back ? Or would I have them serve
applets and have the crunching AND presentation done on the client ?

Suggestions very welcome.

解决方案

Osiris wrote:

>suppose I wanted to make availble on the WWW a facility to do some rather
floating-point-calculation-intensive stuff.

Sure. I can think of any number of interesting types of
problems and physical simulations that would be done
with FP. Is there any particular ones you are interested
in?

>Are there hosters that allow my java stuff running on their machine and
serve just the calculation results back ?

I very much doubt it. Few servers are willing to take on
such responsibility and load just to deliver the content
back to another server.

>..Or would I have them serve
applets and have the crunching AND presentation done on the client ?

''Yes''. But I recommend a JWS launched app., rather
than applets specifically.
<http://www.physci.org/jws/#jtest>
JWS has more options, and better support from Sun.

--
Andrew Thompson
http://www.physci.org/

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.asp...neral/200711/1


Osiris <et**@hotmail.comwrote:

>suppose I wanted to make availble on the WWW a facility to do some rather
floating-point-calculation-intensive stuff.

Specific stuff, or "give us some work, we''ll do it!"?

>I can do that in PHP, but then all work must be done on the hosters''
computer and PHP is SLOOOOOW.

I''m not sure what your premise is. Aren''t you talking about doing work on the
hoster''s computer? If you''re talking about a way to let clients do work on
their own computers, they may already have such a way, without your service...

PHP probably doesn''t use whatever optimized FP methods you''re trying to show
off, but it could call into some helper code for that.

>Compiled stuff would be much faster, but no commercial hoster would allow
LAPACK stuff running on his machines.

Why not? There''s a lot of commercial hosters that will let you run almost
anything you want. They give you (their customer) a machine (possibly
virtual), and you can do whatever you want, including serving up processing
power to your customers.

For large amounts of distributable work, Amazon ECC may be helpful. See
http://www.amazon.com/gp/browse.html?node=201590011

>In what way could java be of help ?

Dunno. I don''t understand the goal well enough to give implementation advice.
I''d be figuring out exactly what my customers want, how much they''re willing
to pay for it, then what kind of architecture works to provide it, THEN what
language I''d want to write it in.
--
Mark Rafn da***@dagon.net <http://www.dagon.net/>


On Thu, 22 Nov 2007 10:26:20 -0800, Mark Rafn wrote:

Osiris <et**@hotmail.comwrote:

>>suppose I wanted to make availble on the WWW a facility to do some rather
floating-point-calculation-intensive stuff.


Specific stuff, or "give us some work, we''ll do it!"?

Yes, very specific stuff. Like calculating the strength of a construction,
using finite element method.

>>I can do that in PHP, but then all work must be done on the hosters''
computer and PHP is SLOOOOOW.


I''m not sure what your premise is. Aren''t you talking about doing work on the
hoster''s computer? If you''re talking about a way to let clients do work on
their own computers, they may already have such a way, without your service...

I can use server-side PHP to do the crunching, but.... PHP is slow.

PHP probably doesn''t use whatever optimized FP methods you''re trying to show
off, but it could call into some helper code for that.

>>Compiled stuff would be much faster, but no commercial hoster would allow
LAPACK stuff running on his machines.


Why not? There''s a lot of commercial hosters that will let you run almost
anything you want. They give you (their customer) a machine (possibly
virtual), and you can do whatever you want, including serving up processing
power to your customers.

ok, i could hire an entire machine... but that is expensive for a one-man
company...

For large amounts of distributable work, Amazon ECC may be helpful. See
http://www.amazon.com/gp/browse.html?node=201590011

>>In what way could java be of help ?


Dunno. I don''t understand the goal well enough to give implementation advice.
I''d be figuring out exactly what my customers want, how much they''re willing
to pay for it, then what kind of architecture works to provide it, THEN what
language I''d want to write it in.


这篇关于什么是一种方式去....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆