kumar naresh

Ranch Hand
+ Follow
since Mar 12, 2011
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
5
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kumar naresh

Roland,

Those questions are mainly for the authors @Aly Saleh, @Murat Karslioglu of the book "Kubernetes in Production Best Practices". To understand the best practices in on scenario based.

If you don't know the answers its better to go through the answers provided by others. There are many genius in these forums who can answer them instead of referring to basic tutorial.
1 month ago
Hi Aly and Murat,

Can you please provide your suggestions on the below queries?

1) Which one is a better approach:
a single container in a pod and in a node or
multiple containers in a pod and in a node or
single container in a pod but multiple pods in a node or
multiple containers in a pod but with multiple pods in a node
Most of the references go with single container in a pod and have its dedicated single node. But from the aspects of cost, reliability, efficiency which approach would be the best way. If there are any use cases for every paradigm it would help understand better.

2) Who does the actual requests load balancing API Gateway or Kubenetes or Load Balancer ELB? Consider a scenario where microservices are deployed in EKS kubernetes environment having API Gateway and ELB. API Gateway usually handles all the requests as it acts as a facade and also does Load balancing, Authentication and Authorisation, API metering, Logging etc. with HA assured. But Kubernetes also does the load balancing. How these three differ in the functionality of handling requests?

3) How to handle the session management or stateful sessions in Kubernetes environment in case In Memory Engine like Redis is not available?  

4) Where to have service related monitoring, metering, logging, configuration, security etc. at API Gateway or SideCar proxy?

These are few confusing and redundant components in Cloud. Clarifications on these are much appreciated.

Thanks,
Kumar N.


1 month ago
Hi Jean,

Is CI/CD approaches or the best practices will differ for an enterprise application which is on-premise to Cloud based? Usually the bug fixes or patches for an enterprise application (following micro services paradigm) goes seamless but in case of on-premise which follows the Monolithic approach has to be installed on all the servers manually.

Thanks,
Kumar.
2 years ago
1) Does your book provide any performance metrics numbers when EJB is compared with any other like POJO having transaction involved? Mainly looking for the reasons to use new EJB features instead of an alternative methodologies?
2) Rx related, in terms of combination of RESTFul with Asynchronous EJB any references?
3) Does this book covers on huge traffic issues like performance, scalability, reliability topics?
4) Are there any examples for public cloud deployments?

Thanks,
Kumar.
Hi Jim/August,

Security is a big topic and involves lot of effort in building the security component for an enterprise based application. Its rather easy to develop the business logic but to have it secured involves lot of effort.

Is it suggestible to use any third party security component for an enterprise based application or Is its always better to implement our own security. If the application has to supports applet, web and also devices like mobile, tablet etc.

Thanks,
Kumar.
7 years ago
Hi,

Some clarification required on few topics:

1) In most of the Application Servers apart from the Server jvm which is available there will be nodes of jvm which are mainly for batch processing. By using these nodes of jvm and using threads in them will solve the purpose of batching. Today I think most of the enterprise based applications do have Batching supported, for example startNodeManager in case of Weblogic Application Server and also these are available in other Application Servers as well. What are the benefits provided by new Batch processing in Java EE 7?

2) In case of WebSockets, How scale-able will the application be if it supports WebSocket at least in case of Glassfish 4? The way I understood is if there are 10,000 users connected to the server and opens the WebSocket request for conversation then there will be 10,000 HTTP upgrades to ws or wss requests are to be maintained. Will there be any issues if all the 10,000 users accessing the same information like in case of retrieving the latest Stock price of a commodity? Will it maintain any client specific conversations among two clients like chat application between two clients, in case of 10.000 users if every client is interacting with other but not all it may end with 5000 their specific information that has to be stored at the Server for all 10,000 users.

3) In case of Asynchronous Servlet, If a Client request spawning into a thread and waiting for an update from the Server then When there is an update from the Server will there be an another thread which will process the response for that Client. Is it like Server push the updates when available and those are sent to the registered Clients irrelevant of thread?

4) Second level Cache for JPA, Do it says to maintain good amount of RAM memory at the Application Server? Or will it be good if the memory is maintained in separate jvm on the same application server. Hardly remote invocation is better than database fetch.

Few suggestions for the Java EE Tutorial after every chapter if it is followed with few examples or their usages in some Use Cases is provided and followed with some Q&A like JavaSE follows it will be very grateful.

Thanks,
N. Naresh Kumar.
Passionate Java developer who thinks is a Java knight,
started his travel from its old version 1.2 to eight.
To get a chance of winning a ticket by giving a fight,
and hoping to get relaxed in Devoxx night.
7 years ago
Thank you for the response.

Kumar.
Usually there is a complaint about performance while rendering huge data in the browser when compared with server side code while loading a page. Do you suggest any best practices in this regard?

Do you suggest any design patterns and/or best practices to follow while coding javascript?

JS has to be written based on browser complaint sometimes, some code doesn't work in IE but works in Chrome. Are there any ways to get ride of browser specific code and make it work on any browser let it be mobile/tablet browser as well?

Thanks,
Kumar.
Hi Amritendu,

In my opinion there is already a book available "Real World Java EE patterns, rethinking the best practices reloaded" which gives in-depth knowledge in those areas. In fact a book has to give us complete knowledge instead of just cracking the Architect exam.

Thanks,
Kumar.
Any idea when Java EE 7 enterprise architect certification will be available? I am planning to update my skills to Java EE 7 if there are any good references apart from tutorial please furnish them.

Heard a lot about Adam Bien's book "Real World Java EE patterns, Rethinking the best practices reloaded" and I have gone through 2009 edition but looking for 2012 edition. Is pdf version of 2012 is available?

Thanks,
Kumar.
sceaexam<at>gmail.com
You can mention it as an assumption to address the scalability of application. But your application has to reflect to support scalability of the application showing it in Class diagram, Deployment diagram as well as.
Hi All,

I am not sure about this topic is related to this forum, feel free to move this to the relevant forum.

Oracle has introduced a new feature in CertView where you can download the eCertificate. Certificates which are achieved previously can be downloaded in pdf format.

Look for the option "* Download eCertificate" in your Certification History.

Thanks,
Kumar.
But couldn't it be the violation of layer structure. Service Locator falls in Business layer but DAO comes in Integration layer.
What is the use case for you to think about the DAO is injected with Service Locator instance?