- Think about if a system needs to be read-heavy or write-heavy. Something like twitter is much heavier on read operations.
- An index is placed on a specific column in a table so that you can perform lookups on that column more quickly. It’s not the primary key, although you can think of the PK as an index if you know the ID, because that’s the search val. More generally, it allows an indexed column to be sorted efficiently on the backend, so that lookup is binary search (logn) instead of n. The downside: this extra data takes space.
- Think of it like a dictionary (an actual physical book with word). Indexing it would mean adding pages for each letter in the appropriate place, with little tabs that jut out. You can find your section much faster, but they take a little space.
- PUT will update the data in that spot or create it if it isn’t there. It’s idempotent. POST just passes data to the service. The service can do whatever it wants with it. It’s not idempotent. It’s more generic.
- Citadel interview got a callback for onsites. Call tomorrow for scheduling.
- YAML is a superset of JSON. Can do more, but is bigger. Looks better, too.
- Testing pyramid: unit -> integrated -> e2e.
- Netflix phone interview.
- Great convo. Took a one-pager of notes. Just phone, no coding. 1hr.
- Discussed the INTERNET SHIELD, market viability in the future of streaming, attrition, culture.
- Her team directly aligns with my automation tools / devops / autotest / sx-setuptools experience.
- Next steps: take-home assignment, build an app. I said I’d submit by Saturday.
- DHCP for dynamic IP allocation.
- Perf is a main linux profiler.
- “Computers perform tasks. Machines should be solving problems.”
- Practice problems:
- Remember runbooks for ops/support. All stacks/apps should have a list of common tasks or inquiries, each with an explicit set of steps to respond with.
- Slight tweaks to my resume. I still like my abridged resume more, although nobody else does. It’s just so concise: 20 bullet points to summarize my life so far.
- TSLA is absolutely skyrocketing. Hit ~500 today. Its market cap is now 85b, which the highest for any american car company in history. I bought 2 shares on margin just to have fun with it. The emotional roller coaster is worth it, regardless of final profit/loss (since I jumped in ON a surge woohoooooo).
- Remember margin trading on RH is interest-free up to 1k, then 5% after that.
- Watched a lot of this guy’s channel on system design: https://www.youtube.com/channel/UCRPMAqdtSgd0Ipeef7iFsKw. I like em.
- Athletes say a lot of dumb stuff on social media. It seems easiest to critique them for poor decisionmaking/tact, but in reality it’s probably closer to: giving a huge stage to people on a career path where stage presence is not a required skill.
- Jeop GOAT day twoooo.
- Google phone interview.
- Was 45m. The guy was cold, didn’t really reply to anything or change tone. Accent was tough over the phone.
- Didn’t introduce himself or the team, jumped straight into a coding question on the google doc.
- We did a 2 subsequence comparison question. I solved it, but still had a bad taste in my mouth.
- We didn’t discuss previous experience, scaling services, managing projects, writing apps.
- Big turnoff for Google, when my interactions with all other folks from Amazon/Netflix/BMW/Citadel/GitLab/Disney have been very positive.