My project development issues ?
hello friend's
I have developed a technical forum just like our java programming forum using java.But after hosting i found it slower.I work a lot on make my project loads faster.I tried to minimize the connection strings.But still it loads slower than the other websites.
.
Can anyone tell me how can i optimize the code ?
Is there any tools available for optimizing the codes ?
It seems like java loads slower than php is it so ?
Re: My project development issues ?
Hi,
I think the speed depends on a number of reasons such as server configuration (memory, network, ...), design flaws in code... In general, Java is always slower than PHP, the different is not too much however.
There isn't any tool for optimizing the code with one click, but there are tools that helps you see your flaws and decide what needs to be optimized. Take a look at Sonar tool.
Spring 3
Re: My project development issues ?
how can you say that php is more faster than java.Even java is a compiled and interpreted language while in case of php byte code creation and interpretation take place at one time.Please give some technical reason why PHP is more faster than java.
.
Is there any open source web application(developed on MVC framework) available where i can see the real time applicable code ?
Re: My project development issues ?
Quote:
Originally Posted by cafeteria84
In general, Java is always slower than PHP
Really? Have any evidence to back this up?
---
Optimizing code is context dependent - we have no context and so cannot provide specific advice. You say it is slower - compared to what? Are you accessing a database? If so, is this the bottleneck - is the database indexed properly?
Re: My project development issues ?
Quote:
Originally Posted by
copeg
Really? Have any evidence to back this up?
---
Optimizing code is context dependent - we have no context and so cannot provide specific advice. You say it is slower - compared to what? Are you accessing a database? If so, is this the bottleneck - is the database indexed properly?
Well, it's obviously so I don't want to debate on this. Could you show evidence that I am wrong?
Spring 3
Re: My project development issues ?
Quote:
Originally Posted by
cafeteria84
Well, it's obviously so I don't want to debate on this. Could you show evidence that I am wrong?
You're kidding right? The burden of proof does not reside on my shoulders - you made the claim, you provide the evidence. I am not making making an argument one way or another, rather I do not like to see speculative rumors thrown about without solid ground to back up the claim - especially if the argument trying to back the claim is something along the lines of 'prove me wrong'