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 LESS
5 upvotes·18.9K views
Replies (3)
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·125 views
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
View all (3)
Avatar of Ammar Asmro

Ammar Asmro

Software Developer