Top "Capacity" questions

Questions about resource capacity.

I/O Disk Drive Calculations

So I am studying for an up and coming exam, one of the questions involves calculating various disk drive properties. …

hardware file-transfer hard-drive capacity
Why is the maximum capacity of a Java HashMap 1<<30 and not 1<<31?

Why is the maximum capacity of a Java HashMap 1<<30 and not 1<<31, even though the max value …

java hashmap capacity
Does clearing a vector affect its capacity?

I instantiate an std::vector foo(1000). foo.size() is now 1000 and foo.capacity() is also 1000. If I clear the vector …

c++ vector size std capacity
Can SQL server 2008 handle 300 transactions a second?

In my current project, the DB is SQL 2005 and the load is around 35 transactions/second. The client is expecting more …

sql-server capacity
Is it possible to give a python dict an initial capacity (and is it useful)

I am filling a python dict with around 10,000,000 items. My understanding of dict (or hashtables) is that when too much …

python dictionary capacity
Best practice for rate limiting users of a REST API?

I am putting together a REST API and as I'm unsure how it will scale or what the demand for …

ruby-on-rails rest scaling capacity
Why are arrays in .NET so much faster than lists?

Consider the following code: using System; using System.Collections.Generic; using System.Diagnostics; namespace ListAllocationPerformance { class Program { const int count = 100000000; …

c# arrays performance list capacity
NSMutableArray initWithCapacity nuances

Does anyone have advice on how to best initialize an NSMutableArray when it comes to dictating the capacity? The documentation …

cocoa performance nsmutablearray capacity
How to gather disk usage on a storage system faster than just using "du"?

I operates a Synology NAS device and the unit includes that over 600 users data. The users backup data are tax …

linux storage capacity synology du