capacity-planning

Installing PDQ on windows

…衆ロ難τιáo~ 提交于 2020-01-16 03:44:07
问题 I am trying to install "pretty damn quick", an analysis tool for Layered Queing networks. However there seems to be a lot wrong with my system, and switching to Linux is not an option. Here is what i tried to get the PDQ running: First try: Python I installed python2.7 and downloaded the PDQ for python distribution (its in the tarball in the python dir) : C:\pdq\pdq42\python>python setup.py install running install running build running build_ext building 'pdq' extension error: Unable to find

How do I estimate SQL Server index sizes

天大地大妈咪最大 提交于 2020-01-01 12:30:16
问题 While estimating straight row and table sizes are fairly simple math, we find it challenging to guess just how much space each index will occupy (for a given table size). What areas can we learn to calculate a better estimate and growth rate for indexes? 回答1: An index leaf has a preamble identifying the data page (7 bytes plus some directory information for variable length columns, if any) plus a copy of the key value (s) which will be the same size as the table data for those columns. There

Calculating truck cargo capacity in a game

旧时模样 提交于 2019-12-12 04:25:01
问题 This is more of a math/algorithm question than a programming question, but I hope you guys can help anyway. Scenario #1: Player 1 has 40 crates in his inventory. Player 1 has 2 trucks , 1x small (capacity: 8 crates) 1x medium (capacity: 16 crates) Given capacity : A small truck can hold 8 crates A medium truck can hold 16 crates A large truck can hold 30 crates How many trucks does player 1 need to be able to take all 40 crates? Scenario #2, what happens if there is cargo already in trucks?

How do I estimate SQL Server index sizes

孤街醉人 提交于 2019-12-04 10:21:05
While estimating straight row and table sizes are fairly simple math, we find it challenging to guess just how much space each index will occupy (for a given table size). What areas can we learn to calculate a better estimate and growth rate for indexes? An index leaf has a preamble identifying the data page (7 bytes plus some directory information for variable length columns, if any) plus a copy of the key value (s) which will be the same size as the table data for those columns. There's one for each row in the table. The higher up levels of the index are much smaller, usually less than 1% of

How do I enable FFMPEG logging and where can I find the FFMPEG log file?

女生的网名这么多〃 提交于 2019-12-03 07:34:41
问题 I want to be able to log FFMPEG processes because I am trying to work out how long a minute of video takes to convert to help with capacity planning of my video encoding server. How do I enable logging and where is the log file saved. I have FFMPEG installed on a CentOS LAMP machine. 回答1: FFmpeg does not write to a specific log file, but rather sends its output to standard error. To capture that, you need to either capture and parse it as it is generated redirect standard error to a file and

How do you do website capacity planning? [closed]

五迷三道 提交于 2019-12-03 04:48:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I just read the book The Art of Capacity planning (BTW, I liked it), and in it the author explains how important is measuring your services, finding out your ceilings, forecasting your needs, ensure a easygoing deployment, etc.. etc.. But through the book he explains his experience in Flickr, where he has to

Caveats of select/poll vs. epoll reactors in Twisted

时光总嘲笑我的痴心妄想 提交于 2019-11-28 14:57:54
Everything I've read and experienced ( Tornado based apps ) leads me to believe that ePoll is a natural replacement for Select and Poll based networking, especially with Twisted. Which makes me paranoid, its pretty rare for a better technique or methodology not to come with a price. Reading a couple dozen comparisons between epoll and alternatives shows that epoll is clearly the champion for speed and scalability, specifically that it scales in a linear fashion which is fantastic. That said, what about processor and memory utilization, is epoll still the champ? For very small numbers of

Caveats of select/poll vs. epoll reactors in Twisted

吃可爱长大的小学妹 提交于 2019-11-27 08:56:33
问题 Everything I've read and experienced ( Tornado based apps ) leads me to believe that ePoll is a natural replacement for Select and Poll based networking, especially with Twisted. Which makes me paranoid, its pretty rare for a better technique or methodology not to come with a price. Reading a couple dozen comparisons between epoll and alternatives shows that epoll is clearly the champion for speed and scalability, specifically that it scales in a linear fashion which is fantastic. That said,