Don't found how to optimise my data consumption #310
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Firebase server will close the session in 50 seconds for the session reusage by keeping session opened since connected. Library will close the session on its end after 3 minutes. Any request after 50 seconds and within 3 minutes since connected will fail because of response time out. User needs to close the session when sending request during that period (50 sec. - 3 min.). Note that the above statement except for SSE (stream). |
Beta Was this translation helpful? Give feedback.
-
You have to keep in mind that, the data transfer via HTTPS has larger overhead for SSL data than non-secure HTTP connection. |
Beta Was this translation helpful? Give feedback.
-
As you know, TCP Keepalive causes more data usage as it probes the server connection periodically. If data usage is your concern, do not use TCP keepalive. |
Beta Was this translation helpful? Give feedback.
Firebase server will close the session in 50 seconds for the session reusage by keeping session opened since connected.
Library will close the session on its end after 3 minutes.
Any request after 50 seconds and within 3 minutes since connected will fail because of response time out.
User needs to close the session when sending request during that period (50 sec. - 3 min.).
Note that the above statement except for SSE (stream).