Browser Based Best Practices MMO

I am developing a google map-based online browser game with the Django backend, and I'm getting close to the point where I need to decide on how to implement the (backend) time, when the events, i.e. the amount of NPC ownership (e.g. population cities should grow based on some variables - city size, speed of application).

Possible solutions that I found:

  • Introductory queues in the table and their processing along with each request.
    • Challenges: huge overhead, harder to implement
  • Using cron or something similar
    • Problem: This is an external tool, and I want as few external tools as possible.

Any other solutions?

Possible duplicate:

Python web game + Django and client browser polling

+3
2

, , . , ( , ), , cronjob . , , .

, , .

, , 5 , , . , , , , , .

, , , . . , , , , .

+5
+2

Source: https://habr.com/ru/post/1755618/


All Articles