IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: Are specialized application servers a good idea?
The main article wasn't particularly insightful. Obviously, remote calls are expensive. Wow, that's news.

The use of separate physical layers has its place (he even mentions one). Use it where it makes sense, and don't use it where it doesn't. Of course, that tends to be easier said than done, as everyone has their own opinion of when and where.

Unfortunately, whether something is "good" or "bad" in IT seems to resolve too much around "performance," whether that's via scalability (which is certainly important), throughput, latency, etc. Those are aspects of a system, but are not (necessarily) the most important (that's where the requirements come in).

Some of the places where I think physical layers work (and not necessarily because of scalability, performance, or whatever):

--Like he mentioned, the movement of static content into the web server is a definite performance gain (this is mostly because of the way the app servers are written and the use of memory, etc.). Unfortunately, in the J2EE world, this is a lost cause (to a certain extent), as the static content is usually bundled up with the web application, itself (it would be cool to see an app server/web server combo that was able to dynamically pull the static content out and stuff it onto the web server, but I digress).
--Failover ('nuf said).
--Organization (whether via politics, multiple clients types, etc.)
--Budget issues (better cost utilization of hardware, via putting low processing stuff on cheaper boxes)
--Security (firewalls, etc.)
--Special circumstances (based upon special requirements, etc.)

There are probably other reasons I couldn't think of off the top of my head, but that should prove sufficient.

Dan
New It wasn't meant to be insightful
It was an answer to a question that turned into a conversation which I found interesting.

The main point made that I found interesting is that multiple physical layers are generally not a good idea for performance reasons in a web environment. A batch processing environment is a different kettle of fish. Your point about it being desirable to separate out different political groups is also good. But scalability is not a good way to go about it.

Another interesting post in the same discussion is [link|http://www.perlmonks.org/index.pl?node_id=301187|http://www.perlmonks...pl?node_id=301187].

Cheers,
Ben

PS A note on your idea about moving static content into the webserver. This is fairly easy to do if Apache is your app server. See [link|http://perl.apache.org/docs/1.0/guide/strategy.html|http://perl.apache.o...ide/strategy.html] for some mod_perl configurations where you have separated the two. I have seen it done well with a make that generated the configuration files for multiple webservers from one static file (the idea being to make what is done dynamically with mod_perl in one match what is done statically in the next non-mod_perl enabled server). I see no reason why these strategies should be Perl-specific...
"good ideas and bad code build communities, the other three combinations do not"
- [link|http://archives.real-time.com/pipermail/cocoon-devel/2000-October/003023.html|Stefano Mazzocchi]
     Are specialized application servers a good idea? - (ben_tilly) - (18)
         Only comment would be on a comment - (FuManChu) - (1)
             Down that path lies madness - (ben_tilly)
         Re: Are specialized application servers a good idea? - (dshellman) - (1)
             It wasn't meant to be insightful - (ben_tilly)
         I think they are used incorrectly - (tuberculosis) - (2)
             Agree on most points.... - (gdaustin) - (1)
                 RE: OO Web Tool - (tuberculosis)
         Re: Are specialized application servers a good idea? - (slugbug) - (9)
             Speaking of EJBs... (new thread) - (admin)
             That makes sense - (ben_tilly) - (7)
                 Database was... - (kmself) - (6)
                     Um, you have his name way wrong - (ben_tilly) - (5)
                         Wups, fixed. DB... - (kmself)
                         i.e, Jordan, not Tolkien. But, hey, it's easy... - (CRConrad) - (3)
                             True, but Perrin is his real name -NT - (ben_tilly) - (2)
                                 Really? Kewl! First or last? - (CRConrad) - (1)
                                     First -NT - (ben_tilly)
         from a support point of view - (boxley)

Real classics should flash or jiggle or fade to black.
40 ms