Jump to content
  • 0

Suggestion for instance selection


rahul7827
 Share

Question

Hello Team

We are going to start clustering on AWS. I am thinking to proceed with g4dn.xlarge as origin in auto scaling and c5.xlarge as edge server.

While checking the pricing i found this.

image.png.949bcc65cd38304866433cd07e8b4677.png

 

At a slight change in pricing, benefit is memory is doubled.

However both instances having their own advantages, one is "cpu optimized" and other is "memory optimized".

What do you recommend which one should i proceed with.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Hi @rahul7827,
For WebRTC I advice CPU forever. But also I can give you a tip.

You may use Graviton2 (ARM based) instances. Their performance are similar but they are cheaper.

image.png.3476a0c9db486bff385bcdf4c6b6f98c.png

These are Intel processors.

image.png.11b9ebbe67aaf3203386d2fc591aadba.png

 

Last but not least, I don't know why but Gravitons are even cheaper in Mumbai than other regions.

 

image.png.cbb617f5431288240aa0c738b45a65eb.png

  • Like 1
Link to comment
Share on other sites

  • 0

Thank you for your suggestion @Burak

As earlier you recommended Graviton2 and I followed that and in our staging environment one of my colleague is setting up this instance in Mumbai region. This is really cheaper.

As per our client location, we have to keep the production environment in their region also. So I had a confusion which one should i go with. This is the first time i will use graviton so having less confidence 🙂

I think, I should setup both these instances and put the load and observe the performance.

Also Thank you @Yash for sharing the load test tool and the documentation.

  • Like 1
Link to comment
Share on other sites

  • 0

Thanks @Burakfor sharing the information.

@rahul7827
Graviton 2 (ARM-based) instances from the c6g instance family are the same as I showed you in the comparison results yesterday. Let me also share our test results here:

The tests were carried out a year before. 

Load tests (One 480p stream with 100 viewers) were performed on each server separately. Because the CPU usage varied during the tests, we took the range.

After 100 viewers were loaded, the CPU load for c5.xlarge (Intel based instance) was between 30-35%.
After 100 viewers, the CPU load for c6g.xlarge (Graviton ARM based instance) was between 35-40%.
After 100 viewers, the CPU load for c5a.xlarge (AMD based instance) was between 40-45%.

I hope this helps.

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...