Building a Better Webserver
msolnik writes: "The guys over at Aces' Hardware have put up a new article going over the basics, and not-so-basics, of building a new server. This is a very informative, I think everyone should devote 5 minutes and a can of Dr Pepper to this article."
Considering Slashdot is one of the slowest sites on the Net, and crashes frequently, I think that the Slashdot owners should really read this.
I think the part about Java/Resin is the most crucial. Anybody can throw hardware at a problem, but their programming methodolgy makes tremendous sense (ie: dump this Apache/CGI garbage in favor of real multithreading). Also, they don't mention the database they use, but I'd be willing to bet good money that it's NOT MYSQL!
500 Servlet Exceptionp plication.java:2779)
s ionTag.java:47)
i debar_articles.jsp:17)
8 1)
i lterChainPage.java:166)
i on.java:277)
c heInvocation.java:129)
( QRequestDispatcher.java:338)
( QRequestDispatcher.java:247)
j ava:467)
8 1)
i lterChainPage.java:166)
( FilterChainFilter.java:87)
i on.java:277)
c heInvocation.java:129)
H ttpRequest.java:216)
o n(HttpRequest.java:158)
. java:140)
java.lang.NullPointerException
at com.caucho.server.http.Application.getAttribute(A
at AcesHardware.tags.DiscussionTag.doStartTag(Discus
at _site._sidebar_0articles__jsp._jspService(/site/s
at com.caucho.jsp.JavaPage.service(JavaPage.java:87)
at com.caucho.jsp.JavaPage.subservice(JavaPage.java:
at com.caucho.jsp.Page.service(Page.java:474)
at com.caucho.server.http.FilterChainPage.doFilter(F
at com.caucho.server.http.Invocation.service(Invocat
at com.caucho.server.http.CacheInvocation.service(Ca
at com.caucho.server.http.QRequestDispatcher.include
at com.caucho.server.http.QRequestDispatcher.include
at com.caucho.jsp.QPageContext.include(QPageContext.
at _read__jsp._jspService(_read__jsp.java:84)
at com.caucho.jsp.JavaPage.service(JavaPage.java:87)
at com.caucho.jsp.JavaPage.subservice(JavaPage.java:
at com.caucho.jsp.Page.service(Page.java:474)
at com.caucho.server.http.FilterChainPage.doFilter(F
at ToolKit.GZIPFilter.doFilter(GZIPFilter.java:22)
at com.caucho.server.http.FilterChainFilter.doFilter
at com.caucho.server.http.Invocation.service(Invocat
at com.caucho.server.http.CacheInvocation.service(Ca
at com.caucho.server.http.HttpRequest.handleRequest(
at com.caucho.server.http.HttpRequest.handleConnecti
at com.caucho.server.TcpConnection.run(TcpConnection
at java.lang.Thread.run(Thread.java:484)
It's been an hour now, and it's still down (root URL too). If I ever read this article, I'll be sure not to do whatever they recommend.
uhh, since when is a low-end box with IDE hard-disks supposed to represent protypical server design?
i just coughed-up my can of Dr Pepper...good thing i don't use expensive Sun hardware.
does anyone at slashdot even bother reading article submissions?