Koolaidrain

Interview Stuff

Sep 6th, 2017 (edited)
584
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. https://docs.google.com/document/d/1hxnrh7nm24IqtFXsSQqwv4Arx4cxlD9t29cfpKQRRx8/edit
  2. https://www.youtube.com/watch?v=55aEVvITNJ0&feature=em-u
  3. https://www.youtube.com/watch?v=tndzLznxq40 designing tinder
  4.  
  5. Interview stuff: https://jvns.ca/blog/2013/12/30/questions-im-asking-in-interviews/
  6.  
  7. https://www.quora.com/How-do-I-prepare-for-Google-and-Microsoft-interviews-from-a-no-name-college
  8.  
  9. See Meep stoof
  10.  
  11. "How might we want to design email server infra?"
  12. -> high availability server for more recent emails, else on commodity H/W
  13.  
  14. FB PE Sys Screen:
  15. - explain fork/exec, virtual mem, copy on write, threads, process states
  16. - load average is high, but cpu utilization is low. -> uninterruptible disk I/O must be high.
  17. - find processes doing most disk I/O with iostat. strace it to see hanging instruction: fstat(34)
  18. - lsof file descriptor 34 to find where it is, go there, ls hangs. that's odd, inodes are just metadata.
  19. - then metadata is inaccessible. where is the file? it's in /mnt. is it an nfs mount? yes.
  20. - ok, is this machine provisioned with some tool? yes - chef. ok, check chef configs to find machine of nfs mount.
  21. - it's a raid array. cat /proc/mdstat for issues - a drive is failed. misconfigured! fix it with mdadm.
Add Comment
Please, Sign In to add comment