3 ms·
Years ago, I was interviewing, and they asked me a fairly typical "Design Twitter" question. I always hate these kinds of questions because it took Twitter 10
by tombert 8y ago
Years ago, I was interviewing, and they asked me a fairly typical "Design Twitter" question.
I always hate these kinds of questions because it took Twitter 10 years to get to where it is, and I'm certain they didn't design all of it in 15 minutes on a whiteboard.
Anyway, I'm drawing little boxes and arrows, and when the subject of a DB comes up, I ask "do you want availability or consistency", because I figured that CAP theorem was part of the "gotchas" on this. The interviewer said "I want both", to which I replied, kind of sheepishly, that you cannot have both. We go back and forth, and eventually I pull up the CAP theorem wiki page on my phone and he had to concede the point.
This is rare; usually when I know more than the interviewer, they double down on their wrong ideas. I have several stories like that.
- dennisgorelik 8y agoDid that interviewer hire you after admitting that you were right in pointing out his mistake?
- tombert 8y agoThe company made me an offer, which I didn't accept, though for different reasons, mostly with me having skepticism on the sustainability of the company. Joke's on me, I think; looks like the company is doing better than before, the stock package they had might have made me about $400k.