Zotonic is a framework with CMS included. It's actually quite powerful
(and large). It also packs lots of next-gen stuff like websockets and
comet. Comes with freeimage-based image processing capability etc.
Very cool stuff. Of course, my poor excuse for Erlang programming
didn't live up to the challenge of actually mastering Zotonic.

On Sun, Dec 12, 2010 at 4:30 AM, Albert Abril <[email protected]> wrote:
> I've been researching about Erlang because Branko comments.
> There's a few frameworks, and there is a compare chart:
> http://www.chicagoboss.org/compare.html
> I get impressed by zotonic. It appears to be a good cms+framework.
> On Sun, Dec 5, 2010 at 2:43 PM, mdipierro <[email protected]> wrote:
>>
>> Yes. eventlet failed the test. OSX 10.6.3 and python 2.6
>>
>> On Dec 5, 1:34 am, Phyo Arkar <[email protected]> wrote:
>> > This discussion becomes not about comparison of scalability of  web2py
>> > or scability of web2py vs other framework but web2py vs other
>> > langauges??
>> >
>> > >massimo wrote:
>> > >ab -n 10000 -c 100http://127.0.0.1:8081/
>> >
>> > >rocket: 0.629 [ms]
>> > >eventlet:
>> >
>> > Massimo , does eventlet failed in that test?
>> >
>> > On 12/5/10, mdipierro <[email protected]> wrote:
>> >
>> > > This is supposed to be even better
>> >
>> > > #http://code.google.com/p/gevent/source/browse/examples/wsgiserver.py
>> > > from gevent import wsgi
>> >
>> > > but cannot install on snow leopard.
>> >
>> > > Massimo
>> >
>> > > On Dec 4, 9:19 pm, mdipierro <[email protected]> wrote:
>> > >> I tried this:
>> >
>> > >> #http://eventlet.net/doc/examples.html#wsgi-server
>> > >> import eventlet
>> > >> from eventlet import wsgi
>> > >> from rocket import Rocket
>> >
>> > >> def hello_world(env, start_response):
>> > >>     if env['PATH_INFO'] != '/':
>> > >>         start_response('404 Not Found', [('Content-Type', 'text/
>> > >> plain')])
>> > >>         return ['Not Found\r\n']
>> > >>     start_response('200 OK', [('Content-Type', 'text/plain')])
>> > >>     return ['Hello, World!\r\n']
>> >
>> > >> if __name__=='__main__':
>> > >>     if True:
>> > >>        r=Rocket(('127.0.0.1',8081),'wsgi', {'wsgi_app':hello_world})
>> > >>        r.start()
>> > >>     else:
>> > >>        wsgi.server(eventlet.listen(('127.0.0.1', 8081)), hello_world)
>> >
>> > >> with
>> >
>> > >> ab -n 10000 -c 10http://127.0.0.1:8081/
>> >
>> > >> rocket: 0.618 [ms]
>> > >> eventlet: 0.443 [ms]
>> >
>> > >> ab -n 10000 -c 100http://127.0.0.1:8081/
>> >
>> > >> rocket: 0.629 [ms]
>> > >> eventlet:
>> >
>> > >> Benchmarking 127.0.0.1 (be patient)
>> > >> Completed 1000 requests
>> > >> Test aborted after 10 failures
>> > >> apr_socket_connect(): Connection reset by peer (54)
>> > >> Total of 1998 requests completed
>> >
>> > >> On Dec 4, 7:39 pm, Branko Vukelic <[email protected]> wrote:
>> >
>> > >> > On Sun, Dec 5, 2010 at 1:59 AM, blackthorne
>> > >> > <[email protected]>
>> > >> > wrote:
>> > >> > > I've read it while ago.
>> > >> > > The "problem" with that test is the number of processors. It
>> > >> > > takes a
>> > >> > > high number of CPUs to bring Erlang benefits.
>> >
>> > >> > Another 'problem' is that it's not about performance when it comes
>> > >> > to
>> > >> > Erlang. It's about overall robustness. For example, Yaws HTTP
>> > >> > server
>> > >> > may not be the fastest around, but you just cannot kill it. Even if
>> > >> > it
>> > >> > drops a request, it will keep on running, and handling whatever
>> > >> > requests you throw at it. I guess I had that in mind when I said
>> > >> > scalability.
>> >
>> > >> > Also, Erlang has software threads, afaik, not hardware CPU threads,
>> > >> > and it manages those internally using a supervisor-worker
>> > >> > architecture. That's something built into the language, and you
>> > >> > mostly
>> > >> > don't have to worry about it.
>> >
>> > >> > --
>> > >> > Branko Vukelić
>> >
>> > >> > [email protected]
>> > >> > [email protected]
>> >
>> > >> > Check out my blog:http://www.brankovukelic.com/
>> > >> > Check out my portfolio:http://www.flickr.com/photos/foxbunny/
>> > >> > Registered Linux user #438078 (http://counter.li.org/)
>> > >> > I hang out on identi.ca:http://identi.ca/foxbunny
>> >
>> > >> > Gimp Brushmakers Guildhttp://bit.ly/gbg-group
>> >
>> >
>



-- 
Branko Vukelić

[email protected]
[email protected]

Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny

Gimp Brushmakers Guild
http://bit.ly/gbg-group

Reply via email to