-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laggy? #2
Comments
Damn, I was just about to start using firebase. |
@msqaddura we have been able to make optimizations to make it pretty smooth! We are using it in production in this app if you wanna see what's possible :p https://itunes.apple.com/us/app/bunch-group-video-chat-games/id1294869021?mt=8 |
Pretty Awesome! I dont use iphone but it hella looks pretty awesome!! I recommended it for my friends. |
hah thanks! It's written in react native so hopefully android coming soon :p Ya, we followed that pretty closely. Built onto it a bit but works pretty much the same -> clients write commands to a path, which trigger a cloud function that does something. Client may update asap so it doesn't have to wait until function finishes. Feel free to reach out for any questions! We built a friend system, presence system, and some real time games using this architecture with some modifications and have been pretty happy with it! |
I have noticed that sometimes there is a fair amount of lag from the time you press the button and the time the circle/x show up on the screen - especially if I send a lot of events to firebase with move commands that may not be valid :p .
Is that expected? I am guessing sometimes the functions take a bit of time to run after the path has been written to? I am also on the free trial, would that be it?
The text was updated successfully, but these errors were encountered: