Skip to content

Instantly share code, notes, and snippets.

@AndrewGaspar
Created October 3, 2013 03:27
Show Gist options
  • Save AndrewGaspar/6804422 to your computer and use it in GitHub Desktop.
Save AndrewGaspar/6804422 to your computer and use it in GitHub Desktop.

Asynchronous Javascript Notes

Unique problems for Javascript:

  • JavaScript is single threaded
  • Most I/O is performed asynchronously in JavaScript (by design)
  • On client side
    • App is driven by user input
    • Most CPU work presumably done by DOM
  • On server side
    • App is driven by HTTP requests
    • Most of your app is CRUD anyway

#Why is this a big deal? I/O is EXPENSIVE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment