rauldpm / ChatbotTFG

This project houses a chatbot built with the Open Source Rasa software.
GNU General Public License v3.0
0 stars 0 forks source link

Add deployment automation #32

Closed rauldpm closed 2 years ago

rauldpm commented 2 years ago

Related #31

This PR adds scripts for the automation of the deployment of rasa servers based on the number of active users

Using crontab a periodic script is executed that checks the number of active users, if the number of active connections is greater than the number of servers * 10 (each server supports 10 active users), a server is deployed

Servers Connection capacity
1 [0,10]
2 [11,20]
3 [21,30]
x [((x-1)*10)+1,x*10]