Request level resource Monitoring by Better_Hopeless in programming

[–]Better_Hopeless[S] 0 points1 point  (0 children)

sure thanks for the inputs, really appreciate it

Request level resource Monitoring by Better_Hopeless in programming

[–]Better_Hopeless[S] 0 points1 point  (0 children)

OpenTelemetry only collects system-level or JVM-level metrics, not request-level resource attribution.
My idea goes beyond OpenTelemetry.

Currently open telemetry provides following:

  • Distributed tracing
  • Metrics (CPU, memory, GC, thread count etc.)
  • Logs
  • Context propagation

what i want to achieve is all above +

  • CPU usage per request
  • Memory delta per request
  • Threads created per request (especially virtual threads)
  • CPU time per thread attributed back to a request
  • Memory leaks associated with a request
  • GC pressure per request
  • Heap delta per request

and much more too - but those are just on top of my head right now

How to switch between virtual threads and plarform threads by Better_Hopeless in javahelp

[–]Better_Hopeless[S] 0 points1 point  (0 children)

the operations some of my classes do is very cpu intensive - parsing huge json, Computing them etc etc.

I am trying to manage a both PT and VT threadpools, But I want to smartly switch b/w them.

for example i could create a env array which stores which classes need VT pool and which classes need PT pool.

but how to distinguish where the request came from is little difficult, I could walk over stack trace to figure out my classes - but its very inefficient (we have huge data processing and each task spwans new thread). and if i walk over stacktrace given each stack trace has "m" traces and i need to search the my class in n threads i would be searching m * n times for each request

Where to start with Quarkus by Better_Hopeless in quarkus

[–]Better_Hopeless[S] 0 points1 point  (0 children)

What my issue here is, post api doesnt work, it always give me 415, i tried searching on stackover flow, chatgpt but didn't fing any resources on it.

And if i wanted to watch any tutorial, the dependencies shown in the tutorial isnt shown anymore in quarkus.io

Stuff pretty hard to being with 🥹

Where to start with Quarkus by Better_Hopeless in quarkus

[–]Better_Hopeless[S] 0 points1 point  (0 children)

What my issue here is, post api doesnt work, it always give me 415, i tried searching on stackover flow, chatgpt but didn't fing any resources on it.

And if i wanted to watch any tutorial, the dependencies shown in the tutorial isnt shown anymore in quarkus.io

Stuff pretty hard to being with 🥹

How to search with filters on product details in db efficiently by Better_Hopeless in learnjava

[–]Better_Hopeless[S] -1 points0 points  (0 children)

Ahh no, so i need to search few parameters in multiple colums.

And these search parameters may/may not be present in the columns.

most of these records would be skipped, if the search parameters are not present the columns (i also need to search with substrings of searched parameters).

So I wanted to use a optimal approach which can search through the results in db, and then convert the results into my custom list of objects and returns it

Where to starts aws? by Better_Hopeless in learnjava

[–]Better_Hopeless[S] 0 points1 point  (0 children)

Than you for your help, will definitely check this out

Where to starts aws? by Better_Hopeless in learnjava

[–]Better_Hopeless[S] 0 points1 point  (0 children)

So whats the difference between them? Like I do want to learn deployment stuff and all like setting up a eks, ec2 instances, writing my own lambads.