Jump to content
McKay Development

Nogtail

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Nogtail

  1. After around 50 hours of my server starting I get 'Error: Not Logged In' when trying to send trade offers, I would assume this is because Steam has let my cookies expire (or just killed them because they hate me).

     

    Is there a way to detect when the session is no longer valid so I can create a new one? or is it better to refresh them on a timer every hour or so? (I am using node-steamcommunity)

     

    Thanks in advance.

  2. Clusters are designed for applications which have to process lots of things at once (like many user requests). Running bots is really not a good use for clusters.

     

    I'm personally running 30 bots within the same node process on low-end VPSes and the only problems I'm having are Steam IP limits.

    It isn't the bots that are causing the performance issues but building the dynamic pages and other relatively CPU intensive tasks.

     

    So you would recommend having a single instance my Bot Manager and access it over IPC?

  3. After some scalability issues with my site I decided to make the most of multiple cores and use Cluster to create many worker processes. It makes no sense to log in and poll on every worker process, so I would like to create and share a single instance of the Tradeoffer Manager between all workers.

     

    Is sharing a single instance Tradeoffer Manager the best way to do this? Are there any features of Tradeoffer Manager that would let me use multiple instances on every worker, but not waste resources logging in and polling on each one? If sharing a single instance is the best way to go, then what is a good way to be able to access it from the workers? I would rather use a callback-style interface if possible.

     

    Thanks in advance.

×
×
  • Create New...