Comments (1)
@dhorbach currently gridrouter does two things: reads XML files on start and re-reads them on XML change. So if you dynamically change XML using some hooks from the cloud side - it will work. However having several instances of Gridrouter behind load balancer you can have a situation when one instance has already loaded a new XML and another one - has not. In that case with round-robin load balancing the following can happen:
- You request a browser from already updated instance and get a session from a newly added host
- The second request goes to another instance with old quota and fails with 404 because new hosts are not present in quota
This state can last a few seconds and we know about it. However with sufficiently big number of hosts behind grid router this situation is not very probable.
You may also want to look at our recently open-sourced Selenium Hub replacement: https://github.com/seleniumkit/selenoud This stuff uses Docker API to start container with browser for each session. You can prepare containers for all browsers and have homogenous nodes with Selenoud behind GridRouter.
from gridrouter.
Related Issues (15)
- Jetty 403 Forbidden on fresh install HOT 6
- Increase session request timeout HOT 3
- [RU] BAD_HUB_JSON Not work for Winium HOT 13
- Scaling hubs behind Gridrouter HOT 3
- Enhancement: safe shutdown
- Verifying compatibility with Selenium 3.x HOT 2
- Changing Port of Grid Router HOT 1
- Unable perform on android or iOS Device HOT 14
- Cannot create session on any available node HOT 13
- Method /element/:elementId/clear return empty response with code 502 HOT 1
- Jetty 403 forbidden HOT 8
- Session [null] not available and is not among the last 1000 terminated sessions HOT 6
- Installation on ubuntu 17.10 HOT 1
- Ability to run on Mac HOT 7
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 gridrouter.