For anyone looking for easy to use docker hosting, I would heartily recommend docker cloud(1st node free, then 14$/node/month), along with bare metal providers like packet.net or scaleaway.
I Have a 8GB/4-core atom based bare metal server running on packet.net for only 35$. Is running 30+ moderately used containers without any trouble.
I don't have any relational database, but couch which also requires the things you are asking about - HA, clustering, backups etc. I am in process of launching my new app, so I have thought a lot about it as well. What I came up with is:
1) Database running inside docker, but using external mounted volume. Packet has external block storage(14$/month for 50GB high iops version), and you can configure backups on it ranging from 15m to every week. So that should completely cover the HA/backup stuff for most apps.
2) For monitoring/logging, the best solution so far seems to be datadog. It doesn't look very expensive, and seems to have most of the intergations you can come up with - couch, pgsql, docker, express, slack, github.
Combined it costs me 70$, which is a much better deal than PAaS I can think of,
Btw, if someone from datadog is reading this thread, your couch integration seems to be broken.
True, and that's why I stuck to heroku for a long time.
But, in the end I realised I can replicate most - if not all - of it with docker cloud and github. Most CI services support github anyways, so that's also covered.
And it's significantly cheaper, for my case we have 90% price reduction - paying only for instances + docker cloud.
Looks like that has 8 cores? I would imagine it would make a huge difference depending on other loads on the system. I gave it a try on my file server at home that has an AMD E-350 processor with 2 cores and it shaved off a good 42% of the total time:
> time gzip -v xubuntu-16.04-desktop-amd64.iso
xubuntu-16.04-desktop-amd64.iso: 1.5% -- replaced with xubuntu-16.04-desktop-amd64.iso.gz
gzip -v xubuntu-16.04-desktop-amd64.iso 119.07s user 4.66s system 98% cpu 2:05.22 total
> time pigz -v xubuntu-16.04-desktop-amd64.iso
xubuntu-16.04-desktop-amd64.iso to xubuntu-16.04-desktop-amd64.iso.gz
pigz -v xubuntu-16.04-desktop-amd64.iso 128.19s user 6.64s system 184% cpu 1:12.97 total
Since the GSoC project mentioned still seems to be incomplete, can anyone suggest a way to use npm/es2015 modules with cljs applications for the browser?
I build the first version of my app with cljs, and it was the cleanest/simplest code I ever wrote. Just the lack of npm interoperability makes in non-viable for me.
The simplest approach that works for this at the moment is to have something like webpack build a UMD bundle and then add that bundle as a foreign lib.
I don't have a study to back it up, but it seems the high pollution levels in Indian cities are mostly because of extremely high vehicular density - based on my unscientific observation that most polluted areas of Delhi are next to transportation depots/stations.
Anand Vihar - a suburb of Delhi - for example, is the most polluted place in the world, but that's also because it's the gateway to Delhi for people from the state of UP(200m population). There are like 100 buses coming into that place every few minutes!
But then, there can be solutions which don't negatively affect growth - public transportation, more and better planned cities to reduce vehicular density, and most important of all, elimination of subsidy on diesel - because the sources of pollution aren't fundamentally tied to growth.
I don't usually buy the argument that high growth will bring abnormal levels of emissions in the Indian context. I think that's because manufacturing can be never be the engine of growth in India, because of inherent, almost unfixable problems we have in India.
So, that's why I think that the Indian growth story is fundamentally different from Chinese growth story - or even any other growth story in the world, and it's important to keep that difference in mind.
1. High Govt regulation, permission, licensing, red tape, labor laws, politics
2. Irregular power and water supply
3. Poor infrastructure/Logistics- Roads, Bridges, Rails, Ports
They won't. Software oddly, managed to avoid dealing much with the Govt because no one understood it, customers were overseas, it brought in much needed foreign exchange. Software succeeded in spite of all this.
It doesn't matter who runs the school. However if the school identifies itself as a minority institution it doesn't have to comply with RTE guidelines as per the constitution bench of Supreme court. Here's an excerpt from a newspaper report.
However, the constitution bench exempted minority
schools, both aided and unaided, from the purview
of the Act. It said minority schools could not be
put under legal obligation to provide free and
compulsory elementary education to children
who were not members of the minority community
which had established the school. It said,
"In our view, if the Act is made applicable
to minority schools, aided or unaided, the right
of the minorities under Article 30(1) of the
Constitution will be abrogated. Therefore,
the (provision of the) 2009 Act, which made it
applicable to minority schools is unconstitutional."
[1]
So it's more about minority rights, than about religious discrimination which your post seemed to suggest. Quite mischievously too if I might add.
And so far as schools being shut for not complying with some "arbitrary clause", it is actually more about private schools refusing to fulfil 25% reservation for children from socially backward communities. You also left that out.
Use common sense instead of Supreme court's sophistry. Why should a one school which admits general students for general education should not be subject to a state regulation only because the management is Christian ? Education is a perfectly secular activity like running a taxi service. Having tight regulation to one regulation where as total exemption to another religion seems stupid.
It could have been a minority rights issue if this exemption was limited to say a church run institution for religious studies. But then why not give same exemption to Hindu school for religious studies ?
Another catch. Some Indian states like J&K and Kerala have Hindus as minorities. But Hindus can not run minority institutions despite this. Reason ? Any minority institution needs to get a N.O.C. from National Minority Education Council but by law only Christians and Muslims can be members of this council and are allowed to give permissions only to Christian and Muslims schools.
Because such institutions were explicitly founded to provide education to minorities, and it would be unfair to force them to allocate their limited resources away from that goal. Most do so voluntarily anyways.
It's actually quite simple to understand I think, and the judgment says so in what is plain language, not some sophistry.
And Hindus are minorities in Kerala? Despite being 54% of total population? Citation please.
As far as J&K as concerned, I'm not too sure what you are saying is correct. Maybe it's true, but then J&K never merged with the India, so it's possible since laws enacted by parliament don't automatically apply to J&K. Citation please.
EDIT: Your point about NMEC is invalid as well [2].
Let me know if you want me to suggest some material/books so you can better understand this issue.
Supreme Court is not the final stop for application of common sense. Anything can be defined as a minority right.
For example does it make sense to give exemption to a christian businessman calling it a minority right ? You can but that would be against common sense just like in the education case.
The serious effects of this law is that while Hindus have to jump through the draconian provisions of RTE, a church run school need not. Guess which schools will run more efficiently and grow at a faster rate and provide better education ?
I am not sure why minorities should have a different set of rights than the majority. Uniformity should be the foundation of law.
Because these rights are necessary for minorities to be protected from majoritarian excesses in a democracy. It's really not that hard to understand if you try to think of it from a neutral standpoint.
Regardless of that, as everyone in aware, religious minorities perform poorly on most social indicators - often ranking even below the scheduled caste. The Sachar committee report [1] is full of examples which illustrate this point.
So it also makes pragmatic sense for state to proactively work for their upliftment. We also do it for schedule/backward caste members even thought they belong to the majority religion.
Btw, I would just say that your point about draconian provisions is simply unsubstantiated.
I'm proactively repeatedly countering you on unsubstantiated facts, just because I don't want such misinformation to spread around and influence other minds.
I don't see how giving blanket exemption to a completely secular industry (education in this case) under the pretext of religion has anything to do with majoritarian excesses. Why not do it in Taxi business or Restaurants or why not let a Muslim get away with 1 murder per year or something like that ?
Unless you are ignoring a distinction no one should be given a right that grossly violates rights of someone else.
I would have agreed with you if the exemption was limited to religious education meant for that community only.
Under the current law Hindu schools can not operate and compete with Church run schools and I find that vile and against basic sense of justice.
Sachar committee is a heap of garbage for many reasons. But even if we accept it only Muslism community among minorities seem to suck not Christian or Parasis or Jains or Sikhs. That despite being the most politically influential community in India.
(This trend is seen in USA too where politically influential Irish Americans score worse than least influential Japanese Americans on socio economic indicators).
RTE's draconian provisions and how they hurt both Hindu community and schools is well documented. Over 15K schools are in danger of losing their legal status because of this law.
Also I am completely unaware how it can be justfied that a Hindu can not preside over NMEC which happens to be a government's administrative body!
There's no official data to say over 100,000 schools have been shut down. You linked to some blog which just reported some figures which some "Civil society coalition" fed to them. Without any reference. Please cite an official or reputed sources if you have.
The "National Independent School Association", NISA, have been lobbying unsuccessfully against RTE for years. That's just because most private schools don't want to reserve 25% seats for backward/schedule caste. It's as simple as that. Someone should tell them it is 2015!
You can't expect minority institutions to adhere to this quota for backward hindus, since minorities such as muslims are socially, economically, and educationally backward themselves.
Also, it's not that a NCMEI chairperson can not be a hindu, but that he should be a minority himself. It makes total sense to me since it's the "National Minority Education Commission".
I'll again rephrase.
RTE needs to be applied to private schools so backward/schedule caste have access to education just like you and me. It does it by reservations and regulations.
It doesn't apply to minority institutions because bulk of minorities are backward/scheduled themselves. So they can't be expected to have reservations for backward/scheduled from mainstream.
I can't see how anyone can consider this to be vile from a neutral standpoint. In fact to me it just illustrates some of the most peculiar strengths of the Indian system.
I Have a 8GB/4-core atom based bare metal server running on packet.net for only 35$. Is running 30+ moderately used containers without any trouble.
Got me off heroku finally!