for information, using web2py with python3 and gunicorn/meinheld, i am able 
to do 1000 queries per second using a redis backend and 1 key seek., in 
this case i set db to sqlite:memory.

GUNICORN_CMD_ARGS=" --workers=6 
--worker-class=meinheld.gmeinheld.MeinheldWorker"    python3  
/..../web2py/anyserver.py -s gunicorn  --workers=6   -i 0.0.0.0 -p 8000 

https://fgimian.github.io/blog/2018/05/17/choosing-a-fast-python-api-framework/

meno male , lo  testo subito...


Il giorno martedì 17 settembre 2019 08:04:23 UTC+2, Massimo Di Pierro ha 
scritto:
>
> No. That is why I am making py4web and it is 20x faster.
>
> On Monday, 16 September 2019 23:02:02 UTC-7, Attilio Drei wrote:
>>
>> hi, when i set a cache action  still web2py  continue to do queries to 
>> database for every call. ( select 1; commit)
>> is possible to set db to null or sqlite:memory when in cache mode ?
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/2413c7eb-6cd8-40bf-8260-40b8033265b0%40googlegroups.com.

Reply via email to