We've introduced a 250-millisecond read timeout in our database interactions to increase efficiency and overall system performance.
This timeout is essentially a time limit set for our system to get a response from the database. If the set time limit is exceeded without receiving a response, the read attempt is terminated, returning an error. This mechanism enhances our system's responsiveness and capability to handle numerous queries effectively, minimizing potential waiting times.
Further, we're excited to inform you that we're in the process of transitioning to a faster, more efficient database platform. This upgrade will significantly improve our query processing speed, resulting in better performance and reliability. However, this transition will take some time as we're ensuring a smooth and seamless shift to avoid any potential disruptions to our service. We apologize for any temporary inconvenience this might cause and greatly appreciate your patience during this period.
This timeout is essentially a time limit set for our system to get a response from the database. If the set time limit is exceeded without receiving a response, the read attempt is terminated, returning an error. This mechanism enhances our system's responsiveness and capability to handle numerous queries effectively, minimizing potential waiting times.
Further, we're excited to inform you that we're in the process of transitioning to a faster, more efficient database platform. This upgrade will significantly improve our query processing speed, resulting in better performance and reliability. However, this transition will take some time as we're ensuring a smooth and seamless shift to avoid any potential disruptions to our service. We apologize for any temporary inconvenience this might cause and greatly appreciate your patience during this period.
π7π2
Dear users,
To optimize our system, we have implemented a 250-millisecond timeout for database read operations. Understanding the possible complexities this could introduce, we would like to provide some recommendations to minimize the risk of timeouts:
Reduce the number of calls to
Limit the size of variable values: When using functions such as
To optimize our system, we have implemented a 250-millisecond timeout for database read operations. Understanding the possible complexities this could introduce, we would like to provide some recommendations to minimize the risk of timeouts:
Reduce the number of calls to
User.getProperty and Bot.getProperty: Try to limit the use of unnecessary variables. The fewer variables requested, the lower the database load, thus reducing the likelihood of a timeout.Limit the size of variable values: When using functions such as
User.setProperty and Bot.setProperty, it's recommended to keep data size minimal. Smaller data volumes process faster, reducing timeout possibilities. Props with data for All bots users - it is not good. Use list here.help.bots.business
Lists | Bots.Business - Help
π4π1
Since the beginning of the year, we've seen a substantial 100% increase in traffic. π±β€οΈππ₯³
This growth underscores the necessity of enhancing our system architecture, and we want to assure you that our team is actively working on it.
While we strive to improve our backend, it's also crucial that user-generated code becomes more efficient. An increase in the user base means increased diversity in the code, which can introduce performance bottlenecks, impacting the overall platform speed.
Unfortunately, when user codes are slow, they can impact the platform at large, causing all bots to slow down. As a result, we've had to introduce limits, including the 250-millisecond database read timeout, to maintain BB stability and improve overall performance.
We're continuously looking for ways to balance performance, user experience, and growth, while also maintaining a platform that allows users to build varied and complex bots. We appreciate your understanding and your contributions to improving BB.
This growth underscores the necessity of enhancing our system architecture, and we want to assure you that our team is actively working on it.
While we strive to improve our backend, it's also crucial that user-generated code becomes more efficient. An increase in the user base means increased diversity in the code, which can introduce performance bottlenecks, impacting the overall platform speed.
Unfortunately, when user codes are slow, they can impact the platform at large, causing all bots to slow down. As a result, we've had to introduce limits, including the 250-millisecond database read timeout, to maintain BB stability and improve overall performance.
We're continuously looking for ways to balance performance, user experience, and growth, while also maintaining a platform that allows users to build varied and complex bots. We appreciate your understanding and your contributions to improving BB.
π65π€¬62π4
Bots.Business
Since the beginning of the year, we've seen a substantial 100% increase in traffic. π±β€οΈππ₯³ This growth underscores the necessity of enhancing our system architecture, and we want to assure you that our team is actively working on it. While we strive to improveβ¦
We have more good apdex now.
Today we try to increase prop reading timeout for +40% from 250 ms to 350 ms
Today we try to increase prop reading timeout for +40% from 250 ms to 350 ms
π€¬10π3π2π₯1
Bots.Business
Once more time. This BJS is NOT working! DO NOT USE IT! Yes, it is working with 10 users, maybe 20. But it 100% is not working with 50 or more users! You will have TimeOut error. var fullBotUsers = Bot.getProperty("wholeUsers") for (var index in fullBotUsers)β¦
Once more time. This BJS is NOT working!
DO NOT USE IT!
Yes, it is working with 10 users, maybe 20. But it 100% is not working with 50 or more users!
You will have TimeOut error.
DO NOT USE IT!
Yes, it is working with 10 users, maybe 20. But it 100% is not working with 50 or more users!
You will have TimeOut error.
var fullBotUsers = Bot.getProperty("wholeUsers")
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Use Bot.runAllπ8π6β€1
Seems we have huge timeouts with Api.getChatMember for 8 secs.
Please temporary remove this code. You can comment it.
Fix in progress
Please temporary remove this code. You can comment it.
Fix in progress
core.telegram.org
Telegram Bot API
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram. To learn how to createβ¦
approx 500 tasks for bot cloning in progress now
update: completed
update: completed
π8π1
Forwarded from Bots.Business
We have this error with Api.getChatMember because it is not only one getChatMember
As a rule it is several commands like:
How make quickly work around?
Use Bot.run with runAfter:
As a rule it is several commands like:
getChatMember > check > ... > getChatMember > check >so you have timeout here because all this commands must be executed in 8 secs only! π
How make quickly work around?
Use Bot.run with runAfter:
getChatMember > runAfter > check > ... getChatMember > runAfter > check >We will move
getChatMemberto background asap with this issue.
π9π3β€1
Api.getChatMember is executed now in background with 100 secs timeout
One getChatMember method can take 5 secs so in one command you can check approx 20 channels
It is must be more stable now.
One getChatMember method can take 5 secs so in one command you can check approx 20 channels
It is must be more stable now.
π3π2
We have a lot of errors in BJS like on success of getChatMember:
BJS error: Cannot read properties of null (reading 'data')
this code can be looks like:
Because user don't post any request to bot: bot make request (with Api.getChatMember or etc) not user.
Simple fix
Fix your code with:
BJS error: Cannot read properties of null (reading 'data')
this code can be looks like:
if(request.data){
...
)
There are no any request In success command! Because user don't post any request to bot: bot make request (with Api.getChatMember or etc) not user.
Simple fix
Fix your code with:
if(request&&request.data){
...
)π10
Http.get method and another Http methods - timeout increased to 100 secs
π€£30
Bots.Business
We have a lot of errors in BJS like on success of getChatMember: BJS error: Cannot read properties of null (reading 'data') this code can be looks like: if(request.data){ ... ) There are no any request In success command! Because user don't post any requestβ¦
This error must be fixed now
π4β€1
Performance work continues. We want to significantly speed up BB.
It is most priority task now.
It is most priority task now.
π13π9
We are currently actively working on improving our system to ensure faster property retrieval. This update will significantly increase the speed of property reading and enhance overall performance.
We are investing significant efforts into a successful migration to a new and improved database. This process is complex and requires thorough testing to ensure seamless system operation after implementation. We strive for flawless execution of the data unloading mechanism from the old database, so we kindly ask for your patience and await further updates.
Stay tuned to our news as we will regularly provide progress updates and the latest developments. We are committed to providing you with enhanced features and a more efficient user experience with our system. Thank you for your patience and support!
We are investing significant efforts into a successful migration to a new and improved database. This process is complex and requires thorough testing to ensure seamless system operation after implementation. We strive for flawless execution of the data unloading mechanism from the old database, so we kindly ask for your patience and await further updates.
Stay tuned to our news as we will regularly provide progress updates and the latest developments. We are committed to providing you with enhanced features and a more efficient user experience with our system. Thank you for your patience and support!
π16π10π₯°3β‘1π₯1
Bots.Business
https://help.bots.business/google-analytics-tracking Google Analytics tracking available now.
Deprecated. Google remove it
π4π1
π8π5