Sizing Nexus: How much space do you need?

January 30, 2012 By Tim O'Brien 0

You’ll want to make sure that you run your repository manager on a server that is up to the task. The last thing you need is for Nexus to run out of space during a critical release because it is running on inadequate hardware. Disk space is cheap, broken builds are not.

In this post, I focus on storage requirements for Nexus. I discuss general recommendations and point you at resources we’ve developed to help you come up with accurate estimates for how much disk space you’ll need.

   

Disk Space

Disk space is going to be the critical parameter for a Nexus installation. At its core, Nexus is simply a collection of files and a set of services to index and serve these files. If you integrate Nexus into your development process and come to depend on it as a collaboration mechanism, you can easily consume hundreds of gigabytes (or even terabytes) of space.

Coming up with a simple guideline for storage requirements is difficult as it depends on a number of factors: How many projects do you have? How large are the artifacts being deployed to Nexus? How frequently are these artifacts deployed? and How long do you keep your releases? How much open source are you consuming from Central? How often do you update external dependencies? and How many 3rd party artifacts do you need to upload?

If you deploy artifacts to Nexus, your internal, hosted repositories are what will end up consuming the most space over time. At a large organization with hundreds of projects and frequent releases, it is very easy to create systems that consume a surprising amount of space. If you are interested in diving into the details and coming up with an estimate for your organization, watch “Getting Scientific about Sizing Nexus”.

An Initial Starting Point

While some of our engineers like to aim high with an initial recommendation of 250-500 GB, I like to aim a little lower. Sure, if you are rolling Nexus out to a 5,000 developer installation with thousands of projects, you may very well want to start with 1 TB. On the other hand, if you are gradually rolling Nexus out to a department or two, you should start with a more reasonable number: 50 or 100 GB.

I recommend starting with 50 or 100 GB, and I also recommend being prepared to expand that number as needed. Starting with this smaller number avoids the problem of procuring a huge chunk of disk space only to watch it sit idle for the months (or years) it will take you to consume all this space. Aim low, plan to expand.

Conclusion

Your initial estimate for disk space consumption is going to be just that, an estimate. Having set up scores of Nexus instances for organizations of all sizes, my experience has been that you’ll want to do some ballpark estimates and then multiply that estimate by a factor of two or three. When you connect systems like Hudson to Nexus and deploy snapshots from every integration build, you’ll appreciate the extra space.

As you start to use Nexus, you’ll have to tweak your scheduled jobs to make sure that you are periodically removing old snapshots and regularly keeping an eye on storage. If you expand the number of projects or developers using a Nexus instance, you’ll want to revisit some of these initial estimates and make sure that your system has enough storage to keep track of all the artifacts it is caching and storing.

Categories: Nexus, Sonatype Tags: , ,

Releases Are Forever?

January 16, 2012 By Tim O'Brien 0

Releases are forever, right? Once you’ve pushed an artifact to a hosted release repository it is etched in stone, and changing it is a bad practice. That’s what we’ve been saying since we launched Nexus, but there are situations that call for old releases to be deleted. In fact, there are situations that require the deletion of old releases? Otherwise, you’d be paying for terabytes of useless data storage.   (more…)

Webinar Replay Now Available: Nexus 2.0 Sneak Preview

December 4, 2011 By Emily Blades 0

Thank you to everyone who made it to our Nexus 2.0 Sneak Preview webinar last week!  We had a fantastic turnout and received tremendous interest from our users in the features that are coming in Nexus Pro 2.0, including:

  • Integrated security and licensing reports to discover problematic components
  • Improved availability with our new Nexus Availability Architecture
  • Ability to manage both Java and .NET components from a single repository

The webinar recording is now available here.

Special pre-release pricing is available for Nexus Pro 2.0. Check out the webinar or contact a representative for more information.

Categories: Nexus, Sonatype, Webinar Tags: ,

Bringing Java and Linux together on the way to Continuous Live Deployment

November 29, 2011 By Sebastian Herold 0
Today we have a guest post from Sebastian Herold, a software architect at ImmobilienScout24, the largest German online marketplace for real estate. Sebastian and his team created a YUM plugin for Nexus to better interface between the Java and Linux worlds. (more…)
Categories: Nexus, Sonatype Tags: , ,

New Webinar: Nexus 2.0 Sneak Preview

November 17, 2011 By Emily Blades 0

We’re making it easy to configure Nexus for High Availability.  And a lot more.

Want a preview of everything coming up in Nexus 2.0? Join us on Wednesday, November 30 at 11AM EST (GMT-0500)  for a 30 minute sneak preview. You’ll see how Nexus 2.0 will let you:

  • Manage BOTH Java and .NET components from a single Nexus repository
  • Increase artifact control and reduce risk with integrated security and licensing information
  • Improve availability and performance with our new Nexus Availability Architecture

If you register, you’ll also receive access to the recording after the event. So if something comes up and you can’t make it, you won’t miss out.

Reserve Your Seat

Categories: Nexus, Sonatype, Webinar