25 April 2014

The Ruby Reflector



  Source Favicon
By Ben Weintraub of New Relic 1 day ago.

…detailed performance measurements from the garbage collector and the rest of the Ruby VM via the GC.stat and RubyVM.stat methods.

I'm pleased to announce that the latest version of the newrelic_rpm gem (3.8.0) takes advantage of these recent introspection improvements to give our Ruby customers some neat insights into how the Ruby VM is working for their applications. To demonstrate how these measurements can be useful, I'd like to show you how we used them …

newrelic.com Read
  Source Favicon
By Gastón Ramos of Gastón Ramos 6 months ago.

Finally I restarted the Vm tried again and just worked: bosh releases

------+----------+-------------+ | Name | Versions | Commit Hash | +------+----------+-------------+ | cf | 145 | 41733e43+ | +------+----------+-------------+ (+) Uncommitted changes

Releases total: 1

So, we uploaded our bosh release cloud foundry, now we need a deploy manifest: ./scripts/make_manifest

bosh status

Config /home/gramos/.bosh_config

Director Name Bosh Lite Director …

gastonramos.wordpress.com Read
  Source Favicon

Destroy your Vagrant VM: vagrant destroy

Remove your existing base box: # Vagrant >= 1.5 vagrant box remove phusion-open-ubuntu-12.04-amd64 --provider virtualbox vagrant box remove phusion-open-ubuntu-12.04-amd64 --provider vmware_fusion

# Vagrant <= 1.4 vagrant box remove phusion-open-ubuntu-12.04-amd64 virtualbox vagrant box remove phusion-open-ubuntu-12.04-amd64 vmware_fusion

Start your VM again. Vagrant will automatically download the latest version of the box. vagrant up …

blog.phusion.nl Read
  Source Favicon
By Paar of MySQL Performance Blog 8 days ago.

Virtual Box and running a Linux guest in a suitably sized (i.e. large) VM. In terms of the acronym " RQG", this stands for " Random Query Generator," also named "randgen."

If you're not just after finding any bug out there ("bug hunting"), you can tune the RQG grammars (files that define what sort of SQL RQG executes) to more or less match your "issue area." For example, if you are always running into a situation where the server …

mysqlperformanceblog.com Read
  Source Favicon
By Joshua Timberman of Chef Blog 15 days ago.

…process leaks. An issue here is we didn't have sufficient monitoring of the Erlang VM in Erchef, so we didn't know it was approaching the Erlang process limit.

How Will We Improve?

One of the most important things about doing a post mortem analysis of these kinds of problems is learning from mistakes, or learning how individual component failure can cascade. We have several corrective actions that will be taken by the team in order to ensure these kind of outages don't …

opscode.com Read
  Source Favicon
By Lucas Welch of Chef Blog 23 days ago.

…we can add Chef provisioning to it, so we can install new software packages to the VM in an automatic fashion. As an example, let's ask Chef to provision Apache2 httpd for us by adding some lines to our Vagrantfile.

Vagrant.configure("2″) do |config|

config.vm.box = "precise32″

config.vm.box_url = "http://files.vagrantup.com/precise32.box"

config.vm.network :forwarded_port, guest: 80, host: 7777

config.vm.provision :chef_solo do |chef|

chef.add_recipe …

opscode.com Read
  Source Favicon
By Todd Hoff of High Scalability 24 days ago.

…the Mullet Cloud Selection Pattern - business on the front and party on the back.

Providers like DO are cheap and the lightweight composable container model has an aesthetic appeal to developers. Even though it seems like much of the VM infrastructure has to be reinvented for containers, the industry often follows the lead of developer preference.

The mullet is dead. Long live the mullet! Developers are ever restless, always eager to move onto something new.

highscalability.com Read
  Source Favicon
By Jason Snell of New Relic 3 months ago.

…wasn't always reliable and was only fixed in Java 1.5. The Dalvik VM follows a similar history: http://stackoverflow.com/questions/4588076/is-dalviks-memory-model-the-same-as-javas . I'd also highly recommend reading this excellent guide to memory consistency on Android: http://developer.android.com/training/articles/smp.html .

Having performance issues of your own? Take New Relic Mobile's Android SDK for a spin!

The post Fast, Effective …

newrelic.com Read
  Source Favicon
By Pete Elmore of Debu.gs 3 months ago.

In which is described an Inferno program that generates Linux/x86 executables, the design of a simple VM, and programs that generate programs (but all of it will be horribly disappointing).


debu.gs Read
  Source Favicon
On Ruby News 4 months ago.

VM (method cache)

RGenGC(See ko1's RubyKaigi presentation and RubyConf2013 presentation )

refinements # 8481 # 8571

syntax changes

Decimal/Complex Literal # 8430

def's return value # 3753


use GMP # 8796

String#scrub # 8414

Socket.getifaddrs # 8368

RDoc 4.1.0 and RubyGems 2.2.0

"literal".freeze is now optimized # 9042

add …

ruby-lang.org Read