-Поиск по дневнику

Поиск сообщений в rss_thedaily_wtf

 -Подписка по e-mail

 

 -Постоянные читатели

 -Статистика

Статистика LiveInternet.ru: показано количество хитов и посетителей
Создан: 06.04.2008
Записей:
Комментариев:
Написано: 0


The Upgrade

Вторник, 31 Марта 2015 г. 14:00 + в цитатник

James stood on the precipice of a significant upgrade to his companys reporting capabilities. Purchasing had cut a deal with the vendor "UberWarehouse to upgrade their warehouse inventory tracking system from a basic .NET application with limited functionality to a full-blown data warehousing system. He jokingly called it the Warehousing the Warehouse Project. He was the only one who found it funny.

"UberWarehouse wasnt about to give that upgrade away for free, though. They sent James an invoice that could have easily filled his Yoda piggy bank with all the change from the nickel-and-diming contained within. The total of the invoice was significantly over the budget of the project, and that was a problem. Of particular interest was something "UberWarehouse called Memory Database. The line item listed it as a required component, and it came with a price tag of $5,500USD.

James wanted answers from ^UberWarehouse in person, with hopes that he could negotiate the price down to something more palatable. They agreed to send Spencer, their head architect and chief excitement-generator to give James a demo that would knock his socks off.

Hey there, James! Glad to be here! Spencer said. He shook James hand with the kind of enthusiasm that lead to muscle strains. So, you are interested in upgrading your "UberWarehouse solution.

Thats right, James said. Were intrigued by your new web component; allowing 20 simultaneous users to run reports against our inventory data is a big win. The thing Im not so sure about is the price. Our current solution works well enough, and its a fraction of the cost. This upgrade easily exceeds our budget. Our total budget is only $6,000, and your memory database alone costs $5,500! Could you explain that to me?

Oh, sure! Spencer brushed past Jamess uncertainty and whipped out a glossy folder stuffed with marketing materials. I get this question all the time. My answer is: you get what you pay for, dont you James? You care about your company, dont you? Once you implement our upgraded solution, youll forget all about the price. Its that good!

Uh huh… James pushed the folder back. Could you tell me what this memory database thing actually is? Do we really need it?

Do you need it? Do you need it? Spencer chuckled. James, my friend, thats the most important part! Would you rather have a report take 10 minutes to run, or one minute?! Our brilliant Memory Database design gets you the data you want 10 times faster than it does without!

That sounds good, I guess… James mentally noted that waiting even one minute for a report was long. How does it actually work, though? Why is there such a big time difference?

Spencer frowned condescendingly, nodded, and smiled in one smooth movement. Lets just say in a couple of years from now, you have a lot of inventory updates. You want a lot of inventory updates, am I right? Good for business! So lets say you have a BAJILLION records. That would be difficult to search, right? So what we do, and this is clever, we copy that important data to its own table, then we add this thing called an index, which gives everything a unique identifier, and voil`a! Memory Database!

James held a blank stare for a long moment before snapping out of the marketing-induced haze and back to the discussion. Interesting… but if we have up to 20 users accessing this database at a time, arent we going to be stepping on each others data toes?

Of course not! Spencer scoffed. That comes down to communication, and everyone loves effective communication, right? If you want to run a long report, just let all the other users know youre taking control of the Memory Database and there wont be any issues! We even have a button in the user-interface to let people know.

Ok… so you said you have a demo loaded with our data, right? Let me try for myself. James connected and fired up a report with a broad date range that would return roughly 750,000 rows. He sat with Spencer, in absolute silence. 5 minutes and 57 seconds later, he had his report.

Now, this is just a demo computer! Spencer reassured him. Surely your beefy hardware will make it lightning fast!

While Spencer got defensive, James logged into the back-end database. Or, we could just do this, he said. He quickly added a secondary index to the vaunted Memory Database, then ran the same report a second time. It returned in 3 seconds flat.

Wow! Spencer shouted in amazement. You should come work for us!

Sure, James said. Ill start working for you right after we finish deploying this upgrade to our environment.

Well, I cant actually hire you… but when do you think youd be finished deploying the upgrade? James could see visions of commission dancing in his eyes.

Never. Were not buying this. Thank you for your time, Spencer.

[Advertisement] BuildMaster is more than just an automation tool: it brings together the people, process, and practices that allow teams to deliver software rapidly, reliably, and responsibly. And it's incredibly easy to get started; download now and use the built-in tutorials and wizards to get your builds and/or deploys automated!

http://thedailywtf.com/articles/the-upgrade

Метки:  

 

Добавить комментарий:
Текст комментария: смайлики

Проверка орфографии: (найти ошибки)

Прикрепить картинку:

 Переводить URL в ссылку
 Подписаться на комментарии
 Подписать картинку