Giter VIP home page Giter VIP logo

Comments (3)

ioolkos avatar ioolkos commented on June 8, 2024

@mths1 sounds interesting, yes.
Also note that we expose the subset of VM setting as exposed in cuttlefish:
https://github.com/basho/cuttlefish/blob/cb3df6a917ee93374de2b881e138e3dc6e9bf5cf/priv/erlang_vm.schema
I suppose we could just also add additional erlang mappings to the vmq-server schema file.


👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

from vernemq.

mths1 avatar mths1 commented on June 8, 2024

@ioolkos : Could also be an option, although I would be unsure if it is possible to add things from vmq-server to vm.args.

My main argument against adding them as single config values would be: Is it worth the effort? We would most likely never be complete, and if you are looking for advice on google etc. you'll find stuff like try +abcdefg which then you'd have to match to the VerneMQ config somehow. I'd consider those "expert" settings.

from vernemq.

ioolkos avatar ioolkos commented on June 8, 2024

Schema files are not limited to "their own" app. We could, as an example, add mappings to the vmq_server.schema file like this:

{mapping, "erlang.max_atoms", "vm_args.+t", [
  {datatype, integer},
  {default, 1048576},
  hidden
]}.

and then we should be able to do
erlang.max_atoms = 500000
in the vernemq.conf file.

But it's true that we need to have the mappings in place. I have no objection to an additional way à la RabbitMQ if it doesn't change too much inner workings. (for now, I haven't reviewed how Rabbit implements this)


👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

from vernemq.

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.