On May 29, 9:14 pm, "KJ" <n_o_s_p_a...@Mail.com> wrote:
> Hi Phil,
>
> I don't have specific testing results, and I have no trouble conceding to
> your assertion about Cache vs. database speed.
>
> I'm only trying to get across the general idea that a stored procedure
> executing in roughly 5-20 MS is sufficient for 100% of the ASP.NET
> applications I have or am likely to encounter. Sending HTML across the wire
> is not expected to happen instantaneously, as the speed of the network,
> number of hops, etc, is always a limiting factor.
>
> Is yours a real-time-dependent application where the consequences of waiting
> a few extra MS are potentially disastrous or extremely problematic? Unless
> it can be proven that a massive aspnet process is safe, reliable, and
> manageable at the O/S level, and doesn't introduce any resource-based
> performance concerns of its own.... (Maybe other folks with more knowledge
> about aspnet internals will chime in on this thread and provide specifics?)
>
> Now, for curiosity's sake, could you tell us why this particular application
> has to be so fast, or is that proprietary info (etc)?
Essentially, this is not a website, it's an application server. The
purpose of the application server is to receive a request for
processing, and then process the request as fast as possible. I can't
get deep into the details of what the system does, but a big part of
what it has to do is lookup many (!) thousands of values as fast as
possible. When I say as fast as possible I mean: if each lookup takes
2ms instead of 1ms, it would make a huge difference in how we measure
the success of the system.
So the added overhead of loading the huge set of data up front is not
a problem, as long as the goal of making the system respond as quickly
as possible is met. Looking up thousands of values in a database,
even if the database is very, very fast, is significantly slower than
looking up the values in memory (at least from my admittedly
unscientific tests).
Your question of whether this method would be safe, reliable and
manageable is exactly what I need to get to.
Thanks,
Phil