PEAT Online Course -
Test-Driven Development
using Kotlin (DELUXE EDITION)

  • Theory 'n' practice
  • Test-driven method
  • Acceptance criteria
  • Learn to code mastery
  • Ace that job interview
  • Free updates
AVAILABLE NOW
VIMEO ON-DEMAND

Staying Alive with Stash Follow Up

29 May 2014 Comments off

2 minutes

359

In my last blog, I had some issues with Atlassian Stash. In the last week and half, I would like amend my attitude to the product. In fact, I thank Atlassian Support for their really good responses and quick turn around to my questions. The biggest problem, which I think that even engineer like me, experienced failed to realise, that was code always changes and all resources are finite.

First, I upgraded my Atlassian Stash product from 2.10.1 to 2.12.3. Therefore, I obtain the latest improvements in the product in terms of performance and bug fixes.

Second, I was running the Tomcat 7 server on a Virtual Private Server (VPS) with only 1GB of RAM. This would have been plenty of memory if Tomcat was the only service running on the Linux system, but when you start add other services like Apache HTTPD, Play Framework with Codehale’s Dropwizard and other test services. Stash itself requires a Java VM with 768MB of RAM. I upgraded my VPS to at least 1.5GB RAM and the performance of Stash is now much better. I also limited the memory consumption of Apache server and other restricted the other ad-hoc services.

The moral of the story is this. Until there is a JVM that allows shared classes and resources, then you will have to careful tune the resources running multiple JVM instances in a virtualised environment. If your demands require more memory then you have to buy and scale out horizontally. As Kirk Pepperdine said, “You can’t ever hope to virtualise performance increases with JVMs running inside a virtual environment”. Atlassian Stash is like another service, requires it own JVM (or Tomcat server) to run with physical memory demands. Netty and Play Framework services are other examples of other JVM instances. So Reactive Mongo people could also take note of this advice when running Scala web applications.

I recommend Stash to your services and clients if you want to get a private Git Repository reliably on a server for your office team. The user interface is also very good.

By the way, Atlassian also say that Stash does not rely on the Apache Native Library for performance.

Hey all! Thanks for visiting. I provide fringe benefits to interested readers: checkout consultancy, training or mentorship Please make enquiries by email or
call +44 (0)7397 067 658.

Due to the Off-Payroll Working plan for the UK government, I am enforcing stricter measures on contracts. All potential public sector GOV.UK contracts engagements must be approved by QDOS and/or SJD Accounting. Please enquire for further information.