Jignesh Patel

Ranch Hand
+ Follow
since Nov 03, 2001
Jignesh likes ...
More then 12 years of experience in software engineering industry.
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jignesh Patel

yup, I don't want to deploy quarkus on wildfly, I would rather deploy on kubernetes container on aws, but I need to define a bridge between application deployed in wildfly and kafka application deployment in quarkus.
1 week ago
Eventually I have implemented OSGI and war file on wildfly 10, which can support both at that time and it works as expected.
We are using customize wildfly 10 with OSGI. Recently I am exploring if the team can move Kafka OSGI bundle out of wildfly deployment and start using quarkus with managed kafka at AWS.

Since the GUI  is deployed in wildfly the request first hits war deployed in wildfly then it internally should call quarkus as I don't know if there is a better solution to directly call quarkus(if API gateway is not used).

To integrate with quarkus I know we can use rest calls but is there any other mechanism as the call will happen after the authentication at wildfly level.
1 week ago
How to build autoscaling with EC2 for wildfly? I did figure out how I can build an EC2 instance with wildfly by taking help of s3 bucket through launch template. I am not using containers at this time.
But when really autoscaling happens i.e. scale out, how would the code will get deployed to a new instance built through launch template?

In parallel , I am exploring that how would I can update nginx upstream? Do I just need to somehow figure out how ALB name  or I need to get individual IP of the machine via Lambda?

Tim Holloway wrote:
I suppose my general rule is that if I need something that is complex and/or runs a heavy workload and/or is a central subsystem, I'll put it in a VM. If it's lightweight, needs to be elastic, and is pretty much self-contained, it's a candidate for containerization.

I am running 5(host)+1(domain) wildfly servers in each environment, so how about getting benefitted about containerizing concept, to replicate them in multiple environments vs running EC2 virtual, where I have to configure each machine.
I did not understood, about what Deepak trying suggest? Is it advisable to do containerized wildfly - I can say our wildfly is already customized to support OSGI so for sure it is a heavy app server.

Also Tim, what do you mean by "more the container tends to look like a full-fledged VM. But without the advantages of a real VM." - are there advantages of using VM vs container in our context?

Tim Holloway wrote:The one downside to this is that Wildfly is a fairly heavy application. Docker containers are generally used with lightweight apps like Tomcat. The more demanding a containerized app is, the more the container tends to look like a full-fledged VM. But without the advantages of a real VM.

Thank you Tim for the insight, it is certainly helpful. But I believe in his book Deepak, even mention to containerize hadoop/hbase  etc.. How practical to containerize db?
Thank you Deepak, I really appreciate that.  This is something I wanted to implement from long time.
Not sure if I am asking too much(Sorry for that), is there a guideline to create a docker image for wildfly? I show couple of readyamade docker image for the wildfly, but ours is a customized wildfly so we have to build our own image.

Deepak Vohra wrote:Wildfly 10 kubernetes cluster could definitely be created on AWS EKS. WildFly Operator for Kubernetes could be used.

Some references:

Thanks Deepak for sharing, this certainly helps. I am trying to digest the details but I didn't get the point about creating docker, since wildfly is deployed on EC2, do I need to containerized wildfly on EC2 machine?
The above statement is context of following line:
"Create a docker with the artifacts in a wildfly’s module;"
Have you also provided how to containerize hadoop/hbase?  How does hard disc sizing works as database required huge disc space.

Ron McLeod wrote:
I haven't had a need to look at that yet, but I recently listened to a podcast from Adam Bien about Keycloak and there was discussion about a Keycloak adapter for Quarkus (if you know Adam Bien, you will know that the first half of his interviews are going-over his guests' background, so the Keycloak stuff starts around mid-way through).  There is a guide for integrating with Keycloak which describes it in some detail.  So far, I have just used servlet-filter-based authentication.

Thanks for sharing this info.

Ron McLeod wrote:
Quarkus applications can be compiled-down to native images and then deployed to ECS.  Start time is supposed to be only milliseconds, and memory utilization is less than half of JVM + application.  This is still new for me - lots to learn.

So I guess  for hadoop/hbase we have to create our own DAO layer, nothing is available and probably no OSGI support due to lower footprint.

Ron McLeod wrote:

Jignesh Patel wrote:We are running few servers on EC2 and we deployed wildfly onto them, I am thinking of migrating them to docker(i.e. ECS) and handle via  Kubernetes(i.e. EKS). Deepak do you think it will reduce the maintenance load on us?

Good question.

I am thinking of doing something similar, but instead of continuing to run a JEE server (such as wildfly), I want to move to single app per runtime microprofile deployments using Quarkus and GraalVM.  Any communications between the apps will continue to use JAX-RS or JMS.

Goods Thinking Ron!! Probably we will do the same for the new app development, but we need to continue using wildfy as we  have customized it to run with OSGI, so there is a still docker creation required for that.
How does Quarkus handle the authentication? can it be integrated with the identity manager (i.e. keycloak) and identity providers(OpenLDAP) deployed on other instances? Interestingly it has a description for the kafka and mongodb but no sample for hadoop/hbase?

Also how Quarkus linked to ECS and EKS?