473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

web guru advise needed.

Looking at all the materials available, books, technologies etc etc..
I try to make a decision on what technology to select for a web server design, but I need help.

I know, this question has been asked many many times sorry about that, but please help me.
My desk is full with printouts and books, I'm getting a stack overflow.

Currently the existing design is using JSP's.
Now, most of the business logic of behind this application is database and image processing driven. This part of the code is in a design phase, not coding. Looking at the design, python would be very powerful. I'm afraid that java will kill the performance + development time here.
But how to make the link between my JSP and python business logic. Jython is still at the python 2.1 level.
Looking at the libraries, the use of Python 2.3 seems for me more a must.

The web server requirements I'm looking at are:

1) simple presentation layer processing. The HTML pages produced by server will be more focused on presenting images (dynamic), rather that fancy tables, frames, buttons.
2) the framework has to be robust and FAST on performance.
3) runs only on Linux, well not really a requirement, more a statement.
4) runs on Apache (and/or Tomcat)

What technology gives me the best performance?
I'm so afraid that adapters like WebKit kills my performance but because of my jsp experience, psp seems the best option.

Vincent

Jul 18 '05 #1
5 1425
Raaijmakers, Vincent (IndSys, GE Interlogix) wrote:

1) simple presentation layer processing. The HTML pages produced by server
will be more focused on presenting images (dynamic), rather that fancy
tables, frames, buttons. 2) the framework has to be robust and FAST on
performance. 3) runs only on Linux, well not really a requirement, more a
statement. 4) runs on Apache (and/or Tomcat)

What technology gives me the best performance?
I'm so afraid that adapters like WebKit kills my performance but because
of my jsp experience, psp seems the best option.

Vincent


FWIW, I recently complete a CMS project with the following constellation:

1) Apache with mod_python
2) PostgreSQL for content storage, mostly in the form of blob'd Pickles
3) Templating using SimpleTAL (elegant and leightweight, but requires some
downright heinous URLs)
4) Everything running behind Squid in accelerator mode

It's pretty dang snappy on performance, but you'd need a dedicated
server/processor for dynamic images, I would think.

cya,
Eric

--
---
s- should be removed to contact me...
Jul 18 '05 #2
In article <ma************************************@python.org >,
Raaijmakers, Vincent (IndSys, GE Interlogix) <Vi*****************@ge.com> wrote:
Jul 18 '05 #3
Raaijmakers, Vincent (IndSys, GE Interlogix) wrote:
...
that java will kill the performance + development time here. But how to
make the link between my JSP and python business logic. Jython is still at
the python 2.1 level. Looking at the libraries, the use of Python 2.3
seems for me more a must.
Python and Java may be able to intercommunicate, as an altenrative to
Jython, with JPE, http://sourceforge.net/projects/jpe -- I don't know
much about it, but perhaps it fits your needs.
What technology gives me the best performance?
Probably Twisted, but it doesn't meet your requirements (it's a
separate stand-alone webserver, not running on top of Apache).
I'm so afraid that adapters like WebKit kills my performance but because
Why are you afraid of that? Have you run some benchmarks? In my
(admittedly limited) experience, Webkit's performance has been quite good.

If you need or want to run closer to the bare metal, you can try mod_python,
but you may end up coding more "adapters" and infrastructure yourself. I
surely wouldn't want to make a performance-critical choice without some kind
of benchmarking among plausible alternatives to support me!!!
of my jsp experience, psp seems the best option.


I've often found that templating (e.g., Cheetah, CherryPy, and so on
and so forth) can be more satisfactory in many situations, because it
allows graphical designers who aren't programmers to prepare and change
the "looks" of things, while programmers are allowed to do what they
do best (that it, _program_, rather than improvising themselves as the
graphics artists that, in most cases, they aren't...:-).
Alex

Jul 18 '05 #4
On Mon, Nov 10, 2003 at 08:20:42PM +0000, Alex Martelli quipped:
What technology gives me the best performance?


Probably Twisted, but it doesn't meet your requirements (it's a
separate stand-alone webserver, not running on top of Apache).


If you want to use Apache, consider using the mod_proxy module, which
effectively lets you serve Twisted through Apache. It gives you the
best of both worlds, and is generally a wonderful strategy for
integrating all kinds of web and application servers.

Jul 18 '05 #5
I'm not a guru, I just play one on TV

I've been using Zope for one of my client's projects for quite a while. It's
Apache on the front end, Zope and Interbase (soon SAPDB) on the backside.

Originally I used DTML for templating, then moved to Page Templates, and now
I'm moving to xml and xslt. I use libxml2 and libxslt in Zope to generate
the HTML on the server, but if the client supports xml/xslt then I just ship
the xml to it.

This seems to give me the best performance. However the .xslt files can be
tough to work with. Basically, Zope is now just glue and access control.
It's much simpler now and I like it!
--
Novell DeveloperNet Sysop #5


Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Mike Cox | last post by:
After writing an article trashing java, and C++, notable LISP guru Paul Graham is getting roasted on slashdot. Apart from AutoCAD and Emacs, what has LISP done anyway? Most real work is done in...
36
by: Dmitriy Iassenev | last post by:
hi, I found an interesting thing in operator behaviour in C++ : int i=1; printf("%d",i++ + i++); I think the value of the expression "i++ + i++" _must_ be 3, but all the compilers I tested...
4
by: Accolo1 | last post by:
Help we are looking for this person, do you know them? William wjohnson@accolo.com Title: BEA WebLogic Portal Guru Job #: 03-04468 Check the pulse of your career! Evolve our eCommerce web...
3
by: Michael Crawford | last post by:
Hi, Where would one start for this type of application: I want to create an vb.net container application that has the gives the end user the ability to install and uninstall plugins or add-in...
3
by: Michael Suess | last post by:
Hi, please feel free to correct me if this is the wrong group to ask this question. I have a blog about parallel programming and concurrency (http://www.thinkingparallel.com if you are...
16
by: Singulus | last post by:
Hello all, I've searched for similar threads, I've found some bit of useful info here and there, but nevertheless I want to post my questions...So, how can I (we, in fact the forum can benefit...
1
by: stevenjs | last post by:
Greeings, all, Flash 8 has quiz templates which are coded for multiple choice, true/false, text statement, and matching types of questions, along with hotspots and probably anoher type I am...
2
by: Michael | last post by:
Hi, I try to use mysqli object instead of standard mysql functions. Is it ok to create mysqli object within my class or schould I pass mysqli object to my object. The problem is, with code...
4
by: Andrey | last post by:
Hi, I will be hiring a php guru to help us architect a highly scalable web site/web application; the problem is I am coming from Microsoft .NET world and not too much familiar with the platform....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.