reapbenefit / frappe_solve_ninja

Other
0 stars 0 forks source link

Current concurrency rate R&D #56

Open choudhary15 opened 1 month ago

choudhary15 commented 1 month ago

How do we know the current load capacity of the system?

  1. What is the number of users it can hold?
  2. What is the concurrency rate?
  3. What factors influence 1 and 2.
  4. How do we know the concurrency of APIs we have?
anupamvs commented 1 month ago

@choudhary15 @gauthamraje I don't have expertise in devOps.

I have spend sometime on this. As per my experience till now, its depends on number of request within a timestamp. If server crash after certain requests count, then we have to increase the ec2 instance size or database configuration. here are few references.

https://discuss.frappe.io/t/trying-to-measure-server-requirements-for-a-given-user-concurrency/65686 https://discuss.frappe.io/t/concurrency-optimistic-or-pessimistic/25800 https://github.com/frappe/erpnext/wiki/ERPNext-Performance-Tuning