I am currently running a small java class for scientific calculations on graphs (which internally creates lots of huge collections) from within Eclipse on MacOSX Snow Leopard. I have a Macbook with 2GB of RAM and to successfully run the app without OutOfMemory Error I need to run it from eclipse with -Xmx1200m (I know this is very much)....
What are the exact reasons that the creation of an appdomain is so expensive. They share the same heap, the same assemblies etc. What exactly needs to be done by the CLR that comsumes so much resources?
We have seen scenarios where accessing a type/instance from the other appdomain takes up 10 seconds (update: all required assemblies th...
Hi
I have a .NET desktop application, which is used by 5000 users who are distributed across Canada.
One of the functionality is to communicate with some modems using some parameters that we get from the database.
The unique thing about this functionality is:
1 - it should be extremely fast because it is communicating with modem tools...
Hello,
I would like to know if there is an equivalent of "New Relic RPM" or "JavaMelody" for ASP.NET MVC2 ? I can't find anything about monitoring on ASP.NET MVC2...
Any idea ? How do you monitor the performances of you ASP.NET MVC2 applications ?
http://www.newrelic.com/
http://code.google.com/p/javamelody/
Thank you
...
I'm trying to make a decision about how to display my data. What I have now is a list of products displayed in a repeater. But for code-maintenance I've put my product items in a seperate usercontrol and loading them in a loop with db results using LoadControl.
The product control itself is very simple, just a few public properties like...
If I need to see if a certain value is in a string, is it better for performance to use the .test() method or the .search() method?
Example with .search():
var myRegExp = '/Orange/',
myString = 'This is a string with the word "Orange."';
if(myString.search(myRegExp) != -1) {
// Do code here
}
Example with .test():
var myReg...
I'm working on a news centric website thats been around for years and is steadily accruing more and more page redirects. Currently we have around 375 redirects and are adding about 5-10 a month.
I know that NGinx is very, very fast at handling redirects, but presumably there must be some number of redirects that will affect performan...
I need to find all records created in a given year from a MySQL database. Is there any way that one of the following would be slower than the other?
WHERE create_date BETWEEN '2009-01-01 00:00:00' AND '2009-12-31 23:59:59'
or
WHERE YEAR(create_date) = '2009'
...
Hello everybody,
i'm trying to get an entire WebPage through a URLConnection.
What's the most efficient way to do this?
I'm doing this already:
URL url = new URL("http://www.google.com/");
URLConnection connection;
connection = url.openConnection();
InputStream in = connection.getInputStream();
BufferedReader bf = new Buffere...
Hello!
I use Delphi 2007 and have a pretty intensive program that I've been working on for a few years. Besides honing the logic, I've used RtlVclOptimize and the full version of FastMM4 (so I can set some of the IFDEFs to my liking). My questions are:
"Is FastMove usable in Delphi 2007?" (My analysis says it seems to be.)
"Is FastM...
Possible Duplicate:
When do you use the this keyword?
In OOP sometimes we can write this.PropertyName = VALUE and sometimes we can skip this. and just write PropertyName = VALUE.
So my question is, should we try always to use this.?
Does using / writing this have any effect on application performance or does it just make the ...
if i keep javascript at bottom or keep javascript in <head> inside document.ready, are both same thing?
I'm confused between these two methodology
this http://api.jquery.com/ready/ and this http://developer.yahoo.com/performance/rules.html#js_bottom
Is there any benefit to put js at bottom (just before </body>) even I'm keeping the co...
I was thinking about the way linq computes and it made me wonder:
If I write
var count = collection.Count(o => o.Category == 3);
Will that perform any differently than:
var count = collection.Where(o => o.Category == 3).Count();
After all, IEnumerable<T>.Where() will return IEnumerable<T> which doesn't implement Count property, so...
I'm trying to improve performance of captcha image rendering in web app running on Linux. Looking at what is currently used, I found that the bottleneck is in the usage of Java2D and specifically Graphics2D class.
The problem is not much with the speed of execution, but more with scalability. Basically it doesn't scale. Drawing of captc...
I want to use a single field to index the document's title and body, in an effort to improve performance.
The idea was to do something like this:
Field title = new Field("text", "alpha bravo charlie", Field.Store.NO, Field.Index.ANALYZED);
title.setBoost(3)
Field body = new Field("text", "delta echo foxtrot", Field.Store.NO, Field.Ind...
I need some piece of software that will fulfill the following functions:
1. Give a single endpoint to a client (abstracting it from several service endpoints)
2. Keep a queue of incoming requests
3. Balance load between several service endpoints on several machines
4. Control availability of these endpoints
5. Give client some readable e...
Now I know there is some related questions on this topic but this is somewhat unique.
I have two array structures :
array(
[0] => array(
'stat1' => 50,
'stat2' => 12,
'stat3' => 0,
'country_name' => 'United States'
),
[1] => array(
'stat1' => 40,
'stat2' => 38,
'st...
Cluster Performance
I have a client who has 2-web server which are clustered. Two questions...
What data makes up the statistics or information you would use to be able to monitor performance or load?
Once you have this data identified, how do you know it is time to add a third server?
...
I have a low latency system that receives UDP messages. Depending on the message, the system responds by sending out 0 to 5 messages. Figuring out each possible response takes 50 us (microseconds), so if we have to send 5 responses, it takes 250 us.
I'm considering splitting the system up so that each possible response is calculated...
I have a 64 bit server, 8 GB RAM, dual quad CPU. No resources are ever hitting 100% (except, I guess, the JVM -- right?).
I need to index several million records for Solr, but the machine is in production. I recognize having a second machine for indexing would be helpful.
Should I dedicate a second instance of the JVM, dedicated to Sol...