Share via

Azure Container Instance Disk Performance

Salim Kanoun 116 Reputation points
2021-08-30T12:48:26.713+00:00

Hi there,

I have a small question about the Azure Container Instance hard disk performances.

I have a php app that has low performance in an Azure Container Instance (request 800ms / 1sec) while usual API response time are 200-300ms in a classic VM.
Database is responding very fast so SQL requests are not the issue.

Do we have idea about the hard disk I/O speed in ACI ?
This is poorly documented, I saw that ACI has a shared hard disk space of 50Go but I didn't find anything about the underlying hard disk performances (SSD ? Prenium ? IOPS ?)

As my app is in php without opcache (for now) each request will require to read a huge set of files from the hard disk.
Are ACI optimized for apps that requires significant I/O in their hard disk ?

If the performance drop lies in the hard disk acces it can be solved with opcache.
I just wanted some additional data about I/O hard disk speed in ACI.

Best regards,

Salim

Azure Container Instances

Answer accepted by question author

prmanhas-MSFT 17,976 Reputation points Microsoft Employee Moderator
2021-09-20T06:12:13.533+00:00

@Salim Kanoun Apologies for the delay in response and all the inconvenience caused because of the issue.

I had discussion internally and below is the response I got from our internal team :

ACI runs on general-purpose compute VMs and does not offer guarantees on hard disk I/O speed. As a server less offering we do not expose implementation details about the underlying disk used to power the ACI 'emptyDir' feature. If this information is a hard prerequisite, we recommend looking at IaaS alternatives such as VMs.
If they are blocked or prod workload is impacted dude to performance issue, we would recommend them to file a support request. ACI PG can help understand their problem better, dig deeper to see what recommendations we can offer.

If you have a Support Plan in place would request you to open a support ticket otherwise do let me know I can help you with one time Free Support :)

Hope it helps!!!

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.