Can flask g be used with gunicorn?
This is no problem. In flask every simultaneous request will be handled in a separate process. There will be multiple g at a given time (depending on how you configure gunicorn) but every process will have it's own instance.
When flask g keep data on one request and another request follow almost simultaneously (race condition). Will flask g be replaced by new flask g?. And how i can handle if this situation happen. Thank you.