mathieuuu
I am far from being a database expert, I just know enough basics to query what I need, so feel free to correct/complete the following:
- Mongo has been built to store json objects -> Yes, but from what I understand benchmarks indicate that PostgreSQL is faster at reading/storing/indexing json/jsonb content. I don't think that it is good reason to use it.
- Mongo is schemaless -> There might be some usecases, but I bet in most cases this problem can be worked around. Especially in a database with JSONB support.
- MongoDB horizontal scaling is way easier than PostgreSQL. Yes, it seems that scaling horizontally Mongo is extremely easy compared to any other relational database.
And ... that's it. But there is probably more.
At the moment, here's how I would summarize MongoDB benefits if asked my opinion when starting a project:
- For a small projects or a prototype: ease of use, ease of configuration, don't require too much thinking into my data model while I am experimenting
- For a bigger project: horizontal scaling should be easier
Does that sound accurate to you? Am I missing anything important?
While I love that stack, it took me a while to realize that for most of my side projects, building alone a prototype with all those things is killing my productivity. A messy Rails api with angular1 or even Rails + ERB are way quicker.
Letting go best/latest practices and go for the the non-fancy (and sometimes a bit dirty) way is harder than it seems.
This summer, I watch Twin Peaks The Return, some episodes are the weirdest things I have seen on a mainstream TV channel. I am amazed it was allowed to air at prime time.
According to: http://www.salaire-brut-en-net.fr/ The after-employer-tax, he should get: 34650k
From which he still need to substract the income tax which is paid directly by employee. It is roughly a month of after tax salary -> 2880.
In total, I would say that a 45k gross income becomes 31k after tax.
There is an agreement between France and several countries including Canada. Once you will retire, if you have worked 10 years in Canada and 30 years in France, then you will get 3/4 of your money from the French Pension plan, and 1/4 from the Canadian one.
This agreement works whether you are French or Canadian.