simons2889
CDCloudflare Developers
•Created by simons2889 on 7/11/2023 in #workers-help
durable object socket multiple instance error?
have a question
client connect socketA, and when connected, socketA connect socket B
when socketB send msg to socketA, socketA again send client
socket A is durable object mutiple instance
it works well
when client msg to socketA
socketA request http GET or PATCH
and return to client
that process occured error(delay)
GET is all ok
PATCH occured delay
first and second patch request is work well
but third is occured delay 30s-1m
what is situation
please help me
1 replies
CDCloudflare Developers
•Created by simons2889 on 7/11/2023 in #general-help
cloudflare durable object socket and multy instace error
have a question
client connect socketA, and when connected, socketA connect socket B
when socketB send msg to socketA, socketA again send client
socket A is durable object mutiple instance
it works well
when client msg to socketA
socketA request http GET or PATCH
and return to client
that process occured error(delay)
GET is all ok
PATCH occured delay
first and second patch request is work well
but third is occured delay 30s-1m
what is situation
please help me
thank you
1 replies
CDCloudflare Developers
•Created by simons2889 on 7/8/2023 in #general-help
socket with one instance durable object
Please help me You are using a worker socket and one durable object instance. When 100 people connect to the socket and request data Can't it be processed in parallel? It seems to be processed sequentially now.
too many delay
1 replies