Connect dot net core application to vitess data base - vitess

We deployed dot net core application in kubernetes and we started to use vitess database to scale mysql. How can we connect dot net core application with vitess?

Related

Azure Hybrid Connection Latency

Good Morning
We have built a App Service front end web application in vue.js that connects to a Backend App Service API in .net core 3.1 that uses the Hybrid Connection to communicate with our On-Premise SQL server. We have not installed the hybrid connection software endpoint on the SQL server but on another server in the same network.
We have noticed that this is 5-10x slower for most queries compared to our exposed hosted API that we are running at present, both the front end and back end are running on the same version of code. We do expect an increase in time taken but not as much as we are seeing.
What would be causing this to slow down and what are we are able to check to see where the issue is.
Thanks in advance

Optionaly use eureka or kube services for nodeJS application depending on the environment

I have a nodeJS application running as a microservice and there are two scenarios:
when a developer is doing development on his machine. nodeJS application should register to eureka service and be able to communicate with other microservices without specifying URL or port to those services
when nodeJS application is deployed to kubernetes cluster, it should not register to Eureka and instead use existing kubernetes Services within the cluster to communicate with other services, again without specifying URL or port, only kubernetes service name
I was thinking of maybe using some env var that will tell the nodeJS service how to behave depending on the environment it is being started in

Secure communication of services within Service Fabric standalone cluster

I already have secured Service Fabric cluster (Client to Node and Node to Node) using the following reference doc
https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-security
I need to get some help on setting up security for communication between each microservices within an application type inside Service Fabric.
For example I have this sample application with AngularJs front end and two stateful services, service A & service B
Q: What is the best practise to secure the calls from the AngularJS Front End to the Service A and from Service A to B etc.? (red arrows in the diagram below)
sample application scenario
Is there any reference document or book that I can refer

Deploy NodeJS applications on azure service fabric cluster

I am using MAC.
I am new to azure fabric service. I have already created my local cluster using https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started-mac .
Now I have to deploy my two Nodejs application on my local cluster. Both applications are running locally. I am unable to connect these applications to my cluster. how can I deploy Nodejs application on azure service fabric cluster using MAC?

Slow load time from asp.net core static files when using service fabric and reverse proxy

I have provision a service fabric cluster using the template. And created a application containing a asp.net core service. I have a azure load balancer pointing to service fabric revers proxy that pointing to the asp.net core service.
Now to the strange part when I try to load 1,3 MB javascript file from the service it take 22 seconds on my 100 MBit connection. If I insted point the load blancer to the service in service fabric nodes it take 500 ms on the same compute calling the same service in service fabric.
If I call the same url on one of the service fabric nodes they take 300 ms if I use the revers proxy url.If I use the load balanced url pointing directly to service on the nodes it take 100 ms.
All the times is time to first byte. Is there a problem with azure load balancer and service fabric reverse-proxy?
This was a bug and is now fixed by Microsoft in Service fabric version 5.5.232.0

Resources