Re: Best way to implement extremely heavy calculation?
- From: "William Buchanan" <william.buchanan@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 6 Apr 2006 20:28:53 +0100
I think that the Javascript idea is a good one (at least well worth looking
at). It would definately be the easiest to deploy.
The problem with all the other ideas is that you end up with loads of
security restrictions which stop them from working. This leaves you with the
problem of users needing to configure their browser properly. Also, with
Java, you need to have the correct version of the Java Virtual Machine
installed on the client. Off course they will also need to download the
ActiveX / Java applet.
Will
"Alex D." <alexware69@xxxxxxxxxxx> wrote in message
news:%23ouMqWaWGHA.4580@xxxxxxxxxxxxxxxxxxxxxxx
Well if you use Atlas I believe your calculations will still be runing in
server side since atlas is an AJAX implementation for .NET.
I think your optionas are activex, java applets, or exposing the source in
a javascript class. You also can use a combination of things you want to
hide from the user and things you can do in the client side things, so
your cpu ussage will be diveiden between client and server. does that
makes sense?
alex.
"roygon" <roygon@xxxxxxxxx> wrote in message
news:1144343145.026934.224980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for the response. Perhaps "obviously" was not the correct
wording given the description. The ten seconds of computing time is
essentially at 100% CPU usage and there will be many requests per
second. Additionally, server resources are a constraint. So, for the
sake of discussion, let's say that running this calculation on the
server is not an option.
I have briefly looked into smart clients but from what I have seen it
does not achieve what I am looking for. I already have a windows
client so for those people willing to download the application I
already have a good, working solution. What I wanted for this web
based implementation was broad access without a software download /
installation. Almost all of my .NET development has been on
traditional client applications so I'm not fully aware of all of my
options.
I think I have three options but I am not sure if this is correct and
if I fully understand the implications.
1) Build the app in Java - I believe that by doing this the user would
essentally download the app within the browser and execute the
appropriate code on their own PC without exposing the code itself.
There would be a bit of a learning curve though for me here since I
have minimal java experience and I don't believe I will be able to use
my C# components although I could be wrong here.
2) Use Atlas - no idea if this is an option but it seems like there
might be some facilities to run fairly complex code on the client side
through an Atlas application.
3) Build the processing code into ActiveX components that are hosted on
the page
Does anyone have feedback on what I think my options are and how
effective they might be and also, have I missed any obvious choices?
Thanks,
Roy
.
- Follow-Ups:
- Re: Best way to implement extremely heavy calculation?
- From: Alex D.
- Re: Best way to implement extremely heavy calculation?
- References:
- Best way to implement extremely heavy calculation?
- From: roygon
- Re: Best way to implement extremely heavy calculation?
- From: Kevin Frey
- Re: Best way to implement extremely heavy calculation?
- From: roygon
- Re: Best way to implement extremely heavy calculation?
- From: Alex D.
- Best way to implement extremely heavy calculation?
- Prev by Date: Re: Changing the background color
- Next by Date: Re: Incorrect syntax near 'int'
- Previous by thread: Re: Best way to implement extremely heavy calculation?
- Next by thread: Re: Best way to implement extremely heavy calculation?
- Index(es):
Relevant Pages
|
|