Firstly would be worth clarifying a few things:

Appengine doesnt run PHP - so the website you building can't be
AppEngine based.  (although can mostly do so via Quercus and Java. Its
not really ideal)

AppEngine is a platform for devoloping websites - its not really a
place to overload "heavy" processes. Its optimized for running lots of
small processes, rather than few heavy ones. So you get small amounts
of CPU per request. Its not some magic place where you get access to
really powerful servers. Instead you get access to *lots* of small
ones.


... so it wouldnt really be suitable to overload just the hashing
function to AppEngine (leaving the rest of the website whereever you
host it).


You possibly could use some other IAAS cloud provider - even Google
Compute Engine. Which do give you direct access to computing power -
ie basically raw servers (even if they virtual)


Probably it would be best to concentrate on optimizing your current
code, rather than offloading it. Are you using some 'proper' hashing
library to do your iterations? Just blindly calling md5 in a loopl
doesnt really help you. Eg there are libaries for doing bcrypt
hashing, which will perform better than doing intterations neively in
userland code.


On Tue, Nov 20, 2012 at 7:30 AM, Vikram Nayak <[email protected]> wrote:
> Hey people out there. I totally new to cloud and AppEngine
>
> I'm developing a website and the site requires a hashing function to store
> PWs. I've written some code in PHP.
> The obstacle I'm facing is, when I increase HASH iterations to somewhere
> around 50, my "NETBOOK" hangs, since I'm hosting the scripts locally.
>
> Is there a way to run this HASH php file on APPENGINE, i.e use the proc
> power ?
>
> Please help me out , THANKS :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/J3DSG8JoCsMJ.
> 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/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.

Reply via email to