How "professional" IM bots do not fail or are not blocked?

I want to develop a scalable IM bot (aka Automated Service Agent). This was done before , and I wonder what methods are used to maintain reliability. I see two problems with scaling:

1) On AIM, you can be launched if too many users warn you. My bot does not send spam or do anything malicious, but the vulnerability still exists.

2) If there are network problems in the network, and bot signs are turned on or off too many times in a row, AOL will block it for an unknown period of time.

+4
source share
2 answers

Here are some preventative measures to detect:

  • A bot can use multiple user accounts, so its activity is less likely to be detected.

  • The bot can use proxies to hide the discovery even further, obscuring its real IP address.

  • The bot can be programmed taking into account network rules and simply cannot break these rules in its logic.

In addition, in response to your first problem, fewer people than you might expect will actually report the problem.

In addition, and this is purely speculative , depending on network rules, one could simulate sufficient legitimate activity between two or more bots (and several user accounts) to compensate for the actual reports that are made.

In response to issue number two, with multiple accounts, the bot will simply move on to the next account when a failure occurs.

+5
source

Just some thoughts.

As for number 1, you are dealing with human interaction. If your bot doesnโ€™t annoy or urinate people, I doubt most people will take care. Rule number 1 with chats (IMHO) is to test it with the help of several people from different layers. Write down their answers and how they feel they interact with the bot. You can also collect good data to improve your bot understanding skills in this way.

As for number 2, you need to code an effective speed limiter. If there is a small number of protrusions in a short period of time, then it is probably normal to reconnect, but if they become more frequent, then you will need to back off more. This is really good for the service as a whole, because if they have problems with the server side, and there are a horde of bots attacking them when they try to bring things that pain.

+1
source

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


All Articles