Those who know, know.

@evatronic@lemm.ee
link
fedilink
English
51M

I am literally in the middle of swapping DynamoDB for a RDBMS.

The idea that you can abstract away such fundamentally different data stores is silly. While I hate doing it now, reworking the code to use relational models properly makes for a better product later.

It’s literally what an orm does, and it’s good enough for 80% of apps out there. Using it for the wrong purpose is what’s silly.

@evatronic@lemm.ee
link
fedilink
English
1
edit-2
1M

I see. It seems like you may be one of the people that try to coerce relational models into nosql stores like Dynamo.

Or course it’s possible. They even trick you into thinking it’s a good pattern by naming things “tables”.

But if you’re using Dynamo to its fullest an ORM is not going to be able to replicate that into a relational store without some fundamental changes.

Hence 80%.

Most apps out there are a CRUD with a thin layer of logic.

If you are in the 20% that needs real performance, an ORM is not gonna cut it, no matter what DB you have.

Caveman
link
fedilink
11M

I’m going to suggest not using an ORM. I used three so far and it really likes to tell you what you can and can’t do when query builders can do the same thing by creating the SQL string for you. SQL is also very nice and easy (just parameterise all inputs to avoid the SQL injection)

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog