如何将AWS的Dynamo Db与Django一起使用? [英] How can I use AWS's Dynamo Db with Django?

查看:108
本文介绍了如何将AWS的Dynamo Db与Django一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Django MVC框架开发Web应用程序,API和后端. Django的一个主要方面是其对模型的ORM的实现.这是一个非常好的ORM.通常,在使用Django时,人们利用现有接口将Django模型映射到特定的DBMS,例如Postgres,MySQL或Oracle.

I am developing web applications, APIs, and backends using the Django MVC framework. A major aspect of Django is its implementation of an ORM for models. It is an exceptionally good ORM. Typically when using Django, one utilizes an existing interface that maps one's Django model to a specific DBMS like Postgres, MySQL, or Oracle for example.

我对性能和可伸缩性有一些特定的需求,要求,所以我真的想使用AWS的Dynamo DB,因为它具有很高的成本效益,非常好的性能并且可扩展性非常好.

I have some specific needs, requirements regarding performance and scalability, so I really want to use AWS's Dynamo DB because it is highly cost efficient, very performant, and scales really well.

虽然我认为Django允许一个人为DBMS实现自己的接口,但是如果存在,则在构造一个Django模型时能够使用现有的DBMS接口显然是有利的.

While I think Django allows one to implement their own interface for a DBMS if one wishes to do so, it is clearly advantageous to be able to use an existing DBMS interface when constructing one's Django models if one exists.

有人可以推荐使用Django模型接口,以便我可以在使用AWS的Dynamo DB的Django中构建模型吗?

Can someone recommend a Django model interface to use so I can construct a model in Django that uses AWS's Dynamo DB?

一个人使用MongoDB怎么样?

How about one using MongoDB?

推荐答案

它不像django的现成电池,但是无论如何都值得一看. https://github.com/pynamodb/PynamoDB

It's not like ready made battery for django, but worth looking at it regardless. https://github.com/pynamodb/PynamoDB

这篇关于如何将AWS的Dynamo Db与Django一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆