17 April 2014

The Ruby Reflector

Topic

Java Virtual Machine

  Source Favicon
By Shannon Behrens of JJinuxLand 7 months ago.
Email

…he had never considered before. Compiling each feature one at a time to work on the JVM is easy--getting all the features to play nicely with one another when they're used at the same time in unexpected ways is quite a bit harder.

So as I watch all of my friends learn Haskell, these are the things that have been on my mind. It's a fascinating language, so I always enjoy reading other people's perspectives on it!

By the way, thanks go to John Chee and Neuman Vong for …

jjinux.blogspot.com Read
  Source Favicon
By Shanley of Heroku 8 months ago.
Email

…putting tight restrictions on how many things we could run concurrently, JRuby and the JVM offered a path to greater parallelization.

Thanks to Heroku we were able to easily switch to JRuby very early on. In fact, we started using it around two years ago, and we were one of the earliest users of JRuby on Heroku's platform.

The JVM, JRuby and Celluloid in particular have given us the means to scale out several parts of our infrastructure much more easily than we …

blog.heroku.com Read
  Source Favicon
By Charles Nutter of Headius 10 months ago.
Email

nonblocking IO using an NIO Selector. This comes up in at least one other place: the JVM's own standard IO streams are also not selectable, which means you can't select for user input at the console. Consistent experience indeed...it seems that all interaction with the user or with processes must be treated as file IO, with no selection capabilities.

(It is interesting to note that the JVM's standard IO streams are *also* wrapped in buffers, which we dutifully unwrap to …

blog.headius.com Read
  Source Favicon
By Ashley Puls of New Relic 3 months ago.
Email

We are excited to announce Grails support in the Java Agent! Grails is a web application framework that uses the Groovy programming language on the JVM. Groovy on Grails is heavily inspired by Ruby on Rails. It provides many convenience features, and an emphasis on convention over configuration, so that you can build your app quickly.

Getting Started

If you don't have one already, create a New Relic account . Then download the New Relic Java

newrelic.com Read
  Source Favicon
By Charles Nutter of Headius 11 months ago.
Email

…evening by exploring a benchmark post comparing Dart's VM with JVM on the same benchmark. The numbers were not actually very exciting...with a line-by-line port from Dart to Java, Java came out slightly behind Dart. With a few modifications to the Java code, Java pulled slightly ahead. With additional modifications to the Dart code, it might leapfrog Java again. But this isn't interesting because Dart and Java can both rely on type and object shapes remaining consistent, …

blog.headius.com Read
  Source Favicon
By Ashley Puls of New Relic 11 months ago.
Email

If you've been looking for deeper insight into your JVM and application server, we've got some good news for you. The latest release of the New Relic Java agent includes an increase in the amount of data we collect on your Java applications and these new metrics can be used to solve a multitude of performance problems.

The new metrics are located under the JVM tab and include the following:

* Loaded and unloaded class count for the JVM

* Active thread count for the JVM

newrelic.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 1 year ago.
Email

NodeJ - Node.js compatible framework running atop the JVM so it has access to pure Java as well.

MRI's Method Caches - James Golick explains why you should care and what he's trying to do to improve things.

afreshcup.com Read
  Source Favicon
By Nicolas of Heroku 1 year ago.
Email

2. JVM Languages - The modern JVM has an explicit memory model designed for multi-threaded concurrency, and has many frameworks explicitly designed to take advantage of this property. Utilizing more threads requires more memory for both the thread stacks and for objects created by these threads. The JVM is fully capable of taking advantage of the vertical scale in a 2X dyno.

3. Memory-intensive background jobs - image processing and geospatial processing often need larger dynos. If you've …

blog.heroku.com Read
  Source Favicon
By John Resig of John Resig 1 year ago.
Email

…and garbage collection. So eventually we'd like to support applications from platforms like the JVM and .NET.

Since asm.js is really about expanding the foundations of the web, there's a wide range of potential audiences. One of the audiences we feel we can reach now is game programmers who want access to as much raw computational power as they can. But web developers are inventive and they always find ways to use all the tools at their disposal in ways no one predicts, so I have high …

ejohn.org Read
  Source Favicon
By Paul Ingles of pingles 1 year ago.
Email

…operating system's file system caches rather than trying to maintain its own- minimising the JVM working set, and again, avoiding garbage collections.

The plot below shows results published within an ACM article ; their experiment was to measure how quickly they could read 4-byte values sequentially and randomly from different storage.

Please note the scale is logarithmic because the difference between random and sequential is so large for both SSD and spinning disks.

Interestingly, …

oobaloo.co.uk Read