Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Re: a better web platform, one way to get ahead would be to solve the C10K problem - http://www.kegel.com/c10k.html. The whole CGI/FCGI thing is a dead end. In-process solutions like mod_php and mod_perl take you a little further but not far, unless you're 100% thread safe, and even then, there's a limit.

Solution: a Pure Perl web server based on async IO, with a decent API, and relevant modules (e.g. session handling) bundled.

And decent API does not mean CGI-like - see http://www.mnot.net/blog/2003/12/08/http_api. It also doesn't mean Catalyst, which inverts the problem to "many verbs via a single controller". Check out web.py's API (http://webpy.org/). And see STREST - http://duncan-cragg.org/blog/post/strest-service-trampled-rest-will-break-web-20/

Practically perlbal seems to be the best candidate (http://www.danga.com/perlbal/) - repurpose as an application server and you've got an edge over the competition, for everyone that wants serious scaling. Sure it's not a solution for the low end user but right now there's effectively nothing that a high end user can take seriously, other than Java. Perlbal has already got async IO going on plus it's served enough requests to be regarded as fairly robust. Someone has already thought about it: http://lists.danga.com/pipermail/perlbal/2006-May/000205.html

In reply to Re: Perl is dying by Anonymous Monk
in thread Perl is dying by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found