Questions related to improving application performance, this can be range from selection software architecture to selection of algorithms.
2
votes
1answer
100 views
caching on multiple servers
Because we need to keep response times low, we get tons of requests, and we need to basically process ALMOST the same data (which I'll refer to as X) each request (the inputs are different though, so ...
1
vote
0answers
89 views
Is there a better way to consume an ASP.NET Web API call in an MVC controller?
In a new project I am creating for my work I am creating a fairly large ASP.NET Web API. The api will be in a separate visual studio solution that also contains all of my business logic and database ...
4
votes
2answers
191 views
Performance considerations when using Go for my project
I'm looking at using Go (aka golang) for a project (a SQL database, but that mostly doesn't matter here) where performance is critical, but under low load the primary bottleneck will be I/O to disk. ...
0
votes
1answer
84 views
How to find local maxima in matrices?
I need to develop an algorithm for finding all the local maxima in a two-dimensional array: how to search for local maxima in the the most efficient way? Are there algorithms about it?
Moreover, the ...
-1
votes
1answer
72 views
Banking Applications need Auto save? [closed]
We are developing a banking application. It's internal project of the bank. The application has to capture huge data to process.
So auto save is recommended approach to capture? How to perform ...
-5
votes
0answers
28 views
app slowing down execution when using register class [closed]
register gives access more fast then ram.
all the variables are allocated and stored in stack except register variable.
is really improves the application performance if it's so.how do we do that
1
vote
1answer
188 views
Performance overhead of standard containers and boost [closed]
Adap.TV has chosen C++ to develop their software. However, they've decided not to use the standard containers1 and boost for performance reasons, as they've blogged about it in the following article:
...
1
vote
2answers
130 views
Anonymous function performance - setTimeout
According to Gregory Baker & Erik Arvidsson (Google), creating a named function and then passing that to setTimeout is actually faster than creating an anonymous function (reference: Optimizing ...
0
votes
0answers
9 views
Primes Tester for speed performance [migrated]
I was given a homework assignment in Java to create classes that find Prime number and etc (you will see in code better).
My code:
class Primes {
public static boolean IsPrime(long num) {
...
4
votes
2answers
211 views
Performance and other issues with using floating point types in C++
Being interested in C++ performance programming there is one aspect I really have no clue about- and that is the implications of using floating point calculations vs doubles vs normal integer ...
4
votes
3answers
206 views
How Immutable Sets are Manipulated
When working with an immutable set or map, like the ones found in many functional programming languages, operations that would otherwise modify the container generate a new container instead.
I know ...
0
votes
4answers
356 views
Read K&R before learning low latency C++?
I have never really done a large amount of C programming but am in the middle of teaching myself low latency C++. Would it do more harm than good to read the K&R C programming book? I am a bit ...
2
votes
1answer
129 views
Is there's a way to speed up my php code which parse XML files
I'm developing a web application and we are using XML as a database and I'm using Linux as a platform and centos 6.5 as a server. Changing some value would make a lot a lot of changes in about six XML ...
2
votes
1answer
181 views
How much usage of “likely” and “unlikely” macros is too much?
The often known as likely and unlikely macros help the compiler know whether an if is usually going to be entered or skipped. Using it results in some (rather minor) performance improvements.
I ...
1
vote
2answers
206 views
C++ Typecasting VS performance
Let's say we're designing a video game. We have some sprites on the map and we want to call some method of the particular sprite at some particular position.
We are using one broadly-known C++ ...