Comments (4)
@heng4fun relay server supports connection scaling to agent depending on the load ( number of user connections ). here's a gist of it,
i) by default server maintains 10 connections with respective agents
ii) if the current streams goes beyond the threshold ( 400 ), it triggers an auto-scale request which increases the number of connections to agent ( max 30 connections, it does so temporarily to handle the user requests )
iii) relay server then continuously checks whether there are any requests to these scaled clients, if not for a predefined healing period it scales the connection down ( min 10 connections )
if above does not suffice or there is a need to scale relay servers itself, then relay peering sentry will kick in and here's a gist of it
i) relay peering service in paralus core facilitates the peer learning mechanism, all relays are hooked into this service long lived channels.
ii) when a relay misses the cluster-connection lookup, it will probe the service to fetch its peer information. The service, in turn, performs the survey and find the relay that can handle the cluster, then sends a reply
ii) once the relay learns about its peer, it upstreams the blocked request to the peer.
hope this adds some context around how relay scaling / user requests are handled.
from paralus.
In this case, looks like relay-server is crashing and coming back up, if you can share some logs around the failure right before it crashed it will be helpful to understand what might be going on.
from paralus.
Thank you very much for the reply. I am recently looking into the issue with the relay-server and gathering some relevant logs.
from paralus.
Thank you very much for the detailed explanation.
We have finally discovered that the issue lies with our proxy server and not the relay server.
from paralus.
Related Issues (20)
- Not able to spin up the environment using docker-compose HOT 1
- Enabling SSL caused relay-agent registration to fail. HOT 2
- Comma separated Okta groups are considered as Single group by Paralus HOT 3
- Cluster status - heartbeat: Ability to regularly check in on the target cluster status HOT 3
- RW access on ADMIN_READ_ONLY role HOT 5
- Cannot install Paralus when using a managed PostgreSQL database HOT 4
- Scale Paralus and Relay replicas for high availability and no-downtime upgrades HOT 3
- Problem with golang library in Relay server HOT 4
- Issue while generating user recovery link
- unable to access paralus dashboard HOT 4
- Unable to download cli config for non-admin users HOT 3
- Support SAML authentication
- Adopt a license scanning tool HOT 1
- Add post upgrade db update steps for release v0.2.4
- How to auto register new EKS cluster into paralus dashboard automatically
- revamp initialize module, currenty if permissions are added / modified, redeploying does not consider those HOT 1
- Please provide an ability/Command to register the EKS cluster via CLI
- pctl create user/group not working as expected HOT 1
- Report the use of components with vulnerabilities in paralus HOT 1
- Documentation error @enable ssl setup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paralus.