Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App instance retrieval on a per-thread basis #8

Open
joamag opened this issue Nov 26, 2015 · 0 comments
Open

App instance retrieval on a per-thread basis #8

joamag opened this issue Nov 26, 2015 · 0 comments
Assignees
Labels
enhancement New feature or request p-high High priority issue

Comments

@joamag
Copy link
Contributor

joamag commented Nov 26, 2015

Description

While using Appier it's important to keep in mind that many features of it use the concept of global variable to simplify the usage process.

These same global variables may created weird runtime issues while running the App, mainly while running multiple Apps in the same process.

To avoid some of thoses issues a per-thread association should be created between an App and the thread where it's container (web server) is running.

Solutions

The start() and stop() method of an app are called "inside" the web server container and should be used for this kind of registration.

@joamag joamag added enhancement New feature or request p-high High priority issue labels Nov 26, 2015
@joamag joamag self-assigned this Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p-high High priority issue
Projects
None yet
Development

No branches or pull requests

1 participant