Skip to content

Instantly share code, notes, and snippets.

@ilake
Last active December 16, 2015 04:19
Show Gist options
  • Select an option

  • Save ilake/5376798 to your computer and use it in GitHub Desktop.

Select an option

Save ilake/5376798 to your computer and use it in GitHub Desktop.
  • 3:46

    • each Rails process is actually single-threaded and handle one concurrent request, if use thread-safe we could really run multiple threads in a single Rails process
    • memory usages increases linearly with each process
  • 5:30 fork and copy-on-write

    • child process will still share most it memory with parent and only add another memory page for the value changed
  • 5:50 how perl work

  • 7:16 how ruby work, simple mark and sweep

  • 19:00 About thread, I could not follow, I don't understand WTF T_T

References

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