Skip to content

Sometimes it takes a long time for getInt to get the value #195

Answered by mobizt
paulaegido asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to manually reading the data while storing the data, you can use different FirebaseData objects.

One FirebaseData object can use for storing the data or fastest storing as in this example

Another FirebaseData object can use for reading the data.

The time for first connection with server depends on the SSL handshake operation time (almost 1 second or more ) and time to send the request (depends on payload and auth token size).

Normally the TCP (http) session will keep open to reuse, the subsequent request can be performed faster in few hundreds ms without waiting for the SSL handshake as in new connection.

The library will close the TCP session that exceeds 3 minutes, the subse…

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@paulaegido
Comment options

Answer selected by paulaegido
Comment options

You must be logged in to vote
1 reply
@paulaegido
Comment options

Comment options

You must be logged in to vote
8 replies
@paulaegido
Comment options

@mobizt
Comment options

@paulaegido
Comment options

@mobizt
Comment options

@paulaegido
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants