Better HN
topnewbestaskshowjobs
Log inSign up

Fre_d

25 karma · joined Jan 5, 2019 (7y ago) · 6 submissions

[ my public key: https://keybase.io/fre_d; my proof: https://keybase.io/fre_d/sigs/8TbO6TPHd5ckWrnyz5ZSRrZXv7M17A0TN88P3phzCfE ]
Submissions

comment 7y ago · link · parent

Perhaps, but we are already drilling oil out of the north sea.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

MongoDB was released nearly 10 years ago. Do you believe those issues are still relevant today?

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.