We make programming sexy.

Suggested hardware and hosting requirements for large Elgg sites.

Posted: June 10th, 2010 | Author: Paul | Filed under: Editorial, Elgg Development, Web Development | Tags: , , , , , | No Comments »

heavy load

Overview
As the popularity of Elgg grows, we’re getting more and more questions regarding the optimal hosting environment for large networks. We’ve created this post in response to that. It contains a growing, consolidated list of suggested hosting and hardware requirements for running large (5k+ user) Elgg installations. It’s based on community contributed best practices, Elgg’s documentation and Arck’s experience with the platform over the past two years. It’s intended to be used as a point of reference and makes no claim of being all-inclusive. If you have a suggestion or edit, please include it in a comment and we’ll review it for inclusion in the next version.

Many thanks to the Elgg community for all of the input contributed across Elgg forums and mailing lists.

OS / Software Requirements

  • Dedicated LAMP (Linux, Apache, MySQL 5+, PHP 5.2+) based server
  • Apache mod_rewrite module and multibyte string support
  • GD for graphics processing
  • JSON (included in PHP 5.2+)
  • memcached (100-150MB of RAM allocated)

Hardware Requirements

  • CPU: Quad 3ghz+
  • RAM: 4GB+
  • HDD: 1-2TB+ / SSD (Disk space can be estimated by multiplying the amount of space you wish to allocate to each user by the total number of users. This could range between 10MB and 100MB depending on your requirements.)

Optimizations

MySQL

  • Convert the following MySQL tables to the InnoDB engine: elggannotation, elggentities, elggentity_relationships, elggmetadata, elggmetastrings, elggusers_sessions.
  • Leave all remaining tables as MyISAM for FULLTEXT searching
  • Raise the InnoDB buffer size to utilize roughly 50% of your total RAM.
  • Add OPTIMIZE queries to a nightly cron for all Elgg tables

PHP

  • Increase the total amount of memory allocated to PHP from 8MB in PHP’s configuration file. We recommend at least 16MB.
  • Change the maximum uploaded file size in PHP’s configuration to at least 2MB.

Scripts

  • Minify all JS and CSS
  • Serve JS and CSS from separate sub-domains (i.e. css.yourhost.com and js.yourhost.com)

Plugin Execution Order

  • Plugins are loaded in the order they appear on the plugin administration page. The theme plugin should be loaded near the bottom of the list, as it applies styles to other plugins.

Load Testing
The hu_skawa_genusers Elgg plugin can be used to simulate any number of concurrent users on an Elgg site. We recommend volume testing using this plugin in combination with http_load, or any other load testing tool.

Load Balancing
For large Elgg sites, it is critical to isolate the database(s) from the web server. In a load-balanced configuration (see typical example below) the web servers are horizontally scalable. The load balancing technology could be an appliance from a known vendor like Cisco, Big IP, etc or simply a Linux host implementing the Linux-HA project.

At the database layer the simplest solution is an active passive approach with enough hardware horsepower to handle the expected query load. Load and volume testing is required in order to determine that is needed in your own environment. Additionally, a true active/active database cluster could be implemented at a higher cost using a commercial clustering solution from MySQL.

elgg load balanced configuration

elgg load balanced configuration


Arck’s first pro-bono project: A global social intranet for the Homeless World Cup. Made with love and Elgg.

Posted: April 27th, 2010 | Author: Paul | Filed under: Company News, Elgg Development, Inspiration | Tags: , , , , , | No Comments »

We’re ecstatic to announce the start of our very first pro bono project: a global social Intranet for our favorite non-profit organization, The Homeless World Cup. We’ll be using the popular open-source social platform, Elgg, to create a hybrid content management system/social network that will be used to connect the organization’s 70 global partners. The network will enable central communication and allow the organization to share best practices, files, photos and other media to help develop internal projects across the globe.

For those who are unfamiliar with the event, The Homeless World Cup is an annual, international football tournament, uniting teams of people who are homeless and excluded to take a once in a lifetime opportunity to represent their country and change their lives forever. It has triggered and supports grass roots football projects in over 70 nations working with over 30,000 homeless and excluded people throughout the year.


Arck launches public Elgg-based social network demo: Kyoutsuu

Posted: December 23rd, 2009 | Author: Paul | Filed under: Elgg Development, Web Development | Tags: , , , | No Comments »



Kyoutsuu is a basic example of what’s possible with Elgg, an open-source social networking framework, and Arck Interactive, a team of talented web designers developers. Elgg provides the building blocks that allow you to create and grow your own social networking site, whether publicly (like Facebook) or internally on a networked intranet (like Microsoft Sharepoint).

Arck provides a full-range of custom design and development services for Elgg and offer options for either hosting your social network with us, or on your own server. You can view a fill list of our Elgg services and case studies for social networks we’ve developed with Elgg on our web site.

Please register for a free account and play in our sandbox. If you have any questions, or feedback, click the little Feedback tab on the left side of the web page and we’ll get back to you soon!

By the way, kyoutsuu means community or commonality in Japanese.


What’s possible with a free, open-source social networking framework called Elgg? The Wiley Faculty Network, for one.

Posted: December 16th, 2009 | Author: Paul | Filed under: Elgg Development, Web Development | Tags: , , , , | No Comments »

313890922_1ee156f3cc

We’ve been using the open-source social framework Elgg on nearly all of our social development project over the past two years. Never heard of Elgg? I’m not surprised. It hasn’t been given the attention or the visibility that it absolutely deserves. Hands down, it’s the best framework for developing custom social networks.

That said, I’d like to share our latest Elgg development effort, a faculty network for John Wiley & Sons, that we developed in cooperation with Garfield Group Interactive.

The Wiley Faculty Network is a global community of faculty, connected by a passion for teaching and a drive to learn, share, and collaborate. Members connect to collaborate with colleagues, join professional and peer groups, find mentors, attend virtual and live events, and view a wealth of resources all designed to help them grow as educators.

Site functionality included: one-click login integration with Wiley’s existing faculty system ProfVal; role-based access with custom profiles; intelligent dashboard widgets that suggest content to users based on their professional and personal interests; a custom content management system plugin allowing Wiley to deliver context and discipline specific content to users; a complete events management system; custom file/resource (documents, videos, audio) sharing; granular analytics and reporting; blogs, user groups and forums.

You can read the complete case-study on the Arck Interactive site, here:

The live Wiley Faculty Network web site is available here:


New Social Network Focused on Commercial Elgg Services

Posted: December 9th, 2009 | Author: Paul | Filed under: Editorial | Tags: , , , , | 2 Comments »

commercialization

I’d just like to give a plug to our friends Shane Atlas and Billy Gunn who just launched the first social network focused exclusively on commercial Elgg services. The Elgg community has been sorely lacking a site where developers can connect with the business community.

Kudos to the ElggExchange team!


We just launched our third enterprise class social network for Wiley & Sons Publishing!

Posted: November 2nd, 2009 | Author: Paul | Filed under: General | Tags: , , | No Comments »

wiley_home_top_small

Working for Garfield Group Interactive over a period of 6 months, we developed a scalable social network based on Elgg. Functionality included: one-click login integration with Wiley’s existing faculty system ProfVal; role-based access with custom profiles; intelligent dashboard widgets that suggest content to users based on their professional and personal interests; a custom content management system plugin allowing Wiley to deliver context and discipline specific content to users; a complete events management system; custom file/resource (documents, videos, audio) sharing; granular analytics and reporting; blogs, user groups and forums.

Check out the case study here.