lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Phoenix Sol wrote:
Looking into libev integration, I found this:

"""
[Kepler-Project] libev + lua *gary ng*
/Wed Oct 22 03:05:56 GMT+2 2008

/There is one floating around and I have also done that myself. Though my not so scientific test seems to suggest that the good old select() isn't that much worse unless we are talking about 1000+ connections and that may not be the target platform for lua(memory etc.)
"""

Can someone please explain this sentiment? What is he talking about? (Gary, are you in here?)

Probably:
http://en.wikipedia.org/wiki/Thundering_herd_problem

or, more accurately:
http://www.kegel.com/c10k.html

[snip]
My primary interest is in massively concurrent, massively scalable application development in the 'cloud environment' (EC2 specifically, for now).

Is lua a suitable language for this target domain?

Depends. Any programming language is suitable, given the correct circumstances. And what application? Developer needs? Business needs? Say if you want to run rendering via photon-tracing in a cloud, obviously for performance you'd go for a language that executes in native code at some level. Or you want development speed. And so on, and so forth, yada yada yada... We can have a 1000-post thread and there will be no clear position. I can sell you A and then switch and sell you B and both positions would be strong. What matters more is your analysis given your specifications. Is this for business or for a dissertation?

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia