Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB connector #1676

Open
nikolasburk opened this issue Feb 21, 2020 · 27 comments
Open

DynamoDB connector #1676

nikolasburk opened this issue Feb 21, 2020 · 27 comments
Labels
kind/feature team/client team/schema topic: connector

Comments

@nikolasburk
Copy link
Member

nikolasburk commented Feb 21, 2020

This feature requests serves as a central place to discuss development and progress for the DynamoDB connector.

Please leave a 馃憤 and/or a comment in this issue if you'd like to see support for DynamoDB soon.

@nikolasburk nikolasburk added the kind/feature label Feb 21, 2020
@amesas
Copy link

amesas commented May 7, 2020

This one would be great, we use dynamodb for better "less-ops" scalability.
We connect to Posgres using Prisma, and dynamodb with custom code, we would love to use prisma as our only "connector" to data.

@fbjork
Copy link

fbjork commented Jun 9, 2020

Would be great to see DynamoDB support. Single Table design support would be amazing too.

@stewartjarod
Copy link

stewartjarod commented Jun 9, 2020

Single-Table, Adjacency pattern: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-adjacency-graphs.html#bp-adjacency-lists

@markthethomas
Copy link

markthethomas commented Jun 25, 2020

This would be huge. Dynamo has a ton going for it - easy to run/scale, very very fast, offers stronger read/writes in the cases you want. Biggest drawback has always been the learning curve/lack of easier to work tools. if prisma supported this I would use it in a heartbeat over postgres. I love PG but for so many of my projects dynamo would check every box 馃挴

@IamManchanda
Copy link

IamManchanda commented Sep 1, 2020

Awaiting DynamoDB & MongoDB support would be GREAT GREAT GREAT if it happens ... thank you

I read this comment at mongodb issue #1277 (comment) and seems like you would be looking for a Rust Driver for connecting to dynamodb (similar to mongodb)

So would like to point to these links below

@softmarshmallow
Copy link

softmarshmallow commented Nov 23, 2020

Any ongoing development for this?

@changtimwu
Copy link

changtimwu commented Nov 23, 2020

AWS just announced PantiSQL over dynamodb. I guess this makes DynamoDB support easier.
https://aws.amazon.com/about-aws/whats-new/2020/11/you-now-can-use-a-sql-compatible-query-language-to-query-insert-update-and-delete-table-data-in-amazon-dynamodb/

@softmarshmallow
Copy link

softmarshmallow commented Nov 24, 2020

Just for only query converting will be awesome since aws-sdk just sucks.

@matthewmueller matthewmueller added team/client team/schema labels Jan 14, 2021
@adamelmore
Copy link

adamelmore commented May 23, 2021

Any movement on this? I'd consider doing the heavy lifting here if it isn't already in the works.

@softmarshmallow
Copy link

softmarshmallow commented May 26, 2021

@adamelmore sign me up too. I'me ready to commit. this needs to be done. AWS sucks, all other sucks. but we do need dynamodb,..

@ahmednawaz10p
Copy link

ahmednawaz10p commented Jul 16, 2021

is it alive?

@cassidoo
Copy link

cassidoo commented Jul 29, 2021

Any updates on this?

@softmarshmallow
Copy link

softmarshmallow commented Jul 29, 2021

Since mongodb support is live as preview, naively seems that dynamodb would also be possible with same no-migration-support policy.

@mikestopcontinues
Copy link

mikestopcontinues commented Jul 29, 2021

@softmarshmallow DynamoDB has a very different design than mongo. Mongo is very similar to standard SQL in that you can have custom indexes, joins, etc. Whereas Dynamo requires thinking in a very strict hashKey/sortKey model, where the alphabetic order of your sortKey impacts how you can query data. This limitation impacts quite a lot of how the prisma feature set would map to Dynamo.

I'm here because I want it too, but it's not straight forward or easy. If nothing else, what it really suggests is that Prisma should allow custom adaptors, so that the Dynamo community could converge on the right way to integrate.

@flybayer
Copy link

flybayer commented Jul 29, 2021

At a Prisma event earlier this year, Prisma executives indicated Dynamo support almost certainly wouldn't come before next year.

@AllanOricil
Copy link

AllanOricil commented Jan 1, 2022

@softmarshmallow DynamoDB has a very different design than mongo. Mongo is very similar to standard SQL in that you can have custom indexes, joins, etc. Whereas Dynamo requires thinking in a very strict hashKey/sortKey model, where the alphabetic order of your sortKey impacts how you can query data. This limitation impacts quite a lot of how the prisma feature set would map to Dynamo.

I'm here because I want it too, but it's not straight forward or easy. If nothing else, what it really suggests is that Prisma should allow custom adaptors, so that the Dynamo community could converge on the right way to integrate.

And it is funny that lots of devs out there are modeling their data into dynamo as if it were exactly as mongodb. Lots of tutoriais do that. And there is even a lib like mongoose, but for dynamo.

@vincent-thomas
Copy link

vincent-thomas commented Jan 11, 2022

Any updates? Are you guys considering adding dynamodb?

@MichalBunkowski
Copy link

MichalBunkowski commented Jan 20, 2022

Any updates?

@janpio
Copy link
Member

janpio commented Jan 20, 2022

No. An update would manifest itself in a comment in this issue. If that did not happen, we have nothing new to share about this feature. Feel free to comment with additional use cases or motivation about why you need the feature though, these are always useful for us.

@Thibault2ss
Copy link

Thibault2ss commented Mar 22, 2022

We use dynamoDB and would love a prisma connector, because we love prisma 鉂わ笍

@alexmarqs
Copy link

alexmarqs commented Mar 29, 2022

@janpio a good motivation for this is the bad experience (DX) when dealing with dynamodb client. Additionally, you don't see any good ORM for this database type out there when comparing it with the API provided Prisma. A lot of companies are using AWS Serverless architectures with dynamodb as its persistence layer. Technically, probably it's not straightforward / easy due dynamodb design/architecture but it would be great to have some support for this 馃憤 , game-changer!

@junaway
Copy link

junaway commented Mar 29, 2022

Hi all,
For those who are waiting for Prisma to support dynamodb, maybe this will help you ? https://github.com/sensedeep/dynamodb-onetable
(You can still use it even if you don't abide by the single-table design motto.)

@climber2002
Copy link

climber2002 commented Apr 11, 2022

@junaway I'm using dynamodb-onetable and it works great so far

@ptejada
Copy link

ptejada commented Aug 7, 2022

There is also https://www.npmjs.com/package/dynamoose. V3 beta supports Typescript and the AWS SDK v3

@AllanOricil
Copy link

AllanOricil commented Aug 8, 2022

We use dynamoDB and would love a prisma connector, because we love prisma 鉂わ笍

@Thibault2ss AWS explains in some of their docs that we should not use dynamodb like we usually work with docs in mongodb, or even tables and relationships in sql. I don't believe Prisma would be suitable for creating this abstraction layer you want because it does exactly what amazon recommends developers not to do.

@cyriaque-ovaga
Copy link

cyriaque-ovaga commented Aug 8, 2022

Feature ?

@gultyaev
Copy link

gultyaev commented Aug 9, 2022

We use dynamoDB and would love a prisma connector, because we love prisma 鉂わ笍

@Thibault2ss AWS explains in some of their docs that we should not use dynamodb like we usually work with docs in mongodb, or even tables and relationships in sql. I don't believe Prisma would be suitable for creating this abstraction layer you want because it does exactly what amazon recommends developers not to do.

Could you please share the links to the statements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature team/client team/schema topic: connector
Projects
None yet
Development

No branches or pull requests