New-age Transactional Systems - Not Your Grandpa's OLTP
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Alex Blewitt on May 21, 2008
The Eclipse update manager allows an Eclipse install to be updated from one or more remote sites. To date, it's been the most usual way of upgrading point releases (e.g. 3.3.0 to 3.3.1) as well as installing new features. However, it had a number of well-known issues, such as the inability to update the eclipse executable or deal with mirror failures.
To solve this, the seeds of a new update mechanism were sown at EclipseCon 2007 in a BoF session. And so the subsequently named Provisioning Platform, or more simply P2 was born. Since then, it's graduated from the incubator, and made its first debut in 3.4M5.
Unlike the previous Eclipse update manager, P2 is generic to allow both bundles and non-bundles to be updated. This opens the way for other systems (such as Wascana, a MinGW based bundling of the CDT to enable GNU development on Windows) to use P2 to update DLLs and other executables that form the distribution.
P2 formalises the concepts of an Installable Unit (which is really metadata about the thing that can be installed, rather than the thing that will be installed; think a Maven pom.xml) as well as the artefacts that will be installed (whether that's bundles, executables, libraries etc.). Furthermore, these are stored in separate locations so that an update system can quickly determine what there is to be installed (and whether dependencies can be met) without having to download the artifact itself.
Downloads are handled by the Eclipse Communication Framework. It's also possible for the artifacts to be compressed using one of several different algorithms (pack200, tar.gz) and for multi-threaded downloads spanning multiple mirrors to be used. And whereas the previous update manager would fail if the update site experienced a problem during the download, P2 will automatically retry a different mirror in order to find the data. You can even download a 5Mb installer that will install Eclipse and all its plugins.
It's clear that P2 solves many of the glitches that the old Eclipse Update Manager had, and has received a number of positive reviews. However, whilst a lot of work has been going into the underlying infrastructure, the UI has only recently been developed and still is a work in progress. Furthermore, P2 has now edged out the old Update Manager, and despite the 3.4M7 plans to ensure backward compatibility with update manager, it's clear that not all is well.
One of the key features missing is the ability to install into different extension locations. This is something that many use to allow different subsets of functionality to be installed, particularly for cases where a shared set of plugins (like Subversive or Subclipse) might be installed between Eclipse installs, as described by IBM's DeveloperWorks article. This has led some to petition for the Update Manager to be restored, and a few negative impressions so far, not to mention the fact that the installer doesn't work on Mac OS X.
It's clear that P2 is the way of the future; there are many benefits over and above the old update manager. But it's also in need of testing, and with last week's 3.4RC1, the clock is ticking to Ganymede's release next month. Do you think P2 can be made ready and stable in time?
18 agile and lean practices for effective software development governance
Improve Java Garbage Collection, Runtime Execution, and JVM visibility with Zing
Using Drools? See what you're missing! Get the Power of Drools with the Assurance of Red Hat
Monitor your Production Java App - includes JMX! Low Overhead - Free download
Alex I am doing a very informal test on Eclipse 3.4RC1 Equinox use cases for migration. Will be posting some informal things I find to blog tonight. Thanks for the link it is appreciated.
1.5 years later, it's still not ready, IMHO.
(at least, not from RCP-development point of view).
The documentation is joke: just raving about how wonderful the system is, yet doesn't tell you how exactly to use those features.
There are still, some basic use-cases that were trivial before 3.4 -but are missing from P2.
I think, it's a typical, arrogant 'Big Rewrite' case. It should only have been included when it can do at least what the old system could.
John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.
Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.
Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.
Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).
Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.
Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
2 comments
Watch Thread Reply