DeveloperPlayBook
Python
Python
  • Introduction
  • Architecture
    • Technology Stack
    • ADR Records
  • Design
  • Bootstraping
  • Development Environment
    • Accounts (AWS, GCP, CircleCI)
  • Services/API
    • Serverless
    • Containers
    • Python
    • Firebase
    • Chatbots
    • Testing
  • Frontend
    • Serverless
    • Containers
    • Chatbot
  • Plattform
  • IAM - IAMaaS
  • Persistance - DBaaS
    • Serverless
    • Container
  • Event Driven / Streaming aaS
    • Kinesis
  • AI - AIaaS
  • Production / Reliability Engineering
  • create-k8s-secrets
  • VI
  • Tools
Powered by GitBook
On this page
  • Perstistance
  • When to use NoSQL and when RDBS?
  • NoSQL Best Practices

Persistance - DBaaS

PreviousIAM - IAMaaSNextServerless

Last updated 7 years ago

Perstistance

Every microservice should use it's own persitance layer. Optimally this will be a SasS solution. The current list of database can be discovered and the .

Architectural Decisions

When to use NoSQL and when RDBS?

NoSQL Best Practices

  • critical points:

    • embedding vs referencing data

    • reads vs writes

    • normalized vs denormalized vs mixed

Why DynamoDB?

pynamodb (ORM) - my experience (ask in stack overflow with a link to my describe esperience and the code) why cann't I serialize it back?

boto3 - prefered way by amazon.

Important: Partition Key Fieldname can not be changed and it must always be included when you insert data to the database. Like:

Further you validate in your that a valid value was send to your service.

  1. Create DynamoDB table name notes and Primary key with Partition key userId and sort key noteId and the default created new IAM Role DynamoDBAutoscaleRole.

Go to the and Search for "DynamoDB"

Create a table e.g. "apis"

https://www.youtube.com/watch?v=ONLKIUFXLcg&t=2s
https://www.uplift.agency/blog/posts/2016/03/clearcare-dynamodb
AWS Console
hear
zalando technology radar
https://www.youtube.com/watch?v=-o_VGpJP-Q0www.youtube.com
Best Practices for Designing and Architecting with DynamoDB - Amazon DynamoDBAmazon DynamoDB
Logo
https://brewing.codes/2017/11/13/dynamo-data-modeling/brewing.codes