Close
  • Latest News
  • Cybersecurity
  • Big Data and Analytics
  • Cloud
  • Mobile
  • Networking
  • Storage
  • Applications
  • IT Management
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Menu
Search
  • Latest News
  • Cybersecurity
  • Big Data and Analytics
  • Cloud
  • Mobile
  • Networking
  • Storage
  • Applications
  • IT Management
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Development
    • Development

    Sun Aims for Speed and Control with Real-Time App Server

    By
    Darryl K. Taft
    -
    May 17, 2006
    Share
    Facebook
    Twitter
    Linkedin

      SAN FRANCISCO—James Gosling, the father of Java, has been working on some innovative technologies to address unique needs, such as real-time application servers and refactoring of large systems.

      And Gosling is expected to demonstrate the real-time application server he has been working on at the JavaOne conference here on May 19.

      Gosling, a Sun Microsystems vice president and fellow, in an interview on May 16 here, told eWEEK that Sun has had a real-time JVM (Java Virtual Machine) “thats been out there for awhile and its a virtual machine that was designed for pretty high-end real-time uses—the kind of thing you could control an F-16 with. Its got timing numbers in the five to 10 microsecond range.”

      So he said he did a few tweaks on the Sun application server to run it on top of the real-time VM. “And we ended up with numbers that are really cool,” he said.

      The system features a real-time garbage collector with intense scheduling, priority management and priority inversion control—all the little components it takes to make real-time systems really real-time, he said.

      System requests can take milliseconds, microseconds, “but there are occasionally requests that take as long as a second—between garbage collector pauses, paging pauses, queuing pauses, threading pauses….,” Gosling said.

      In one benchmark, the system ran a maximum roundtrip time of 15 milliseconds, Gosling said.

      However, there is no free lunch, he said.

      “The real-time app server, and actually all the real-time systems, have sort of a tradeoff between deterministic timing and throughput,” Gosling noted.

      “So in order to get deterministic timing, you have to give up some throughput. But when you want deterministic timing, you just dont load the system very heavily.”

      Gosling said Suns target for the technology is anybody who has application servers who need really fast, deterministic timing.

      Yet, Gosling admits that the real-time application server, “for almost everybody is really kind of silly. Because most people dont need stuff that is this tightly constrained.

      “But the Wall Street folks, who are just anal about every last millisecond—because every last millisecond in terms of getting trades in is a really big deal—theyll happily give up a certain percentage of throughput to get tighter timing guarantees.”

      /zimages/3/28571.gifSuns open-source outreach met with mixed emotions. Click here to read more.

      Sun has a prototype of the real-time application server running “and weve got a little bit of an early access program going on,” Gosling said with a smile.

      “Its taking two quite solid and proven technologies and putting them together in a somewhat unconventional way—the real-time VM and the app server,” he said.

      Meanwhile, one of the projects Gosling worked on a few years ago, a refactoring engine known as Jackpot, has made a resurgence.

      Refactoring is the process of restructuring an existing body of code, altering its internal structure without changing its external behavior, Gosling said.

      “We have, after much rebuilding of internal infrastructure, early access versions of that [Jackpot] and it allows you to do customizable refactoring,” he said.

      The tool enables developers to write their own refactorings “very easily,” he said. It even features its own specialized scripting language for refactoring. “and thats looking pretty wonderful,” he gushed.

      The Jackpot tool is targeted at developers primarily in larger enterprises that have vast amounts of code in big, complex applications.

      “A lot of enterprises have coding standards and one of the things you can do with this refactoring engine is establish a number of patterns that detect coding standard violations,” Gosling said. “And then you just run that continuously against all your code.”

      Gosling said the tool works at a very large scale, which makes it particularly useful “for some of the quite enormous applications out there—like three million lines of code or more.”

      And once a system gets that big, even simple things in a code base become difficult to change, Gosling said.

      “The world gets very fragile, because you try to change this one little API and it has this ripple effect all over the world” of your code.

      Indeed, Gosling asks, “How do you search and replace something in over a million lines of code?” The Jackpot engine will do that, he said.

      The tool will help developers transform code fragments in large bodies of code, he said.

      The biggest system Sun that tested the Jackpot refactoring engine on was eight and a half million lines of code, which included the all of NetBeans, all of the Java Development Kit and all of Suns tools, Gosling said.

      “It was basically all the software that Sun owns jammed together as one big system,” he said. “But you can actually find systems bigger than that. And systems of that complexity are pretty tough to change.”

      /zimages/3/28571.gifCheck out eWEEK.coms for the latest news, reviews and analysis in programming environments and developer tools.

      Avatar
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      MOST POPULAR ARTICLES

      Android

      Samsung Galaxy XCover Pro: Durability for Tough...

      Chris Preimesberger - December 5, 2020 0
      Have you ever dropped your phone, winced and felt the pain as it hit the sidewalk? Either the screen splintered like a windshield being...
      Read more
      Cloud

      Why Data Security Will Face Even Harsher...

      Chris Preimesberger - December 1, 2020 0
      Who would know more about details of the hacking process than an actual former career hacker? And who wants to understand all they can...
      Read more
      Cybersecurity

      How Veritas Is Shining a Light Into...

      eWEEK EDITORS - September 25, 2020 0
      Protecting data has always been one of the most important tasks in all of IT, yet as more companies become data companies at the...
      Read more
      Big Data and Analytics

      How NVIDIA A100 Station Brings Data Center...

      Zeus Kerravala - November 18, 2020 0
      There’s little debate that graphics processor unit manufacturer NVIDIA is the de facto standard when it comes to providing silicon to power machine learning...
      Read more
      Apple

      Why iPhone 12 Pro Makes Sense for...

      Wayne Rash - November 26, 2020 0
      If you’ve been watching the Apple commercials for the past three weeks, you already know what the company thinks will happen if you buy...
      Read more
      eWeek


      Contact Us | About | Sitemap

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Property of TechnologyAdvice.
      Terms of Service | Privacy Notice | Advertise | California - Do Not Sell My Information

      © 2021 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×