Tap-Server Threading
-
bahuvrihi
One big issue is that schema modify globals. In the single-app model, one app might be running a schema with globals in one configuration, then be enqueued with a new schema that modifies globals.
There should be a schema queue
One schema executes, then another. Ensure a single app does not handle more than one schema at a time.
-
bahuvrihi
Tasks should have a lazy_attr that indicates whether or not they are thread-safe (true/false/nil). This can serve as a filter for even allowing multithreading in the server.
-
bahuvrihi
- Assigned user set to bahuvrihi
- State changed from new to invalid
This was too complicated to manage. Now servers have one thread to run the single server app and the main thread handles requests.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.