create new tag
, view all tags

TWiki Success Story of CERN

CERN, the European Organization for Nuclear Research, is one of the world’s largest and most respected centres for scientific research. At the European Laboratory for High Energy Physics, the Large Hadron Collider (LHC) accelerator is colliding beams of protons at energies of 3.5 TeV, recreating conditions close to those at the origin of the Universe. The four main LHC experiments, Alice, Atlas, CMS and LHCb are complex detectors with millions of output channels. These experiment detectors, “large as cathedrals”, have been designed, built and are now operated by collaborations of physicists from universities and research institutes spread across the world.

Wikis are a perfect match to the collaborative nature of CERN experiments and since TWiki was installed at CERN in 2003 it has grown in popularity, and the statistics from September 2011 show nearly 10,000 registered editors and about 110,000 topics. TWiki runs on Linux machines with the Apache web server and is written in Perl and so was easily installed on typical CERN computers. The TWiki service quickly became popular at CERN following its introduction and as the following figures show the number of users and topics has grown at a steady rate over the past years.

Registered users: Sep 2011 TWiki topics at CERN Sep 2011
TWikiUsersSep2011.png TWikiTopicsSep2011.png

Use Cases

The Atlas collaboration consists of 3000 physicists from more than 174 institutes in 38 countries on 5 continents. These collaborators need efficient means of communicating information. To this end, Atlas has enthusiastically embraced TWiki since 2004 and now has over 14000 web pages some of which are world readable containing technical information about Atlas as well as protected ones for physics preparations and results. New pages are created at a rate of 150/month and averaging over 10,000 updates a month. Atlas creates workbooks with TWiki and the application's working environment allows their users to contribute to the development and maintenance of the documents.

CMS (The Compact Muon Solenoid detector) also uses TWiki for creating software guides and workbooks and makes use of the PDF creation feature that allows a one click creation of an entire book. They also benefit from the dynamic web page creation features and implement virtual blackboards that can be written on by users from all around the world. Both the Atlas and CMS experiment collaborations employ specific review processes to ensure that Wiki content is maintained and current. Certification features are used to ensure document integrity and authors are reminded by email to check the validity of information in their pages, in case it has not been updated by one of their peer researchers.

Problems and Solutions

Performance and search issues

The increasing number of people using TWiki had an effect on the system CPU load and resulted in slower page response times especially for searches. New hardware with more CPU power and memory corrected these performance issues. The TWiki data back-end was initially on AFS (Andrew File System) that has a limit on the number of files in a particular directory. TWiki now runs on a dedicated cluster of powerful machines and the TWiki data storage was migrated to NFS 4 on NetApp servers. In order to overcome issues with load-peaks caused by use of the internal TWiki search (based on grep), the FAST search engine (Now Microsoft Enterprise Search) in use at CERN for organization wide web-search, was adapted for use within TWiki. This allows for efficient search on protected data, yet retaining full access control to the content.

Data protection versus collaboration

TWiki culture lends to open free-form editing and most pages are world-readable and editable by CERN authenticated users. The experiments benefited from this ease of use and openness. Now integrated with the CERN Single Sign On authentication system external users can edit TWiki documents, which has led to the need for a user vetting procedure.

Since the LHC accelerator has started to provide physics results, researchers felt that some of the data should be protected and made available only to their users. Various levels of access control have been requested from the many small and large projects using TWiki.

TWiki has a system of access control based on specifying which users or groups of users can view and edit documents but this is difficult to manage for large groups. To group users CERN uses a concept called 'e-groups' for many other applications and these are managed by the experiments themselves and by CERN's HR department. By integrating e-groups into TWiki, the experiments can now easily manage the access control. Users are frequently joining or leaving experiments or moving from one group to another and so these e-groups are updated regularly to ensure that users have the correct rights when accessing a document.

Lifc-cycle of documentation

With regards to the life-cycle of Wiki pages and Webs, we have seen that the large LHC experiment collaborations keep their information alive and have active maintainers for house-keeping. For smaller projects and groups, the trend has been to use a TWiki web for the duration of the project or until the group is re-organized. New groups or projects have often started from scratch with a new TWiki web, instead of updating and evolving the pages of their predecessors. This split in terms of methodology is interesting, and mirrors the work habits of CERN departmental groups versus that of global collaborations with many visitors and short term contributors.


TWiki has proven to be a simple and easy tool to use for the creation and development of collaborative documents. The Wiki approach is a perfect match to the collaborative nature of the experiment communities at CERN. New members of the LHC experiments can easily access information and do not need to follow a course in order to contribute.

-- PeterJones, system administrator at CERN - 2011-11-14


Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2011-11-14 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.