Hook

Their other posts in the index, biggest breakout first.
Can you pass a software engineering interview question? You guys like the last one, let's get to it. This is a question I've actually been asked, so let's see if you can pass it. So you have an application that stores the prices for a given stock. You're only working on a specific part of the application which gives you the last 10 prices for a given ticker symbol. A ticker symbol is like a symbol that represents a company. There's about 5,000 publicly traded companies and you're serving about a million customers. You're only working on the feature that gives you the last 10 prices. So what's the question? One, what data structure do you use to store the last 10 prices? As prices come in, how do you store the last 10? That should have been easy, but let's move on to the harder one. Let's say you have a random server stored somewhere that gives out the prices of a ticker symbol in real time. The question is what type of connection do you use to get real-time data from this server? Now the last question, now that you have all these connections to these arbitrary servers, what underlying platform or technology do you use to process real-time price data? Okay, the questions got harder as we went on, but I think it's fairly easy to answer these questions. I'm only looking for one word for each question, so three words in total.