Comments (5)
@csdaa , please provide the STF configuration (command line, docker-compose file, etc.) on each computer, how devices are connected to the computer ?
from stf.
Hello Mr. @denis99999
Can I ask you a few questions:
How many devices can stf control at the same time?
Which deployment method can maximize its performance?
from stf.
Hello Mr. @denis99999
We only have one server, so I can only give you a piece of STF configuration information.
We use the connection mode of mobile phone to hub and hub to computer host.
for example:
We use 7 mobile phones to connect to the first hub, and then the first hub is connected to the first host. The host is connected to the server through the switch.
The server and the node are connected through the adb exposed port. The node exposes the port through the command: "adb nodaemon server -a -P 5037", and the server executes "stf provider --name TestNode --min-port..."
docker-compose:
`version: "3"
services:
rethinkdb:
container_name: rethinkdb
image: rethinkdb:2.3
restart: unless-stopped
volumes:
- "rethinkdb-data:/data"
command: "rethinkdb --bind all --cache-size 2048"
adb:
container_name: adb
image: devicefarmer/adb:latest
restart: unless-stopped
volumes:
- "/dev/bus/usb:/dev/bus/usb"
privileged: true
stf:
container_name: stf
image: devicefarmer/stf
ports:
- "7100:7100"
- "7110:7110"
- "7400-7500:7400-7500"
environment:
- TZ='America/Los_Angeles'
- RETHINKDB_PORT_28015_TCP=tcp://rethinkdb:28015
- STF_ADMIN_EMAIL=[email protected]
- STF_ADMIN_NAME=[email protected]
restart: unless-stopped
command: stf local --adb-host adb --public-ip 192.168.8.132 --provider-min-port 7400 --provider-max-port 7500
volumes:
rethinkdb-data: {}
`
Connection script for node 1:
stf provider --name 48.127 --min-port 7400 --max-port 7700 --connect-sub tcp://127.0.0.1:7114 --connect-push tcp://127.0.0.1:7116 --group-timeout 900 --public-ip 192.168.63.121 --storage-url http://localhost:7100/ --adb-host 192.168.48.127 --adb-port 5037 --vnc-initial-size 600*800 --mute-master never --allow-remote
Connection script for node 2:
stf provider --name 48.81 --min-port 7400 --max-port 7700 --connect-sub tcp://127.0.0.1:7114 --connect-push tcp://127.0.0.1:7116 --group-timeout 900 --public-ip 192.168.63.121 --storage-url http://localhost:7100/ --adb-host 192.168.48.81 --adb-port 5037 --vnc-initial-size 600*800 --mute-master never --allow-remote
from stf.
@csdaa , you have to review your configuration entirely following full deployment example in DEPLOYMENT.md documentation, in particular you can't use the stf local
mode in such distributed architecture, ADB
and provider
units have to run on the same host where the devices are connected to, provider
unit have to point to the triproxy-dev
unit (not to loopback address), etc.
How many devices can stf control at the same time?
No know limits, it depends of your STF configurations and your material capacities
Which deployment method can maximize its performance?
cf. DEPLOYMENT.md documentation
from stf.
@csdaa , you have to review your configuration entirely following full deployment example in DEPLOYMENT.md documentation, in particular you can't use the
stf local
mode in such distributed architecture,ADB
andprovider
units have to run on the same host where the devices are connected to,provider
unit have to point to thetriproxy-dev
unit (not to loopback address), etc.How many devices can stf control at the same time?
No know limits, it depends of your STF configurations and your material capacities
Which deployment method can maximize its performance?
cf. DEPLOYMENT.md documentation
Thank you for your help
from stf.
Related Issues (20)
- Wrong minicap invocation inside the 'util' unit
- Upgrade adbkit to version 3
- Cyclic restart of the stf service HOT 6
- The software is uninstalled after the connection is disconnected. HOT 1
- While building the project on ubuntu, an error occurs "rootDirectory” HOT 3
- Why can only 25 devices be available at all times? HOT 8
- After the device is connected to SFT, the orientation lock will be automatically turned off. How can this feature be disabled?
- ForbiddenError: invalid csrf token - while logging in through an iframe HOT 2
- Pixel6 Android 14 beta => Search function not working on home screen
- stf-app unable to connect to rethinkdb:28015 HOT 9
- STF on docker cannot connect to the device
- Devices stuck in preparing, cycling service start HOT 11
- Inquire how to use Android beta 14 in Mac OS environment HOT 5
- Unable connect to real devices, both are disconnected in the device dashboard HOT 3
- Why root admin is only able to see the main default froup ? is there a way to make other admin to see default group ? HOT 1
- Use of Outdated and Insecure Algorithm DES-ECB to encrypt
- On pixel phone jp.co.cyberagent.stf could not be assigned a valid UID HOT 4
- STFService repeatedly prompts for installation on Xiaomi 11 Lite 5G HOT 8
- mac openstf and ldap auth fail (Authentication Failure for "test account") HOT 5
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 stf.