Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7845409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:12:48+00:00 2026-06-02T17:12:48+00:00

I am currently making an online multiplayer chess game. I was wondering if it

  • 0

I am currently making an online multiplayer chess game. I was wondering if it would be appropriate to user triggers to log in every movement.

Then, using nodejs I would repetitively check the trigger table and update the visual for both players & observers.

Since I only need to make changes in the database, the visual aspect would follow up automaticly (using the recurring function to check changed data in the database). The goal of this would be to seperate the visuals from the logic involved to make the game.

Would any of you recommend this technique or its simply a no go?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:12:49+00:00Added an answer on June 2, 2026 at 5:12 pm

    You describe a possible technical solution for your task. But i strongly recommend NOT to do so.

    This will not scale very well – it adds a lot of overhead and load to both your database and application server.

    There are other lightweight possibilities that scale much better:

    • use a message queue like (for example) redis with the node_redis client. It has built-in pubsub semantics.
    • abstract your database calls and push all database updates to the message queue, too.
    • instead of using a “recurring” function (AJAX poll) to get status updates, you could use a HTTP streamer like jquery-stream or jquery-socket for example. This avoids the overhead of opening a new HTTP connection for each client update.
    • use the event-driven features of nodejs on the server side to push new events to the client connection.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently making a program which is supposed to prompt the user to
so i am currently making a game (a huge one over 3500 lines of
I'm currently making a little game with a countdown timer. I use an NSTimer,
I'm currently making a navigation with .active class as the user scrolls, but the
Currently I am making an online enquiry form with a set of fields that
I am making a simple music playing online app. I would like to make
I currently making a filebrowser. If the user clicks on a link to a
Currently making a global volunteer site, and the webpages will more or less have
I'm currently making changes to an older version of my app for customers still
I'm currently making an application with Backbone.js and some JQuery libraries. Today I work

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.