teleirc icon indicating copy to clipboard operation
teleirc copied to clipboard

Response time of bot node js, and bot go

Open dorlanpabon opened this issue 4 years ago • 8 comments

I see that the bot in node js was faster when sending and receiving messages. The go bot has time limitations, if so, could something be done to improve it?

dorlanpabon avatar Oct 27 '20 05:10 dorlanpabon

This issue is complex to debug. There are many factors that could cause this, including network connectivity and number of hops.

These are my questions:

  1. What version of Go and what version of TeleIRC are used?
  2. What country is the TeleIRC bot running from?
  3. What country is the IRC server running from?
  4. Is it possible to take a traceroute between the two servers?

jwflory avatar Oct 27 '20 13:10 jwflory

  1. Go Version 2.01, the version de node 1.3.4 and is more fast
  2. United states
  3. I have no knowledge 4.I think so, Terminal openshift Note: I run the node js version on the same server and it is faster to receive messages. I run the version of go on the same server but it has a delay time when the messages arrive to telegram.

dorlanpabon avatar Oct 27 '20 13:10 dorlanpabon

So for more information, you are saying the issue is specifically with messages going from IRC => Telegram?

Tjzabel avatar Oct 27 '20 15:10 Tjzabel

Correct Tjzabel

dorlanpabon avatar Oct 27 '20 18:10 dorlanpabon

OK. We will keep this open. We need more data to debug this, but we can flag it for a developer meeting.

jwflory avatar Oct 27 '20 19:10 jwflory

very much thanks

dorlanpabon avatar Oct 28 '20 01:10 dorlanpabon

Discussed in 2020-11-15 meeting.


We did not actually discuss this in our meeting, but I did update this issue in our meeting. I moved this back into an upcoming sprint since we are low capacity because of university final exams and U.S. holidays. We should have a chance to look into this before the end of 2020 though.

jwflory avatar Nov 16 '20 01:11 jwflory

Thank you very much very kind

dorlanpabon avatar Nov 16 '20 04:11 dorlanpabon