question

newuser-615b48e5-426e-4771-a433-8e51ac08c031 avatar image
newuser-615b48e5-426e-4771-a433-8e51ac08c031 asked ·

simultaneous usage of app

Hi i am using my skill simultaneously from different devices ( with same and different accounts). we are maintaining a table to store data and using After Insert Trigger action to store data in required tables. when we are using simultaneously. we are gettting time out , network issues frequently. select query based on user imput also having this issue some time. How can i increase performance. Implementation with nodejs Aleax-app. is this code issue or connection handling issue

step one for Search based on input:

return botLib.getTeacherUserInfo(loginId)

.then(function(alexaResponseMsg){

xyz...

}

Step:2 :

step-3:

alexagit-repositories
1618978488874.png (39.2 KiB)
1618978520716.png (25.9 KiB)
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Gaetano@Amazon avatar image
Gaetano@Amazon answered ·

Hello and thanks for posting.

It looks like you are using a third party package to send responses back to the skill, hence I would suggest to use GitHub "Issues" tab to reach out to the respective owners.

Regards,
Gaetano

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andy Whitworth avatar image
Andy Whitworth answered ·

Could be lots of reasons from incorrect sharing of connection handles through to database deadlocks with simultaneous access. This wouldn't seem to be an Alexa issue, more of a code/Db problem.

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.