Comments (6)
Yes but it only needs to be run one time at the beginning. Except if I did not understand how works workers
from provision.
Workers are separated processes, started by the daemon.
When a worker start @onWorkerStart is called. Just one time for each worker.
from provision.
That's problematic since it seems that I can only use one ADI handle at a time, or it will break. How can I do.
When I compare my old archttp implementation with the new experimental serverino one, I can see that the older one always respond with the needed data while the serverino will fail and break after few requests.
Tested by running this command to stress test the server:
curl 127.0.0.1:6969 & curl 127.0.0.1:6969 &curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 & curl 127.0.0.1:6969 &
from provision.
That's problematic since it seems that I can only use one ADI handle at a time, or it will break. How can I do.
But they live in different processes. There is no data shared between responders. Each responder is completly isolated. If you run 4 responder, you're running 4 different instances each one with a single ADI handle. Is this a problem?
from provision.
I don't really know how ADI exactly works. What I described is not related to the location of the ADI instructions (if they are in onServerInit or in onWorkerStart), it happens with both locations. The only thing I really know is that ADI functions break with the serverino version, and that ADI interracts with a file on the filesystem located at ~/.adi/adi.pb
.
from provision.
Switching back to archttp for now.
from provision.
Related Issues (20)
- anisette-server seg fault on armv7 HOT 2
- Docker time error HOT 6
- Raspbian 64-bit Anisette Server Execution Error HOT 7
- Unable To Bind Websocket HOT 3
- An error occurred. Thereโs an error above. Please fix it to continue. HOT 5
- Segmentation Fault Raspberry PI Model 2 B HOT 8
- Hg
- Sidestore
- docker volume seem to not work, maybe due to permissions HOT 1
- it just restarts and lags my server HOT 2
- Render not allowing the creation of the service HOT 7
- Ii
- Provision doesn't work on Apple Silicon macs (bus error) HOT 6
- May I ask if there is a corresponding function for the export name Sph98paBcz on iOS HOT 23
- Anisette_server crashes on Apple Silicon Linux - loading openssl: unknown version for init HOT 4
- loading openssl: unknown version for init HOT 1
- Build failed HOT 7
- Unable to run on Raspberry Pi5 (armv7) HOT 2
- Unable to run o Raspberry Pi 4 Model B Rev 1.5 (ARMv8) HOT 6
- docker: Couldn't resolve host name
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 provision.