List Info

Thread: working on Ticket #598 -- looking for review / comments




working on Ticket #598 -- looking for review / comments
country flaguser name
United States
2007-09-16 21:00:53
Hi list,

After stumbling into ticket #598 (socket timeouts on Mac OS)
I decided
to work on it for a while... It seemed like an itch worth
scratching!

I'm in no way an experienced python developer, much less
aware of CP
internals, architecture,  design and coding conventions. I
moved
forward, nonetheless. 

I am looking for review and comments to the information I
added to the
ticket. I tried to state the facts as clearly as possible
but the
issue insists on not being 100% clear... (who's at fault ?
cherrypy,
python or the OS ?)

I have, however, hacked what I believe to be a possible way
to fix
this... It's still partial and rough work but the first
results look
promising.

I'd appreciate feedback on the devs.

Thanks and cheers,
--
exvito


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: working on Ticket #598 -- looking for review / comments
country flaguser name
United States
2007-09-16 21:19:29
On Sep 17, 12:00 pm, exvito <ex.vitor...gmail.com> wrote:
> Hi list,
>
> After stumbling into ticket #598 (socket timeouts on
Mac OS) I decided
> to work on it for a while... It seemed like an itch
worth scratching!
>
> I'm in no way an experienced python developer, much
less aware of CP
> internals, architecture,  design and coding
conventions. I moved
> forward, nonetheless. 
>
> I am looking for review and comments to the information
I added to the
> ticket. I tried to state the facts as clearly as
possible but the
> issue insists on not being 100% clear... (who's at
fault ? cherrypy,
> python or the OS ?)
>
> I have, however, hacked what I believe to be a possible
way to fix
> this... It's still partial and rough work but the first
results look
> promising.
>
> I'd appreciate feedback on the devs.

Don't know if it is related, but I have previously pointed
out that
(on Python 2.3 at least) the CherryPy WSGI server runs
comparatively a
lot slower on Mac OS X than other platforms.

http://groups.google.com/group/c
herrypy-users/browse_frm/thread/a295f487aba057b5

One other factor in this though may be that MacOS X has a
habit of
hanging on me when doing benchmarking against various web
servers. It
appears to be related to host name lookups stalling. Name
lookups
stalling is an issue that one sometimes sees mentioned on
Mac forums.

These name lookup problems don't though consistently cause
benchmarks
against other solutions to show bad results. In the other
cases it
just makes the result from the one test useless. For
CherryPy WSGI
server, always get sub par results, something definitely
fishy about
it all.

Graham


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )