Is it possible to run parallel applications (High Performance Computing) on google app engine?
Has anyone used Google App Engine with a HPC application? is it possible to do p开发者_如何学运维arallelism? You can do parallelism (at least in theory) using java + threads, but how many threads can you get? how efficient is it?
When using Google App Engine, your program doesn't run in a complete JRE, but in a sandbox, which does not enable you to create new threads. Therefore, you can't just use java + threads.
But you can run some concurrent Backends, which are some instances "designed for applications that need faster performance, large amounts of addressable memory, and continuous or long-running background processes". These backends can be configured and are billable.
App Engine is designed primarily with serving scalable web applications in mind. While you could do HPC on it, it's not its design goal, so your experience is likely to be less than satisfactory.
精彩评论