lars
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
this
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
seems like I need to read about other things before diving into profiling
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
how does bytecode has this info?
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
but in profiling we usually look at info like memory and cpu usage right?
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
yeah. Its because java bytecode is executed in JVM that's why jvm has better context of the runtime information. correct me If I'm wrong.
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
I mainly use java. but wanted to learn generic tools so that if I shift to some other lang I dont have to learn everything again
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
but other languages must also have similar tools for profiling them. right?
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
https://www.youtube.com/watch?v=Cw4nN5L-2vU
Andrei shared this in his x account. should I watch this first.
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 3/29/2025 in #java-help
Starting with profiling. any good suggestions for books
are these profiling tools independent of the language that we use?
34 replies
JCHJava Community | Help. Code. Learn.
•Created by F4F on 1/24/2025 in #java-help
ThreadPoolTaskExecutor - Configuration way.
which file?
28 replies
JCHJava Community | Help. Code. Learn.
•Created by F4F on 1/24/2025 in #java-help
ThreadPoolTaskExecutor - Configuration way.
How are you getting the threadProperties in your case?
28 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 11/27/2024 in #java-help
Using singleton pattern at a request level basis
Can't a server also fetch some data from another server?
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 11/27/2024 in #java-help
Using singleton pattern at a request level basis
Yes
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 11/27/2024 in #java-help
Using singleton pattern at a request level basis
But what would happen to it when another request comes that fetches record for another "id". Won't it just return the response for a previous request if it was saved.
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 11/27/2024 in #java-help
Using singleton pattern at a request level basis
Is there a way that the class that contains the function that I am calling to fetch the response handles this rather than handling it across the codebase.
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 11/27/2024 in #java-help
Using singleton pattern at a request level basis
That would require me to pass the same response across my codebase to various functions.
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 11/27/2024 in #java-help
Using singleton pattern at a request level basis
In the api flow if there is some condition met then I am making an api call to another service to fetch response. Now in the same flow later if some other condition is met then I have to make that call again and fetch essentially the same response that I got the first time. What I want is a way to save this response the first time in some variable and in the second call if this is not null then I return this else make the api call again. Is this clear enough or do you need me to provide some code example for this?
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 11/27/2024 in #java-help
Using singleton pattern at a request level basis
Can you elaborate please?
34 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 6/1/2023 in #java-help
Getting Slf4J error in SpringBoot
My mistake I duplicated the file in another package that's why it was throwing an error. It works now
25 replies
JCHJava Community | Help. Code. Learn.
•Created by lars on 6/1/2023 in #java-help
Getting Slf4J error in SpringBoot
I am using it like this
25 replies