Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/602#discussion_r34323522
  
    --- Diff: storm-multilang/python/src/main/resources/resources/storm.py ---
    @@ -29,6 +30,26 @@
     json_encode = lambda x: json.dumps(x)
     json_decode = lambda x: json.loads(x)
     
    +# scheduled timer running job at fixed rate (note: GIL!)
    --- End diff --
    
    Thanks @dan-blanchard ,
    I experimented about python's GIL just now, and with python 2.7.6 in OSX I 
found that other thread can hold CPU more than 1 sec when timer is expired at 
that time. 
    https://gist.github.com/HeartSaVioR/34d90cdd6af906e72935
    
    Actually I wasn't affected this issue during I was working with Python 
cause it was I/O intensive job, and seems like it isn't same to CPU intensive 
job.
    
    Default tick time is somewhat very long. I found one document which says 
tick time is about ~6.5 secs, which doesn't meet our requirement.
    
    GIL is a major problem, and maybe I should check it with Ruby.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to