How to Choose a Database on AWS

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 73

  • @yawnnroar
    @yawnnroar 3 года назад +35

    This video helped me land a new job during a system design interview!! Thank you!!!

  • @jriverox
    @jriverox 4 года назад +16

    236/5000
    Based on the fact that dynamodb is a key value databse, it works well for particular cases but for more advanced query scenarios such as paginated queries, ordering by several fields or aggregations, I would choose documentdb

  • @naimulsayed1339
    @naimulsayed1339 Год назад +3

    Great explanation. The things I was wondering for years, you solved in 6 mins ❤. Thanks a lot

  • @VenkateshJayapal
    @VenkateshJayapal 3 года назад +1

    You saved lot of my time to read through the docs for each and find the difference 🙏 thank you!

  • @prabhakarmishra2182
    @prabhakarmishra2182 2 года назад +1

    I highly appreciate the way you have explained it all, lots of love from India

  • @daviisebarn2489
    @daviisebarn2489 2 года назад

    Dude that video made everything in my head click you are a legend!

  • @GameboyZoneRocks
    @GameboyZoneRocks 9 месяцев назад

    Great video and well explained with a workflow.

  • @LuisPerez-ce7fn
    @LuisPerez-ce7fn Год назад

    Amazing explanation, no bs. You got a new follower

  • @alejandropereira
    @alejandropereira 3 года назад +5

    But ElasticCache is used for performance. It is a cache for databases. It can be used for an rds database to avoid the query go to the engine and also reduce latency. I think this is important to mention. At least it is useful for data that rarely is updated. If we have data that changes very frequently, then read replicas is the way to go.

    • @BeABetterDev
      @BeABetterDev  3 года назад +2

      Hi Alejandro.
      NoSQL stores like Redis are often used as a database in some applications which is why I suggested it. I wouldn't suggest it due to durability concerns but it may be a good option for some.

  • @fireflysemanticsmedia6267
    @fireflysemanticsmedia6267 2 года назад +1

    Awesome - Thanks for making!!

  • @msp767
    @msp767 3 года назад +2

    Great summary, thanks!

  • @akin242002
    @akin242002 2 года назад +1

    Keep it size and industry needs based:
    - Mariah DB for transactional information and small business.
    - AWS Redshift for large scale reliable variable SQL needs.
    - Dynammo DB for choatic information using NoSQL (key value or document).

  • @sathyaabn2406
    @sathyaabn2406 Год назад

    very good explanation

  • @ChetanNandikanti
    @ChetanNandikanti 4 года назад +1

    Current Database services in AWS simplified 😉. Thanks for quick summary!

  • @farzadb
    @farzadb 4 года назад +2

    Very well structured summary!

    • @BeABetterDev
      @BeABetterDev  4 года назад +1

      Thanks Farzad. Hope you are having a great weekend.

  • @cemmer1295
    @cemmer1295 3 года назад +1

    Thank you, really good guidance right there.

  • @guesme307
    @guesme307 3 года назад +3

    Great explanation but I was surprised at the very end, where Elastic Cache is suggested as persistence layer. The cache doesn't guarantee data durability. The application will lose its data if the underlying infrastructure/hardware changes.

    • @BeABetterDev
      @BeABetterDev  3 года назад +3

      Hey Amith,
      Fair point. I think my comment was rooted in the fact that some caching services (Redis comes to mind which is supported on Elasticache) can be configured to persist state to disk. Check out the third paragraph in this link: redis.io/topics/introduction
      I agree with you in principle though. Caches in the traditional sense should just be used as a performance optimization and not as a reliable datastore that guarantees ACID. I think I should have stressed this point in the video.
      Daniel

  • @haiquannguyen2583
    @haiquannguyen2583 3 года назад +1

    It's clear, thank you

  • @manishalankala1622
    @manishalankala1622 4 года назад +2

    Well explained in a layman way

  • @andriys5772
    @andriys5772 4 года назад +1

    Thank you!

  • @devprakash5320
    @devprakash5320 3 года назад +1

    useful video

  • @d4rkazn1
    @d4rkazn1 2 года назад

    Quick Question, isnt RDS a managed service? Why does the arrow for unmanaged loops to RDS?

  • @explorethenewworld6371
    @explorethenewworld6371 4 года назад +2

    what about geo queries ????
    which db is best for geo spatial ???

    • @BeABetterDev
      @BeABetterDev  4 года назад

      I'm not an RDS expert, but I believe PostGres is the most popular for spatial data processing.

  • @nldxl
    @nldxl 4 года назад +1

    Awesome vid on Traversy media ! Watching you now.

  • @warrenb7450
    @warrenb7450 4 года назад +1

    very helpful, thanks!

  • @TheEchinox
    @TheEchinox Год назад

    Would you be kind enough to share the flowchart link?

  • @screwyou3736
    @screwyou3736 3 года назад

    Where do RedShift and AWS Timeseries fall into?

  • @christhomasism
    @christhomasism 4 года назад +1

    great videos

  • @manishagarwal1209
    @manishagarwal1209 3 года назад

    Can we integrate AWS Mongodb with onprem Oracle AVDF ?

  • @prathprath265
    @prathprath265 3 года назад +1

    Add neptune too in relationals -)

    • @BeABetterDev
      @BeABetterDev  3 года назад +1

      Good point Prath! I thought that Neptun was too specialized of a product for this video but agree it is useful in some use cases!

  • @andre347
    @andre347 4 года назад +1

    Really useful! Thanks

  • @adiletissayev1711
    @adiletissayev1711 4 года назад +1

    What about DynamoDB that comes with AWS Amplify for prototyping?

    • @andresmontoya7852
      @andresmontoya7852 4 года назад +2

      Exact same thing, just it's easier to get started

    • @kjul.
      @kjul. 3 года назад

      Not even the same thing in the slightest 😅

  • @philipdodson7870
    @philipdodson7870 3 года назад +1

    Why automatically use elasticache if you don’t need relations or transactions? Isn’t it more expensive than RDS or dynamoDb?

    • @pikachu5223
      @pikachu5223 3 года назад +1

      Maybe but is great for searching. Imagine Netflix for example

  • @Hiroki-Takahashi
    @Hiroki-Takahashi Год назад

    Is it a bad idea to use Dynamo DB or Aurora Serverless for a prototype or a hobby project?
    Dynamo DB's storage is free for the first 25 GB and $0.25 per GB-month thereafter. With Aurora Serverless, you only pay for the database capacity, storage, and I/O when it is active.
    When your prototype app or hobby project is small, I think both services can be suitable because they are economical for small apps that don't have a lot of traffic. Am I missing something?

    • @BeABetterDev
      @BeABetterDev  Год назад +1

      Hi Hiroki,
      Is definitely possible to use DynamoDB and stay within the free tier / always free on AWS. Be careful with Aurora Serverless V2, though. It only allows you to scale down to 0.5 Aurora Capacity Units (and not zero, unless you manually disable the cluster). This can cost around $40 USD / month.
      But I agree, both are viable for small hobby projects as well.

    • @Hiroki-Takahashi
      @Hiroki-Takahashi Год назад

      @@BeABetterDev I see. Thank you so much!

  • @gilmatz7938
    @gilmatz7938 3 года назад

    Can you share the scheme?

  • @dimatall
    @dimatall 3 года назад

    Good explanation of RDS. But what about self hosted Postgres on EC2 instance ? Is it cost effective solution for small project or startup? Or it is not as reliable as RDS is?

    • @BeABetterDev
      @BeABetterDev  3 года назад +3

      Hi Dmytro,
      Generally I would not suggest hosting your own Postgres instance on EC2. The amount of maintenance and headaches you'll deal with is just not worth the minor cost benefit of doing it yourself.
      Using RDS Postgres is a much easier process. Additionally many recurring maintenance tasks are automatically handled for you. For modern applications I would suggest defaulting to using RDS unless you have a compelling reason to not use it.
      Hope this helps,
      Daniel

    • @dimatall
      @dimatall 3 года назад

      @@BeABetterDev thank you for reply

  • @annajerin3977
    @annajerin3977 4 года назад

    Dynamo db does not support transaction. Notnsure why you mentioned like that. It supports maximum upto 25 writes in a transaction ..

    • @BeABetterDev
      @BeABetterDev  4 года назад +1

      aws.amazon.com/blogs/aws/new-amazon-dynamodb-transactions/

  • @professional6635
    @professional6635 2 года назад

    did you intentionally forgot Redshift ?

  • @akshaybodla163
    @akshaybodla163 3 года назад

    Is there any way I can get access to this flowchart? Its very well done and would be a great resource to explain my backend choices to my non-technical partners.
    Appreciate your help, and amazing video!:)

    • @BeABetterDev
      @BeABetterDev  3 года назад +2

      Hi Akshay, I did some digging and unfortunately couldn't find the flow chart. I think your best bet is to take a screenshot when I am zoomed out from the vid. Sorry about that.
      Thanks for watching!

  • @movocode
    @movocode 3 года назад +1

    Meanwhile Oracle 👋👋

  • @andresmontoya7852
    @andresmontoya7852 4 года назад +2

    Summary: choose Dynamodb ;p