Is it ok to ignore poor performance for a resource that will be cached?
Let’s say I have a web service that is poorly written and inefficient, but it’s output is cached so there’s no bottleneck. Do you just leave it? Would you go as far as to take deliberate shortcuts knowing that performance problems will be masked?
Idea to develop a caching server between IIS and SQL Server
I work on a few high traffic websites that all share the same database and that are all heavily database driven. Our SQL server is max-ed out and, although we have already implemented many changes that have helped but the server is still working too hard.
Does low latency code sometimes have to be “ugly”?
(This is mainly aimed at those who have specific knowledge of low latency systems, to avoid people just answering with unsubstantiated opinions).
Multiple database accesses or one massive access?
What is a better approach when it comes to performance and optimal resource utilization: accessing a database multiple times through AJAX to only get the exact information needed when it is needed, or performing one access to retrieve an object that holds all information that might be needed, with a high probability that not all is actually needed?
Having error codes option in C++ library for performance
I have written an open source and cross-platform C++ File Library which have exception and error codes. Exceptions can be disabled when the program is running. In that case, the user have to check the error codes. Of course, when exception throwing is enabled, error code won’t be returned because exception is thrown before the called function returns.
Memory management for fast message passing between threads in C++
Suppose there are two threads, which communicate by asynchronously sending data messages to each other. Each thread has some kind of message queue.
Would it be better to have extra checks, or would it be a waste of time? [duplicate]
This question already has answers here: Check First vs Exception Handling? (9 answers) Closed 9 years ago. In your opinion, do you think it is a waste of time to make checks that you know there is no possible way of it being there/not being there, or would you just put it there just in […]
Versioned Resources to Improve Cacheability
Here’s an API concept which could be useful for performance optimisation. It’s an example of key-based cache expiry applied to a broader internet-wide context instead of the internal Memcached-style scenario it seems to be mostly used for.
Effective implementation of “array” of type Int X String -> String in .NET or in general
The question in general is: is there a more effective way of implementation of table with structure like Dictionary<int, Dictionary<string, string>>
?
Aggregate Root and Lots of Data Efficiency
It’s more of a scenario, but it isn’t far fetched at all. Let’s say I have an Aggregate Root (AR) Warehouse which it’s used to manage product stock. The Product itself is an AR in a different bounded context (BC) but in this BC is represented only by an id. In the Warehouse I can add a new product (must be unique), Ican remove it and i can update stock. Of course, I can communicate the stock for a product and maybe even keep the in/out flow for a product.