CS6320:  SW Engineering of Web Based Systems

 

Google App Engine --- why no threads?

Answer --- scalability

 

  • When we run a multithreaded program, we don't know what order threads run in, nor do we know when they will interrupt one another.
  • Multi-threaded programming requires data synchronization (usually)
    • Hardware support guarantees that operations on synchronization primitives only ever take one step
  • Synchronization is hard and takes time, blocks work. NOT SCALABLE

 

© Lynne Grewe