Results 1 to 5 of 5

Thread: Sugar Architecture, HA guidelines

  1. #1
    JavaCK is offline Senior Member
    Join Date
    Aug 2008
    Posts
    24

    Question Sugar Architecture, HA guidelines

    Hi,

    I'm a new user to SugarCRM which Community Edition looks great (congratulations to the team by the way !), and I have a couple of questions regarding the deployment of SugarCRM :

    I would like to know "what load" can sugarCRM support on "small hardware", say for instance :
    • Red Hat Enterprise Linux AS 5 (OS: 32 bit; 2 Go RAM, 2 CPU) , MySQL Community Server Edition on a LAMP environment, All on the same box

    • Red Hat Enterprise Linux AS 5 (OS: 32 bit; ; 4 Go RAM, 8 CPU) , 1 Load Balanced Apache Cluster (on 2 dedicated boxes) , MySQL Cluster with 2 nodes (2 dedicated boxes)


    By "what load", I mean how many Sugar users / concurrent SQL connections are "supported" (before the system crashes) ?

    From a low level point of view, does Sugar manages a connection pool with the DB ? is the connection opened during all the user ( logged to the sugar webapp) session or is it opened&closed after each HTTP request ?

    Regards,

    Steve
    Last edited by JavaCK; 2008-09-02 at 07:26 AM.
    Sugar 6.1.2 GA
    LAMP on Linux Debian 2.6.35.4
    PHP 5.2.6-1+lenny9
    MySQL 5.0.51a-24
    Apache 2.2.16

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Sugar Architecture, HA guidelines

    Quote Originally Posted by JavaCK
    Hi,

    I'm a new user to SugarCRM which Community Edition looks great (congratulations to the team by the way !), and I have a couple of questions regarding the deployment of SugarCRM :

    I would like to know "what load" can sugarCRM support on "small hardware", say for instance :
    • Red Hat Enterprise Linux AS 5 (OS: 32 bit; 2 Go RAM, 2 CPU) , MySQL Community Server Edition on a LAMP environment, All on the same box

    • Red Hat Enterprise Linux AS 5 (OS: 32 bit; ; 4 Go RAM, 8 CPU) , 1 Load Balanced Apache Cluster (on 2 dedicated boxes) , MySQL Cluster with 2 nodes (2 dedicated boxes)


    By "what load", I mean how many Sugar users / concurrent SQL connections are "supported" (before the system crashes) ?

    From a low level point of view, does Sugar manages a connection pool with the DB ? is the connection opened during all the user ( logged to the sugar webapp) session or is it opened&closed after each HTTP request ?

    Regards,

    Steve
    Hi Steve

    It is difficult to say how many users a hardware supports until it gets crashed.
    One of our server is smaller than these two and it is fine to at least 100 users.
    A good strategy to make the architecture scalable is to configure one server to sugar itself (apache/php) and another one to the database. It improve the system performance.

    I don't know about the connection pool, perhaps the guys from SugarCRM can answer this question.

    Best regards and good luck!
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    mcatling is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    75

    Default Re: Sugar Architecture, HA guidelines

    Depends what you are doing.... and I cant really comment on Linux.... but for what its worth.


    On the system config detailed below I have a customer with 32 users but they only do about 20- 40 transactions a day each in a project management environment (Custom modules), not tele sales call centre or tele support help desk. They get about 2-3 second response times.

    Pentium 4 - 2.8ghz
    504mb ram available (after onboard graphics have had their share)
    1 * 120gbPATA disk
    Wampserver 2.0
    Windows XP SP2
    SugarCRM 5.0

    In a call centre environment I have a different customer with 90 users and they do constant help desk (custom modules) and telesales (Asterix integration) work so push through many 1,000s of transactions per day. They get about a reliable1-2 second response time and system utilisation is low enough to allow growth of about 60%.

    2 * Quad core Xenon 2.6ghz
    4gb ram
    2 * 3Ware sata raid controllers
    2 sata disks 200gb in Raid 1 mirror for system and wampserver folder.
    2 sata disks 200gb in Raid 1 mirror for documents folders
    2 sata disks 120gb in Raid 1 mirror for Log files.
    4 sata disks 200gb in a Raid 5 array for MySQL database
    Windows server 2003
    Wampserver 2.0
    SugarCRM 5.0

    One of the key things that I have found to performance is to follow the WIKI performance guides for setting up the system...

    Also have a look at the Sugar cube offerings from the home page. They have some configs on there with a guideline to numbers of users you can support.

    But most of all make sure that you have a good MySQL DB admin to keep the DB running smoothly.

    For example if you create a saved search list view or create custom modules with complex list views that have a lot of sortable fields in the list view header. You need to make sure that you create an index for the sortable field in the database directly... easy with PHPMyAdmin but only if you know or remember to do it.

    I have seen a number of system which have been brought to a crawl when two users of a custom module both try and sort list views with thousdands of records in them in different orders (Ascending/Decending)

    Also i have seen a perfomance guide in the WIKI or Forum(sorry cant remember which) which shows the results of running 900 users on a Sun T5220 server. This gives some excellent guidelines on how to tune the database etc. SOrry I cant remeber where it is as I am mainly windows based. :-(

    Best regards, Malcolm

  4. #4
    JavaCK is offline Senior Member
    Join Date
    Aug 2008
    Posts
    24

    Default How DB connections are managed ? [Sugar Team please reply ]

    Malcom, thanks for your reply

    Sugar Team, could you please answer my last point :
    "From a low level point of view, does Sugar manages a connection pool with the DB ? is the connection opened during all the user ( logged to the sugar webapp) session or is it opened&closed after each HTTP request ?"

    This is important to understand how the connections are managed to size the DB ....

    Thanks in advance,

    Steve
    Sugar 6.1.2 GA
    LAMP on Linux Debian 2.6.35.4
    PHP 5.2.6-1+lenny9
    MySQL 5.0.51a-24
    Apache 2.2.16

  5. #5
    JavaCK is offline Senior Member
    Join Date
    Aug 2008
    Posts
    24

    Thumbs up Re: Sugar Architecture, HA guidelines

    Quote Originally Posted by mcatling
    Depends what you are doing.... and I cant really comment on Linux.... but for what its worth.



    Also i have seen a perfomance guide in the WIKI or Forum(sorry cant remember which) which shows the results of running 900 users on a Sun T5220 server. This gives some excellent guidelines on how to tune the database etc. SOrry I cant remeber where it is as I am mainly windows based. :-(

    Best regards, Malcolm
    I think I have found the bench you were talking about on Sun Blogs

    Cheers,

    Steve
    Sugar 6.1.2 GA
    LAMP on Linux Debian 2.6.35.4
    PHP 5.2.6-1+lenny9
    MySQL 5.0.51a-24
    Apache 2.2.16

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 2009-12-02, 04:04 PM
  2. Sugar Open Source 3.5.1e Available for Download
    By clint in forum Announcements
    Replies: 0
    Last Post: 2005-12-10, 06:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •