Is it Load balancer is a required component ?

Hello All,

I saw an architecture of Sugarcrm and I like know about the relevance of load balancer in Sugarcrm architecture .

is it a required component in the scalable architecture ?

Parents
  • Hi @Sino,

    It is not a required component, It totally depends on the load and the number of request on the server. For the performance enhancement, we use many approaches like external caches, for example, APC, Memcached etc when we have the webserver and DB on the same server.

    On the other side, we can also use the load balancer in which we can place our database on the different servers and according to load, we can pass them to the appropriate server. 

    All the above approaches totally depend on the situation, Like currently, I am working on a project in which neither any load balancer nor any external caches are required. Sugar instance is on the 'ABC' server DB is on the 'XYZ' server and Elasticsearch is on some other server.

Reply
  • Hi @Sino,

    It is not a required component, It totally depends on the load and the number of request on the server. For the performance enhancement, we use many approaches like external caches, for example, APC, Memcached etc when we have the webserver and DB on the same server.

    On the other side, we can also use the load balancer in which we can place our database on the different servers and according to load, we can pass them to the appropriate server. 

    All the above approaches totally depend on the situation, Like currently, I am working on a project in which neither any load balancer nor any external caches are required. Sugar instance is on the 'ABC' server DB is on the 'XYZ' server and Elasticsearch is on some other server.

Children
  • Hello Maryam,

    Thanks for sharing your experience.

    I have an curiosity to know, which are the required components in horizontally scalable architecture . In the following  Architecture document mention  about  job queue in the server, Elasticsearch,Memcache etc.

     

    So which are the most required or necessary components for an scalable architecture ?

  • Hello Enrico Simonetti and Maryam Aslam

    Thanks for sharing your architecture level experience and knowledge.

    What I understand and conclusion is Load balancer is not a required or mandatory component of architecture . It will only required based on the load of the server.

     

    The above mentioned components by Enrico Simonetti are necessary or required for a  typical architecture.

    Is it my understanding is in sync ?