Koolaidrain

3byte

Jan 24th, 2018 (edited)
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. cpu-bound single-threaded app server on server with 16 logical cpu cores. -> fork() every req? fixed pool of server procs?
  2. when does read-write lock outperform simple mutex? -> write-heavy load, read-heavy load, ...
  3. how to increase write load on sql database? -> horizontal scaling, indices, ...
  4. why do programs with bad memory leaks slow down before they crash? -> swapping, fragmentation, ...
  5. for i: 0-9, settimeout(...), 1000: what does this do?
  6. how do long-polling and websockets compare?
  7. store the locations of 20k users with high read/write throughput, don't care about loss. -> redis/memcached over fs/db/py
Advertisement
Add Comment
Please, Sign In to add comment