Comments (6)
Well there are two considerations:
- debuggability -- it will likely be easier to debug some things in the multi-process configuration than the multithreaded configuration.
- stability -- currently if a worker crashes, the rest of them keep running happily; with multithreading, it's possible for a worker crashing to bring them all down.
Both of these seem like things that shouldn't be a problem in the long term, but likely are important enough that I'd imagine we want to support both options for a transitional period...
from zulip.
The places in the code to start looking at this are zerver/worker/queue_processors.py and zerver/management/commands/process_queue.py.
To start with getting this working in the development environment, you can patch tools/run-dev.py to run things with your new tooling.
from zulip.
Would be very cool to make this multithreaded, the 4GB memory requirement for a production server is very high.
from zulip.
#367 will make the Zulip workers multithreaded in the development environment; there will be a bit more work to do this in production since we'll probably want to offer both configuration options...
from zulip.
@timabbott cool! I'm not sure why anyone would want non-multithreaded workers, or is it temporarily until multithreading is stable?
from zulip.
Totally agree about the transitional period.
from zulip.
Related Issues (20)
- Migrate action functions to send event on commit. HOT 2
- Update Topic notification documentation. HOT 2
- Modernize layout of YouTube Previews
- Testing send mail fails HOT 2
- Investigate small vertical shift after entering message list
- TikTok HOT 1
- Option to revert change to Combined Feed Behavior HOT 3
- Organize and improve channel menu (left sidebar) HOT 2
- Slow/laggy loading of channel list HOT 2
- Live update user status icon in recent conversations DM row. HOT 3
- Email testing ssl.SSLCertVerificationError HOT 1
- Improve invitation modal stream pills backspace interaction HOT 3
- First and Only User, the OWNER can not create new accounts via API HOT 3
- Ignore mouse position for emoji selection until it's moved HOT 4
- Add `?` links to topic notification settings HOT 3
- Make channel click behavior configurable for the left sidebar HOT 1
- Clicking on a channel pill should show channel info HOT 3
- Fix incorrectly formatted links in Mastodon notifications via Zapier bot integration. HOT 2
- Improve channels typeahead on invite modal HOT 1
- Improve content of desktop test notifications 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 zulip.