Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 14 days ago.
Improve this question
I am planning to build an android chat application and confused choosing either realtime database or firestore. The chat application will also support sending attachment (pictures and videos). So according to me realtime database would be better. Please correct me if I am wrong.
Firebase Realtime Database and Firestore are both real-time databases from Firebase, and both can be used for a chat application. While Realtime Database has been around for longer, Firestore provides several advantages over Realtime Database, such as more advanced querying, better scalability, and better support for offline usage.
Both Realtime Database and Firestore support sending attachments (pictures and videos) by storing the attachment data as binary data within the database. If your chat application is expected to handle large amounts of data, Firestore may be a better choice as it is more scalable than Realtime Database.
In conclusion, either Realtime Database or Firestore could work for your chat application, but Firestore may offer some advantages in terms of scalability and querying capabilities.
Firebase offers a questionariy where you can find out what you should pick based on your needs.
Check it out here: https://firebase.google.com/docs/database/rtdb-vs-firestore
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I don't understand the difference between firestore and storage and realtime database in the firebase spark plan.
I am creating an android application that requires around 10gb of storage and around 1000 realtime users downloading the file. Which cloud service should I use?
Either Realtime Database and Firestore are database.
Realtime database is JSON-based NoSQL data storage and Firestore is document-based data storage so you can keep user data in them.
If you want to store files that image, music, file or video etc.. should use Storage, not Firestore.
You can use Storage for files, Real-time database for user data.
well it depends on your needs
so for hosting files you should use storage but the free plan gives you 5GB only and 50K/day downloads
the Firestore and realtime database are databases pretty much clear you use them to store information ( in files case you'd store the files URLs f.e ) you might not use them if your implementation doesn't require storing any data
you could use Firebase pay as you go plan it includes the free Spark quota too
Edit
here's where to find storage
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Which is the best free online database for Android? It is for a management app and the data is structured with many different tables. And it's a SQL and retrieve data in the form of query .
I would recommend Firebase Cloud Firestore, if its only database you need, it does a great job at simplifying all the configuration and operations to read/write.
Its a NoSQL database so not sure if it might be what you are looking for. It might be a bit harder to find specific pieces of data in the database but with the Firebase SDK everything is very accessible and easy to handle from your app. It's also free and easy for beginners to use.
https://firebase.google.com/docs/firestore
MongoDB is another NoSQL option. You can get a free, 500MB server though Mongo Atlas.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I don't want to be an expert or anything, I just need the simplest local database for android applications. I'm used to Parse (not local) but as it has been taken out I need a new one.
I've come accross SQLite and Couchbase Lite. I don't like the first one and I am not sure I can use Couchbase Lite only locally, without uploading my database to the server. Which do you recommend? Which is closer to Parse?
My application will save A LOT of data, so the database needs to be light, fast and with good documentation.
Thanks!
You can use Realm.
Realm Mobile Database is an alternative to SQLite and Core Data. Thanks to its zero-copy design, Realm Mobile Database is much faster than an ORM, and often faster than raw SQLite.
In Addition, it has good documentation.
You can use Couchbase Lite purely as a local data store. It's quite capable as is, and will be adding some very powerful features in the upcoming 2.0 version.
In terms of simplicity, I find it just about equivalent to regular file i/o in complexity, for basic use.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
The game itself is not complex at all -a simple board game. But complexity comes from the fact that when 1 player makes a move, the opponent must get this information immediately.
Obviously this is the responsibility of the backend. I plan to use Firebase for this purpose, but I am not sure if Firebase is capable to pass thru tons of messages like this. And I know it has cons because it's cheap and mBaaS cloud service.
Reading the docs did not tell me much - only bragging how they can do this all.
Does anyone have personal experience with Firebase and real-time game that exchanges a lot of messages between 2 players?
Do I need any special setup in the code?
Yes it is definitely suitable. I build a game for iOS using firebase as backend and it is capable handling that messages. You don't need any special setup just include the sdk and configure Firebase in your Appdelegate class and voila start using your real time database.
Short description: Firebase is a cloud hosted Realtime Database. The data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps with our iOS, Android, and JavaScript SDKs, all of your clients share one Realtime Database instance and automatically receive updates with the newest data[Description from Firebase].
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm currently developing an android application. It stores user login and sign up information using Firebase.
The challenge I'm faced with is finding a suitable database to store information from websites which I would gather myself and allow the app to automatically update and include that information.
Firebase doesn't have a GUI that can create tables and records, so it does not fully meet my requirements. It'll only be used for user authentication.
I've read answers to questions similar to this and saw alternatives such as:
AWS
Buddy
Kinvey
I currently don't have the budget to pay for a premium service so I'm looking for a free and reliable one until I can upgrade.
To sum it all up, I want a online database with either a GUI or text based (preferably SQL syntax), that is reliable and easy to understand.
For my first Android app where I developed it from my diploma thesis and to learn about android philosophy I used MongodDB.
MongoLab has free services to store your documents there. I used Java so you may have to look the MongoDB for java documentation, you can find it easy on the internet and the documentation is very explainable.
Also, for security reasons you may have to develop a restfull API and as a result you may have to use (for example) the PHP API of mongodb to cummunicate with a server and get the query results from there and use them for your Android app. You may have to search about how to get json data from a server to your android app but there are many tutorials about this too.
I have to mention that I am not an expert on which databases are the best to use for Android apps but MongoDB did the work for me.