[Info-vax] HTTP and HTML File Upload Basics
Jean-François Piéronne
jf.pieronne at laposte.net
Thu Oct 22 02:16:20 EDT 2020
Le 21/10/2020 à 23:01, Jan-Erik Söderholm a écrit :
{snip]
>
> WASD as the web server frontend and PyRTE (Python Persistent Scripting)
> with Python scripts as the backend. By using PyRTE there is no overhead
> from the Python startup (which is usually 1-2 sec on our Alpha), the
> scripts stays loaded and compiled within the PyRTE process and respons
> times are done to 10s of ms. Well, you get the Python startup at first
> access when the PyRTE process is created, it then lives for as long as
> you have configured your idle time.
>
Mark has updated the PyRTE for Python 3.10,
https://wasd.vsm.com.au/py-bin/pyrte_test2.py
https://wasd.vsm.com.au/py3-bin/pyrte_test2.py
Python 3.10 startups is also much faster than 2.7
Example, on one system:
Python2 startup is 1.6s
Python3 startup is 0.3
> This works fine, we have built traditional web brower applications using
> Javascript using the same backend.
>
> https://wasd.vsm.com.au/wasd_root/src/python/READMORE.HTML
>
I have also developed, requested by some customer, a CGIPlus interface
to RabbitMQ, a simple test Client -> WASD -> RabbitMQ -> APPserver
sustains thousand requests/s
The interesting part is that the appserver can be written in any
language on any system.
I have provided Python, C, Cobol examples.
One of Python example query the famous personnel database.
JF
--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
More information about the Info-vax
mailing list