1,790 karma · joined May 8, 2013
https://intellistream.ai https://no.linkedin.com/in/olavgjerde http://olavgg.com
However if Linux should require a new CPU generation, I would quickly migrate it to my Epyc Rome VM server. No questions asked. A 10 years old CPU is outdated, its single core performance may be ok. But this generation had 4-6 cores max and sucked 100watts at full load, like 25 watt per cor. My Epyc uses 2 watt per core and is also faster per core.
It is not a lot of work at all, I update the Gitea lib a few times every year and its as simple as replacing one binary file.
Grails has GSP templates, while Spring Boot and Micronaut supports several, but I prefer either Thymeleaf or JTE templates.
Grails and Spring uses Hibernate, which is fantastic to work with. Micronaut has its own orm, which is really fast. In Grails Hibernate is abstracted into something named GORM, Spring Boot's Hibernate abstraction is named Spring Data. Spring Data is more polished than GORM. They're both very well documented and easy to use.
They are all very easy to use with other excellent Java tools/libraries, Kafka, Pulsar, Neo4j and so on.
If time to market is your thing, pick Grails. (This is what I care most about)
If performance (web scale) is your thing, pick Micronaut.
If best documented is most important, pick Spring Boot.
Grails is an abstraction of Spring Boot, basically you can do everything Spring Boot can. But Grails makes Spring Boot a lot easier, especially for inexperienced developers.
Java has a massive community and a community that shares knowledge. This is what makes Java the greatest tool for any business.
I am founder for a new startup and we decided to go for Office 365 as our email service because it just made most sense for our business. And those who knows me, know that I prefer to avoid Microsoft solutions most of the time.
I do also think a single PHP file is maybe the easiest option.
Today its a different story. FreeBSD is cool, and you will learn more about Linux by learning FreeBSD and it works really well.
However I am currently moving my last system away from FreeBSD. It is just that, Linux/Centos is better, and easier to maintain. Especially third-party packages. There are other things like Linux has support for NVMe-oF which I use together with ZFS on Linux. Applications, especially databases has often 1x-2x better performance. Virtualization is better and more performant. Better NUMA.
My backup server is still running almost 17-18 years old 500GB hard drives. They will be retired soon though, as they consume too much power and lack spindown when not in use.
I run it together with ZFS and SQLite. This enables atomic snapshot of both the database and git repository. And this is of course replicated to another system. SQLite is plenty fast, people should avoid more complex solutions using PostgreSQL or MySQL. I've also configured SSO with Azure Active Directory which everyone with mail from Microsoft has access for free.
For the past few years I've completed a few dozen upgrades, only 2 times it has broken. One was a new configuration property I needed to add, and one was that I upgraded GoLang a bit too early and Gitea didn't support it. Compared to many other open source projects, Gitea is a joy to use and run. And I hope it will stay like this for another 10 years.
He also knows about Linux and license free virtualization. But making a move requires people, and people with Linux knowledge are very rare.
I've heard people say that writing your own auth is bad and hard, and the same people fucking it all up with a misconfigured Apache/Nginx server because they don't read/understand the documentation. Mistakes do happen, do your research, discuss it with others and you will learn a lot while creating a secure system that was not that hard to implement in the first place.