Skip to content

Game Query Cache #501

Open
Open
@CrazyHackGUT

Description

@CrazyHackGUT

Is your feature request related to a problem? Please describe.

Now SourceBans++ queries all servers again and again when we open SB page.

Describe the solution you'd like

I suggest add the query cache. Data may sometimes differ from real data, but the server will deal less with processing SB++ requests.
I see two ways for implementing cache:

  • When user requests SB++ page, web checks the relevance of cached data, and if data is too old (saved 30 seconds ago, by example), he requests data again and saves in cache.
  • Plugin sometimes sends data to DB manually (player list (with SteamIDs: this can also solve a problem with status parsing when we add a ban or comm ban from Servers page), current map, hostname, max players slots, etc.).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions