If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Too many "random" site visitors

Started by arthyk, Nov 13, 2022, 12:16 PM

Previous topic - Next topic

arthykTopic starter

Have you ever heard of the automatic scaling feature in cloud hosting? I came across it recently and found it quite intriguing. I was wondering if any of you forum users could shed some light on how it actually works.

I have a training site where I conduct video tutorials and have an active real-time chat. I am concerned that my current hardware configuration of 1 core and 1 GB of memory may not be enough, especially when the number of users connecting increases.

Do you think my choice of cloud hosting was a mistake? I am beginning to think so. In my case, I suspect that my hardware configuration should always be enough for the number of active users. The others are just random "observers" and I don't need to worry about them. However, I could be wrong.
  •  

Bob Bigelou

Before answering the question about its feasibility, let's first discuss autoscaling in cloud hosting.

To begin with, automatic scaling is not universally available and is not always free of charge. It allows site visitors and owners to utilize only as many resources as needed for normal site operation, but it all depends on traffic amount.

If the function is enabled - manually or otherwise - then under standard conditions, up to 520 MB of RAM is used for "traffic" simultaneously, increasing to 1 GB with video broadcasting. This is not such a critical issue if only chatting is involved, even with up to 100 simultaneous connections, but it may be insufficient for a larger number of users. It's also worth noting that simply having a server with 1 GB of RAM and 1 core does not mean an extra element will magically appear.

Automatic scaling is designed for those who pay for server capacity usage after the fact.
  •  

Rita Jaiswal

Automatic scaling in cloud hosting is a feature that enables your infrastructure to adjust its resources dynamically based on the workload. This means that when there is increased demand, such as a higher number of active users on your training site, the system can automatically allocate more hardware resources to handle the load. Conversely, during periods of lower demand, it can scale down to save costs.

Whether your choice of cloud hosting was a mistake or not depends on your specific requirements and the anticipated growth of your website. If you expect fluctuations in user traffic and are concerned about performance during peak usage, automatic scaling can be beneficial. It ensures that you have enough resources to handle the load without investing in excess hardware.

However, if you have a consistent number of active users and can accurately predict your resource needs, then a fixed hardware configuration might be sufficient, potentially at a lower cost. It ultimately depends on the scalability and budget requirements of your project.

utomatic scaling in cloud hosting typically works by monitoring certain metrics or triggers. These triggers can include CPU usage, memory utilization, network traffic, or any other relevant performance indicator. When these metrics surpass a predefined threshold, the system automatically provisions additional resources, such as CPU cores, memory, or storage, to handle the increased workload.

The scaling process can be either vertical or horizontal. Vertical scaling involves increasing the capacity of a single server by adding more resources, such as upgrading to a higher specification instance with more CPU cores and memory. Horizontal scaling, on the other hand, involves adding more servers to distribute the workload across multiple instances or virtual machines.

To enable automatic scaling, you typically need to define the scaling policies and thresholds in your cloud hosting provider's management console or API. You set the minimum and maximum limits for resources, as well as the rules for when to scale up or down. The system continuously monitors the specified performance metrics and adjusts the resources accordingly.

Automatic scaling can help ensure that your website or application remains responsive and available even during periods of high demand. It provides flexibility, as you don't need to manually adjust resources or worry about underprovisioning or overprovisioning.

However, it's important to note that there may be some considerations and costs associated with automatic scaling. You should be aware of the pricing model of your cloud hosting provider, as resource usage can affect your billing. Additionally, certain scaling actions may cause temporary disruptions or require careful configuration to avoid unintended consequences.

Overall, automatic scaling can be a powerful tool to optimize your infrastructure's performance and cost-effectiveness, especially for scenarios where demand is unpredictable or subject to rapid fluctuations.
  •  

alicja01

If the function is enabled - manually or otherwise - then under standard conditions, up to 520 MB of RAM is used for "traffic" simultaneously, increasing to 1 GB with video broadcasting. This is not such a critical issue if only chatting is involved, even with up to 100 simultaneous connections, but it may be insufficient for a larger number of users. It's also worth noting that simply having a server with 1 GB of RAM and 1 core does not mean an extra element will magically appear.
  •  

anilkh7058

  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...