Update: Thursday September 09, 12:00PM H(m) should really be H(m) = 30*2m because of the way I phrased the question. Also, if you used the number of seconds in a day, instead of the number of seconds in a month, you will not lose any points. Again, my question was ambiguous on this point.
Now, since the size of the file
doubles each month, and it started at 250, this means that N
will grow as a function of m. Specifically
N(m) =
2m/6 * 250.
We can substitute this value into our
equation for T(N) in order to get the time to execute a query as
a function of the month:
T(m) = .0004(250*2m/6) =
.1 * 2m/6.
We now have the number of hits and the
time per hit as a function of the month. We now notice that the
system will crash when the computer spends all the time doing
searches. That is when
H(m)*T(m) = Number of seconds in a
month = 2592000 (assume 30 days in a month)
which resolves
to
2m* .1 * 2m/6 = 2592000
m=
21.1.
So, our webserver will crash after 21.1 months.