I refered tons of resource for this flask and gunicorn , this is the most apt and straighforward . Really sppreciate the effort to simplify the things .
If i assigning userid (first i checking last user in db and doing +1. In it ) if multiple requests come at a one time ,may be some time my code will assign same id to multiple user. How can i control it
If ur using an ACID based database, it has consistency..it will take care of each transaction should have its own isolation state. But if it's an NOSQL, SINCE its eventually consistent don't try to use unique primary number try to generate ur unique I'd or guid based on timestamp which it's already offering ..
I refered tons of resource for this flask and gunicorn , this is the most apt and straighforward . Really sppreciate the effort to simplify the things .
Thanks Shantanu for your kind words
Thanks mate. this video really helped my hosting sucessfully. I have been spending a lot of time on this.
Simple, straightforward.
Thank you
I appreciate your flawless explanation of Gunicorn. By the way, How do you draw diagrams like those in the video?
Thanks Ravi for your feedback, I use PowerPoint
sir when more video of deployment are coming like: AWS docker etc??
Thank you for the great content
For AWS I already covered this is the playlist Twitter sentiment Analysis in AWS E2E: ruclips.net/p/PLGZpjgRdXegkkLJO5fV1UVo2B1neho94Z
chat.whatsapp.com/BBvkCZY1T8D9Lu0SDkWAd5u can join this grouo
@@viswatejaforu Thank you
great video sir, please help me- when i run with gunicorn , not able to load my gloabal vars
hello please how to deploy flask in Cpanel with gunicorn
If i assigning userid (first i checking last user in db and doing +1. In it ) if multiple requests come at a one time ,may be some time my code will assign same id to multiple user. How can i control it
If ur using an ACID based database, it has consistency..it will take care of each transaction should have its own isolation state. But if it's an NOSQL, SINCE its eventually consistent don't try to use unique primary number try to generate ur unique I'd or guid based on timestamp which it's already offering ..
thank u
Sir can you please provide source code?
Sure
What is a flask ?
Flask is a python package used to expose REST APIs