velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jian chen" <chenjian1...@gmail.com>
Subject Re: Switching from PHP to Java/Velocity, Performance?
Date Thu, 13 Apr 2006 01:49:25 GMT
Sorry about the beyond.com info. That is not a java site.

The following are some prominent sites that uses java:

www.become.com
(especially this article about their using java:
http://java.sun.com/developer/technicalArticles/WebServices/become/)

www.nextag.com

Cheers,

Jian

On 4/12/06, jian chen <chenjian1227@gmail.com> wrote:
>
> HI, Dominik,
>
> I have written a java based application for the real estate industry using
> Velocity, and people just love it.
>
> The nice thing about Java is that, it is a strongly typed language and
> compiled, so, many errors could be caught in the compilation phase. Plus, I
> like the java design much better.
>
> To be frank, PHP is just a hack, it is not a real programming language.
> Yahoo bought the PHP developer, but what I heard from the yahoo people
> themselves, is pretty much negative comments on using PHP.
>
> PHP is a dirty-quick solution, but to be really scalable, you need to use
> a true programming language.
>
> There are lot of sites that uses java, for example, www.indeed.com,
> www.beyond.com, just give you an example. Those sites are big, high volume
> sites. I heard Altavisa uses WebMacro, which is the predecessor of Velocity
> as well.
>
> I am always ambitous enough to build a google type of search site using
> java...
>
> Jian
> Lead Developer
> Seattle Lighting
>
>
> On 4/12/06, Dominik Bruhn <dominik@dbruhn.de> wrote:
> >
> > Hy Will,
> > thanks to your response. My question was not only concerning Velocity
> > but also
> > about Java in General in Comparison to PHP. I hope that there are some
> > Developers who have user Java and Velocity in realy huge sites.
> >
> > Thanks
> > Dominik
> >
> >
> >
> >
> > Am Thursday 13 April 2006 01:33 schrieb Will Glass-Husain:
> > > Hi Dominik,
> > >
> > > Wow, that's a busy site.
> > >
> > > The short answer is that writing a high performance application is
> > > mostly about architecture and only partially about language.  If you
> > > read the pages and pages of comments on that famous post, the
> > > intelligent comments mostly boil down to that response.  Caching is
> > > critical, (for both database queries and page generation), as is good
> > > database design.
> > >
> > > Velocity is unlikely to be a significant part of your bottleneck as
> > > performance with template caching turned on is quite fast.
> > >
> > > WILL
> > >
> > > On 4/12/06, Dominik Bruhn <dominik@dbruhn.de> wrote:
> > > > Hy,
> > > > I currently got a online-community running on a
> > > > PHP-Bulletin-Board-Software. I didn't write the software myself but
> > I
> > > > modified it over the time so the code grew and became quite
> > unreadable,
> > > > hard to understand and also slow.
> > > >
> > > > Some data for the site:
> > > > 300Users online at the same time
> > > > 30661 visitors per day
> > > > 10GB Traffic per day
> > > >
> > > > The site is currently running on two servers, one for the dynamic
> > > > PHP-Scripts and one for the Database (MySQL) and the static content.
> >
> > > >
> > > > I was thinking about a complete rewrite for a long time and now I
> > started
> > > > to plan it more detailed. As I have used Velocity and Java for
> > another
> > > > (but quite small) project this was what first came into my mind. I
> > also
> > > > hoped for some speed increases from a Java-Application due to the
> > fact
> > > > that is possible to cache the Data-Base Data and save Queries to the
> > DB.
> > > > I'm also thinking about the time when there might be more than one
> > server
> > > > needed for the site (due to increasing visitors).
> > > > My PHP and Java knowledeges are about equal, but I have never done
> > such a
> > > > big project in Java (neither in PHP) and so i'm searching for help.
> > > >
> > > > On my search through the internet I found a webpage where they told
> > that
> > > > friendster (really big site) switched from java to PHP due to
> > > > performance. This made me think about my decision.
> > > >
> > http://troutgirl.com/blog/index.php?/archives/22_Friendster_goes_PHP.html
> > > >
> > > > I fear programming the whole Website in Java and then recognizing
> > that
> > > > its much to slow for this purpose. Thats why I write to this
> > mailinglist.
> > > > Are there any people who made a similar step from php to java and
> > can
> > > > tell about performance gains or looses.
> > > >
> > > > Can anybody else tell me where there are differences and how the
> > > > influence the performance.
> > > >
> > > > Thanks
> > > > TO
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > velocity-user-help@jakarta.apache.org
> > >
> > > --
> > > Forio Business Simulations
> > >
> > > Will Glass-Husain
> > > wglass@forio.com
> > > www.forio.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message