GithubHelp home page GithubHelp logo

HIPE support about cf-rabbitmq-release HOT 5 CLOSED

pivotal-cf avatar pivotal-cf commented on July 21, 2024
HIPE support

from cf-rabbitmq-release.

Comments (5)

michaelklishin avatar michaelklishin commented on July 21, 2024 1

When HiPE is enabled, there is a 2-3 minute startup penalty unless a pre-compiled directory is provided. BOSH and monitoring systems may or may not be prepared for this. So this is not a matter of exposing a configuration key to the BOSH manifest. It has to be a feature that's covered at the pre-compilation stage.

from cf-rabbitmq-release.

gerhard avatar gerhard commented on July 21, 2024 1

I believe that this BOSH release already supports it.

AFAIK, the Erlang package has hipe enabled - @scottschulthess do you want to validate this? - and the rabbitmq-server job exposes the rabbitmq-server.config property, so it's just a matter of setting it to a base64 encoded value of:

[
  {rabbit, [
    {hipe_compile, true}
  ]}
].

from cf-rabbitmq-release.

cf-gitbot avatar cf-gitbot commented on July 21, 2024

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

from cf-rabbitmq-release.

scottillogical avatar scottillogical commented on July 21, 2024

Closing for now then as this appears to be a feature request that would require more thought. Thanks @michaelklishin !

from cf-rabbitmq-release.

gerhard avatar gerhard commented on July 21, 2024

A RabbitMQ 3.7.3 with all plugins enabled running on Erlang 20.2.2 & n1-highmem-4 takes 60s to compile:

2018-02-06 17:57:30.406 [info] <0.5.0> HiPE in use: compiled 57 modules in 60s.

BOSH handles this compilation penalty well, because the contract with the rabbitmq-server job is a PID file. As long as there is a process running with the PID that Monit tracks via this PID file, BOSH is oblivious to the fact that RabbitMQ is HiPE compiling.

I encourage you to try this feature, in either BOSH release. I have just confirmed that it works as advertised in rabbitmq-server-boshrelease, I can't foresee any issues in cf-rabbitmq-release provided you follow my previous instructions 🙂

from cf-rabbitmq-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.