Share common app logic between app platforms. • Be fast and reliable. ◦ Offload work to be done in the background. • Don’t trust the user’s device. ◦ Secure your sensitive code.
can’t tolerate “cold start” times. ◦ Instead, maintain your own servers 24/7. • You have heavyweight work to do ( > 9 min, > 2GB mem/disk ) ◦ Delegate work to App Engine or Compute Engine • You need to keep a socket open or do streaming ◦ No easy alternative