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

In-system chat #34

Open
nfreader opened this issue Sep 27, 2014 · 2 comments
Open

In-system chat #34

nfreader opened this issue Sep 27, 2014 · 2 comments

Comments

@nfreader
Copy link
Owner

Like IRC. Messages persist as long as a pilot is in the system.

@nfreader
Copy link
Owner Author

nfreader commented Oct 1, 2014

THE WRONG WAY:
Ping a PHP script with jQuery ($.load on a timeout), that PHP script will execute a db query for any new messages. Our jQuery bit will append any messages to the message log.

THE RIGHT WAY:
Separate application, js templates, one o-dem fancy nosql engines.

@nfreader
Copy link
Owner Author

nfreader commented Oct 6, 2014

However, the first way could be used to populate the notification bar. The question is how resource intensive it is to do a DB query (every second * every active session).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant