Skip to main content
Tweeted twitter.com/StackGameDev/status/859981443245776897
Removed off-topic part.
Source Link
Vaillancourt
  • 16.4k
  • 17
  • 55
  • 61

I'm trying to create a browser-based game (made in PHP, MySQL, Js, HTML, and CSS) that is heavily dependent on user's actions being carried out after a certain amount of time passed whether online or offline. Will running cron jobs every second/minute a good practice or a solution to my problem?

Please check out this question first before answering, I ask this new question to focus more on the pros and cons of using cron jobs. To be more specific, here's a list of the things that I want to know:

  1. Scalability? Up to what extent?

  2. Performance? How fast? How slow?

  3. Server Overhead? Will a normal server be able to accommodate the load?

Assuming the game will be an MMO.

I appreciate all the help people! Thanks in advance!

EDIT: Can you also give me a game (if there's any) that is already using 'this' or even something similar?

I'm trying to create a browser-based game (made in PHP, MySQL, Js, HTML, and CSS) that is heavily dependent on user's actions being carried out after a certain amount of time passed whether online or offline. Will running cron jobs every second/minute a good practice or a solution to my problem?

Please check out this question first before answering, I ask this new question to focus more on the pros and cons of using cron jobs. To be more specific, here's a list of the things that I want to know:

  1. Scalability? Up to what extent?

  2. Performance? How fast? How slow?

  3. Server Overhead? Will a normal server be able to accommodate the load?

Assuming the game will be an MMO.

I appreciate all the help people! Thanks in advance!

EDIT: Can you also give me a game (if there's any) that is already using 'this' or even something similar?

I'm trying to create a browser-based game (made in PHP, MySQL, Js, HTML, and CSS) that is heavily dependent on user's actions being carried out after a certain amount of time passed whether online or offline. Will running cron jobs every second/minute a good practice or a solution to my problem?

Please check out this question first before answering, I ask this new question to focus more on the pros and cons of using cron jobs. To be more specific, here's a list of the things that I want to know:

  1. Scalability? Up to what extent?

  2. Performance? How fast? How slow?

  3. Server Overhead? Will a normal server be able to accommodate the load?

Assuming the game will be an MMO.

I appreciate all the help people! Thanks in advance!

edited title
Link
ashes999
  • 11.3k
  • 9
  • 61
  • 95

Will Is running cron jobs every minute a good practice for browser-based games?

replaced http://gamedev.stackexchange.com/ with https://gamedev.stackexchange.com/
Source Link

I'm trying to create a browser-based game (made in PHP, MySQL, Js, HTML, and CSS) that is heavily dependent on user's actions being carried out after a certain amount of time passed whether online or offline. Will running cron jobs every second/minute a good practice or a solution to my problem?

Please check out this questionquestion first before answering, I ask this new question to focus more on the pros and cons of using cron jobs. To be more specific, here's a list of the things that I want to know:

  1. Scalability? Up to what extent?

  2. Performance? How fast? How slow?

  3. Server Overhead? Will a normal server be able to accommodate the load?

Assuming the game will be an MMO.

I appreciate all the help people! Thanks in advance!

EDIT: Can you also give me a game (if there's any) that is already using 'this' or even something similar?

I'm trying to create a browser-based game (made in PHP, MySQL, Js, HTML, and CSS) that is heavily dependent on user's actions being carried out after a certain amount of time passed whether online or offline. Will running cron jobs every second/minute a good practice or a solution to my problem?

Please check out this question first before answering, I ask this new question to focus more on the pros and cons of using cron jobs. To be more specific, here's a list of the things that I want to know:

  1. Scalability? Up to what extent?

  2. Performance? How fast? How slow?

  3. Server Overhead? Will a normal server be able to accommodate the load?

Assuming the game will be an MMO.

I appreciate all the help people! Thanks in advance!

EDIT: Can you also give me a game (if there's any) that is already using 'this' or even something similar?

I'm trying to create a browser-based game (made in PHP, MySQL, Js, HTML, and CSS) that is heavily dependent on user's actions being carried out after a certain amount of time passed whether online or offline. Will running cron jobs every second/minute a good practice or a solution to my problem?

Please check out this question first before answering, I ask this new question to focus more on the pros and cons of using cron jobs. To be more specific, here's a list of the things that I want to know:

  1. Scalability? Up to what extent?

  2. Performance? How fast? How slow?

  3. Server Overhead? Will a normal server be able to accommodate the load?

Assuming the game will be an MMO.

I appreciate all the help people! Thanks in advance!

EDIT: Can you also give me a game (if there's any) that is already using 'this' or even something similar?

added 110 characters in body
Source Link
Loading
Source Link
Loading