HNHacker News
TopNewBestAskShowJobs

Fre_d

25 karma · joined January 5, 2019

[ my public key: https://keybase.io/fre_d; my proof: https://keybase.io/fre_d/sigs/8TbO6TPHd5ckWrnyz5ZSRrZXv7M17A0TN88P3phzCfE ]
submissionscomments
Fre_d··on Why Didn’t Denmark Sell Greenland?
Perhaps, but we are already drilling oil out of the north sea.
Fre_d··on EU fines Mastercard more than half a billion euros
Here in Denmark, the story is a bit different. Many consumers here use a Dankort, which is a national debit card. The fees are low and regulated by the government. It is usually combined with a Visa so that it can be used abroad as well.
Fre_d··on Ask HN: Go-to web stack today?
I'm not saying MongoDB is better because it is old, and I was rather hoping you would elaborate. For all I know, you could have had issues with it yesterday or 9 years ago.
Fre_d··on Ask HN: Go-to web stack today?
MongoDB was released nearly 10 years ago. Do you believe those issues are still relevant today?
Fre_d··on Ask HN: Go-to web stack today?
Admittedly I'm not yet using it in production, but the simplicity is the most appealing factor, albeit this depends a lot on client libraries used. In addition to my original comment, with Postgres we also had to deal with schemas and migrations.

We can also easily leverage reactive streams with reactive Spring Data. Technically you could also use JDBC in a reactive manner, but it looks unlikely to work with the frameworks we use with Postgres.

Fre_d··on Ask HN: Go-to web stack today?
At least briefly consider whether or not you actually need a relational database when starting a project. I work with some rather complex data access using Postgres, JPA, Hibernate, HikariCP, and a second level cache, all within a separate microservice exposed via a REST API. To make matters worse, the responsible developer has since left the project to me.

We don't even use relations, so this essentially means that we are paying a hefty price for something that we don't actually need. A much simpler solution would be to have used MongoDB together with Spring Data, where we can still have caching and object mapping.