Hi,

Assuming you mean Java Threads, I guess you are talking about being
able to execute arbitrary (classes that implement) Runnable in a JVM
in the cloud ?

A Thread & Runnable has no inherent comms for returning the results of
the execution from the cloud back to the device, your framework would
need to provide this - there is a multitude of options.

As far as -

* You don't get hard time limits on requests like you do with App
Engine

- I think you must still handle the 'turing halting problem' issue
where some code might have gone into an infinite loop and must be
stopped eventually, eg:

int a = 0; int b = 0; while( a == b ) { a++; b = a; }

so you would still need hard limits to interrupt this sort of code,
eventually anyway - but when ?

I would also be interested in what java api's would be available to
the thread when it is running in the cloud - all of the Android sdk or
j2se or j2ee, or some whitelist as per App Engine ??? I think there is
some issues that would make it difficult for you to provide the full
android sdk in the cloud, eg ndk integration and performance in
general - if you were for example, running instances of the Android
emulator in the cloud and using these as your vm / jvm 'cloud based
thread engine'.

Perhaps you can create a demo app and publish the code and performance
details.

Regards


On Dec 27, 1:20 am, Sebastian <[email protected]> wrote:
> Hi
>
> > You need to convinced me why yours is better than role my own with
> > Google app engine or Amazon ec2 etc
>
> There are several benefits, other than the fact that you don't have to
> spend time developing all the glue code yourself:
> * It has the potential of gracefully falling back to executing the
> code locally if there is no internet connection.
> * You don't get hard time limits on requests like you do with App
> Engine
> * You can spawn as many threads on the remote machines as you wish.
> * It is cheaper than using a normal IaaS provider like EC2 since you
> only ever pay for the actual computations performed and don't need to
> pay for unused capacity in the cloud machines you rent.
>
> Thanks,
>
> Sebastian

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to