question

TienNguyen-5664 avatar image
0 Votes"
TienNguyen-5664 asked TienNguyen-5664 commented

Best suitable service for Discord Bot Deployment

Hello everyone,
I have just finished a Discord Bot and try to deploy with Azure Services.
I looked around many services that Azure provides such as Virtual Machines, App Services, Function App,... and confused to choose the best suitable one.
Some details about my bot: This Bot opens a socket and connect to Discord, it always wakes up to receive command and send back images via the opened socket.
I would like to use Function App but i wonder if it falls into sleep state after a long time no using.
Please help me to choose the best suitable option.
Thanks all!

azure-webappsazure-functions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CristianSPIRIDON72 avatar image
0 Votes"
CristianSPIRIDON72 answered TienNguyen-5664 commented

Hi,

If you want to use Azure Function and consumption plan which is least expensive, then, bellow is a nice article that describe the behavior of cold start of azure function:

https://mikhail.io/serverless/coldstarts/azure/

If you know that you will have a lot of requests then you can use Premium/Dedicated plans and have the option to pre-warm the function:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale

Hope this helps!

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your answer!

0 Votes 0 ·