Comments (5)
Here is some more context. To replicate the issue please create a simple flask app that would run a query and create an endpoint that responds to another query, say, fetching a file from a server. So, the issue appears that when one runs
gunicorn -w 1 -b 127.0.0.1:5432 script:app
-- the app does not work properly during query processing
but when one runs
gunicorn -w 2 -b 127.0.0.1:5432 script:app
-- the app does run properly (i.e. can run the cypher query and fetch a file from a server simultaneously)
This behavior does not appear when using neo4j, but only when using pymgclient.
What this means is that when one is using pymgclient, there needs to be a second worker to process other requests to the server as pymgclient appears to block the worker.
from pymgclient.
Related to the discussion on Discord: https://discord.com/channels/842007348272169002/890968055339958292/1147113765716893777
from pymgclient.
Hi @cloudcell, so sorry we didn't attend to this sooner. Can you tell me if this is a blocking issue for you and how this affects your project currently?
from pymgclient.
from pymgclient.
Hi @cloudcell, thank you for the response. I'm glad to hear you found a workaround. If you have another issue, please open it here on GitHub or hop on a call with us to discuss more (maybe we can help).
from pymgclient.
Related Issues (18)
- Docs page has wrong Cursor.execute signature HOT 1
- Add support for asyncio HOT 1
- Remove key quoting from string representation of node/edge HOT 3
- pymgclient build/import issue HOT 4
- Update docs pages with temporal types
- Connection to host HOT 2
- openssl 3.0.2 HOT 8
- Release the GIL when dealing with not Python related things HOT 1
- error: ‘max_align_t’ undeclared (first use in this function) HOT 2
- Issue with Ubuntu 22.04 duee to libssl-dev version HOT 2
- Request to release linux wheel for python 3.7 HOT 3
- Add pyproject.toml
- Maybe don't link openssl statically by default? HOT 1
- import mgclient error HOT 6
- Add Bolt v5 features
- Handle partial results on timeout
- MgClient installation Error in PYMgClient HOT 1
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 pymgclient.