You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stephen A. Ramsey edited this page May 28, 2026
·
7 revisions
Some hard-learned lessons
Lazy module import is to be avoided if at all possible, since ARAX runs in a multithreaded environment. This avoids nasty race conditions in the context of circular imports (see below), which is probably the main reason lazy import is used. It is strongly preferred to eagerly import modules when the application server is starting up in single-threaded mode. See #2788 for details.
Circular module imports, while sometimes necessary, should be avoided if possible (requires at least one lazy import, and see item 1 above).