HUE-7860 [core] Integrate non IO blocking Python Webserver

Review Request #12332 - Created Jan. 11, 2018 and updated

Information
Ying Chen
hue
gevent
HUE-7860
Reviewers
hue
romain
commit 9afb0c573d29448dcb67240d51f6f55d986ba4a6 (rebased with origin/master)
Author: Ying Chen <yingchen@cloudera.com>
Date:   Wed Jan 10 12:14:59 2018 -0800

    HUE-7860 [core] Integrate non IO blocking Python Webserver
      Add runserver command

:100644 100644 19a713175f... 3d9555c21e... M    desktop/conf/pseudo-distributed.ini.tmpl
:100644 100644 9b1ce68bcf... 61ef117a74... M    desktop/core/src/desktop/conf.py
:100644 100644 88b3c0001e... 05a1664061... M    desktop/core/src/desktop/management/commands/runcpserver.py
:000000 100644 0000000000... 900d7ffa5e... A    desktop/core/src/desktop/management/commands/rungunicornserver.py

  

Issues

  • 3
  • 12
  • 0
  • 15
Description From Last Updated
commentS? Romain Rigaux Romain Rigaux
same Romain Rigaux Romain Rigaux
Could we pick cherrypy_server_threads for now too here? Romain Rigaux Romain Rigaux
Ying Chen
Ying Chen
Ying Chen
Review request changed

Description:

~  

commit 487885c26847ee9c9b1e90dfffa471ff821db78e

  ~

commit 9afb0c573d29448dcb67240d51f6f55d986ba4a6 (rebased with origin/master)

    Author: Ying Chen yingchen@cloudera.com
    Date: Wed Jan 10 12:14:59 2018 -0800

   
   
HUE-7860 [core] Integrate non IO blocking Python Webserver
   
  Add runserver command
   
   
   

:100644 100644 19a713175f... 3d9555c21e... M desktop/conf/pseudo-distributed.ini.tmpl

    :100644 100644 9b1ce68bcf... 61ef117a74... M desktop/core/src/desktop/conf.py
    :100644 100644 88b3c0001e... 05a1664061... M desktop/core/src/desktop/management/commands/runcpserver.py
    :000000 100644 0000000000... 900d7ffa5e... A desktop/core/src/desktop/management/commands/rungunicornserver.py

Diff:

Revision 4 (+246 -2)

Show changes

Romain Rigaux

   

To also update in https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini

not spawning but gunicorn

nit: no spaces

false -> true

desktop/core/src/desktop/conf.py (Diff revision 4)
 
 

True

desktop/core/src/desktop/conf.py (Diff revision 4)
 
 
 
 
 
 
 
 
 
 
 
 

to add to ini too

desktop/core/src/desktop/conf.py (Diff revision 4)
 
 

worker classes: gevent or evenlet, gthread or sync.

desktop/core/src/desktop/conf.py (Diff revision 4)
 
 

worker processes. If not specified uses: number of CPU * 2) + 1

desktop/core/src/desktop/conf.py (Diff revision 4)
 
 

default=None?

?

License on top?

nit: new line below

Could we avoid to have 2 lists of options?

commentS?

same

Could we pick cherrypy_server_threads for now too here?

Loading...