Pouchdb

Pouchdb

Application and Data / Data Stores / Databases
Developer at Elvenware·
Needs advice
on
FirebaseFirebase
and
PouchdbPouchdb

Should I use Pouchdb or Firebase?

I want to store text documents and notes. Most of them are very short, just a means of tracking information while I'm doing research.

I want to be able to access them from multiple locations, preferably through a web browser but that is not a necessity.

I've also considered putting my information in a text document or word document but I would like to be a little more formal about the process.

READ MORE
7 upvotes·12K views
Replies (1)

Hey, are you just looking for a raw database? Then Xano or even Airtable could be simple options IMHO.

If you want to do a bit of programming and build front-end forms that point toward your database, then you could try an online database builder. Again, plenty of options out there...Five, Caspio, FileMaker, Zoho Creator, Knack.

If I were to build this in Five, I would: 1. Create a single table for my MySQL DB that stores all required information about the document: title, publication date, journal, authors, plus the actual file 2. Build a form for my application front-end 3. Launch the application.

Getting this up and running wouldn't take more than 30 minutes. You can give this a try by using our free download and build a local app first before deciding whether you want to push this to the cloud.

READ MORE
3 upvotes·6.9K views
Software Developer ·

What databases do note applications use to keep their users' notes synced across devices? The only option I keep bumping into is Pouchdb/CouchDB, but that takes me out of the AWS stack and introduces other issues and more costs.

With so many note-taking apps out there, I thought there must be a solution or a template stack. Most resources are either for a chat app with WebSockets or for toy apps without cross-device sync.

READ MORE
5 upvotes·20.7K views
Replies (3)
owner at Swett D.G.·
Recommends
on
AWS Lambda

Using the subscription feature you may be able to set a trigger that if a user logs in it sends their notes from the database. Should not matter what device they are on. We used this to send automatic GPS updates to others in a GPS related game. A player would move the, the database would be updated, this would trigger a subscription service to send the new location to all other players. Worked like a dream

READ MORE
4 upvotes·2 comments·3.9K views
Ammar Asmro
Ammar Asmro
·
January 27th 2021 at 12:43PM

That would require each user having their own table to limit notifications right? cuz otherwise any user that sends something, the subscription would get triggered for everyone

·
Reply
Ahren Swett
Ahren Swett
·
January 28th 2021 at 2:21AM

Not exactly sure but you may be able to get away with a subscription table and join on ID/user. Not sure your exact use case but is pretty simple to set up and experiment with :)

are you using graphQL or DynamoDB?

·
Reply
Database Consultant at Aerospike·
Recommends
on
Aerospike
at

Hey Ammar,

I'd consider using AerospikeDB. Online mobile game providers like Playtika and Sony Playstation leverage it to keep their users data synched across millions of devices, update leaderboards, provide in app recommendations, player matching etc. Not exactly a notes synching use case but should illustrate the capabilities that are relatable. Another one of the huge benefits is that it will scale both up and out to fit your usage allowing you to maximize the value of your hardware and what's even better... is available directly on the AWS Market Place.

Aerospike on AWS: https://aws.amazon.com/marketplace/seller-profile?id=57c1f592-9dd5-479c-9972-8b27cfc6c230

Download our community edition (It's Free) and better than ever: https://github.com/aerospike/aerospike-server/releases

If your interested in learning more feel free to book some time with me over linkedin: https://www.linkedin.com/in/ldwyatt/

READ MORE
Aerospike’s NoSQL Data Platform Improves Conversion Rates and Customer Experience for New Tech Organizations | Aerospike (aerospike.com)
4 upvotes·188 views
View all (3)
Founder at Moxit·
Needs advice
on
PouchdbPouchdb
and
RealmRealm
at
()

We are building an offline-first Android SDK app. The solution we're working on runs on a mobile device in areas where internet connectivity is intermittent or does not exist. The applications needs to be able to collect data and when it reaches a home base or finds internet connectivity, we'll sync it with the host.

We've heard Realm and Pouchdb could be a good solution, but we are curious if anyone has any experience with either or have another path forward.

READ MORE
7 upvotes·217K views
Replies (3)
Co-founder, CEO at Tolofood·
Recommends
on
Firebase

I recommend Firebase because it has an offline and sync capability that can handle the case you've outlined. Trying to keep consistency between on-device and remote DB is not fun - so I suggest you use a platform that can handle that easily. I think Amazon's Mobile SDK will let you do the same with either SimpleDB or Dynamo - never used it though but read about it.

The drawbacks of Firebase are cost - be careful about how you design your schema!

READ MORE
6 upvotes·2 comments·3.4K views
Mike Endale
Mike Endale
·
August 29th 2019 at 4:42AM

Thanks for the heads up. We have considered Firebase, but the issue is that these data collections are in really remote areas where there is absolutely no internet connection. If only Firebase was self-hosted :-)

·
Reply
Tesh Tesfaye
Tesh Tesfaye
·
August 29th 2019 at 5:05AM

Maybe time to look at GraphQL - https://www.slideshare.net/AmazonWebServices/real-time-and-offline-applications-with-graphql

·
Reply
CEO at NaoLogic Inc·
Recommends
on
RxDB
at

If you want to use Pouchdb might as well use RxDB which is an observables wrapper for Pouch but much more comfortable to use. Realm is awesome but Pouchdb and RxDB give you more control. You can use Couchbase (recommended) or CouchDB to enable 2-way sync

READ MORE
4 upvotes·248K views
View all (3)