Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created April 13, 2020 05:28
Show Gist options
  • Select an option

  • Save AdamBien/3e121e3a8b3f24b9c8d83aa4c2eaac3b to your computer and use it in GitHub Desktop.

Select an option

Save AdamBien/3e121e3a8b3f24b9c8d83aa4c2eaac3b to your computer and use it in GitHub Desktop.
74thAirhacksQ&A.md

Ask questions and see you at May, 4th, 8.PM. CET: https://vimeo.com/event/19368

Also checkout recent episode:

73rd airhacks.tv

Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.

@thehpi
Copy link

thehpi commented May 4, 2020

Hi Adam,

Some Payara monitoring questions:

Do I need to enable monitoring to be able to get statistics. I'm asking because if I don't enable it and connect with visualVM I do see e.g. jdbc-connection-pool statistics. But if I connect with jmx_exporter from Prometheus I don't get them.

What is the impact on performance when I enable jdbc-connection-pool monitoring in Payara and get that data e.g using the jmx_exporter from Prometheus. So would it be wise to have this enabled in a production environment? If not how would you monitor the jdbc but also thread pools?

Is there a better way (compared to using jmx) to get the monitoring statistics? Or is e.g. the rest monitoring interface just built on top of the jmx stack?

@thehpi
Copy link

thehpi commented May 4, 2020

If my EJB is thread safe could I use @singleton instead of @stateless? If not what would be the main reasons not to do so?

@GADNT
Copy link

GADNT commented May 4, 2020

Hi Adam,

what are your thoughts about JHipster ?

Thanks and good topics this airhacks edition.
Gabriel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment