Posted by John R. Rymer on June 21, 2010
Java's future is on my mind lately. Oracle's new ownership of Java prompts a series of "what will Larry do" questions. But more to the point, the research Mike Gualtieri and I have been doing on massively scaled systems makes me worry that Java technology has fallen behind the times.
This is not a "Java is dead" commentary but rather a discussion of issues as I see them. Java technology is alive and vitally important; we all must be concerned if its future direction isn't clear.
For me, Java's 2-gigabyte-per-JVM memory limitation symbolizes this gap. Volumes of application data are rising, but standard Java platforms still have a practical limitation of 2 GB of memory. I spoke with one customer that incorporates a search process into its app that alone requires 20 GB of memory. This customer employs servers with 6 GB of memory each but can only use this memory in 2 GB chunks, each chunk managed by a JVM in a scale-out architecture.
We've done pretty well with 2 GB JVMs until now. But as data volumes grow, this company (and others) are no longer well served by scale-out JVM architectures. Java technology should give shops the choice of scaling up the memory within an individual JVM as well. Why?
- Scale-out approaches require changes to code to incorporate either elastic caching platforms or not-only SQL (NoSQL) databases.
- Scale-out approaches impose a certain amount of configuration complexity and management overhead.
The company with the 2o GB search process would love to have the option of large memory pools within a single JVM, primarily to get scale without code changes. Gap: There is no memory scale-up option in standard Java today. I'm not sure how many shops would select a scale-up approach over a scale-out approach (would love to know what you think). But I've seen enough requirements to be persuaded that having the additional choice is important.
This is the problem: The Java community should have an answer for this requirement, but it does not. The recently announced Managed Runtime Initiative, backed by Azul Systems, seeks to drive a scale-up JVM solution (based on a new JVM combining OpenJDK and Azul's software) at a future date. None of the Java leadership has yet signed on to that initiative. We can only hope that: a) MRI comes up with a standards-aligned scale-up JDK and/or b) MRI inspires the Java community leadership to solve this problem.
Here is what worries me about Java's future:
- Requirements for a scale-up JVM exist now.
- Creating a scale-up JVM will take tons of work. The solution must address not only the structure of JVMs but also their interactions with operating systems.
- Neither Oracle nor IBM -- the leaders of the Java community -- have strong incentives to solve this issue. A massive engineering investment to remake the JVM only to give it away in specs and a reference implementation? I don't think this will happen.
- It isn't clear who's got the job of solving issues like the 2 GB JVM, aside from the amorphous Java Community Process. Oracle generally embraces strong, direct initiatives but hasn't yet done so with Java's technical direction.
And so the status quo in JVM memory persists, and developers work around that limitation. Makes me worry about the future of Java technology. You? I've added a discussion thread in our Application Development & Delivery Community Site (http://community.forrester.com/thread/2918) for your thoughts.
search forrester's blogs
Lead with a "mobile first" strategy.
Attend the complimentary Webinar Provide Next Generation Services To Your Customers June 5, 2013, 1:00–2:00 p.m. EST
How do you reach perpetually connected customers?
Attend the complimentary Webinar Strategies For The Mobile Mind Shift June 5, 2013, 1:00–2:00 p.m. UK time
- Anjali Yakkundi (9)
- Boris Evelson (124)
- China Martens (3)
- Claire Schooley (1)
- Clay Richardson (1)
- David Aponovich (11)
- Diego Lo Giudice (8)
- George Lawrie (10)
- Holger Kisker (36)
- James Staten (5)
- Jeffrey Hammond (22)
- John R. Rymer (42)
- Jost Hoppermann (26)
- Kate Leggett (91)
- Kurt Bittner (3)
- Kyle McNabb (11)
- Manish Bahl (2)
- Margo Visitacion (8)
- Michael Barnes (14)
- Michael Facemire (10)
- Mike Gilpin (39)
- Mike Gualtieri (90)
- Noel Yuhanna (8)
- Paul Hamerman (2)
- Phil Murphy (21)
- Randy Heffner (12)
- Stephen Powers (16)
- Tom Grant (35)
- William Band (53)