#1 2023-01-16 15:29:58

xiwuping
Member
Registered: 2018-02-11
Posts: 32

Linux or Windows

ab, congratulations on mORMot2!

Previously I've been using mORMot with Delphi.  But recently I've decided to embrace FPC + mORMot, seriously.

Question - in terms of performance,  will mORMot on Linux give better performance than on Windows, or similar? 

Thanks!

Offline

#2 2023-01-16 19:04:49

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 13,504
Website

Re: Linux or Windows

FPC + Linux x86_64 has been a lot tuned with mORMot 2.
Because it is our primary target for production servers.

The regression tests run almost twice faster on my machine on Linux than on Windows, and the REST/HTTP server is also much faster - even if we use http.sys on Windows.

Of course, to make the comparison, you need rather a bare metal Linux server, or at least a Linux VM hosted on Linux - not a Linux VM within a Windows Machine. smile

And Linux is a much better server platform than Windows, in terms of price, RAM consumption, ease of updates, stability.

Offline

#3 2023-02-04 01:50:41

xiwuping
Member
Registered: 2018-02-11
Posts: 32

Re: Linux or Windows

Never used Lazarus before, and trying to pick it up.

When installing mormot2ui into Lazarus, I got this error - should i worry about it?  I am using the latest clone (as of Feb 3, 2023).

Suspicious include path

The package mormot2ui 2.0.1 adds the path "$(PkgIncPath)" to the include path of the IDE. This si probably a misconfiguration of the package.

Offline

Board footer

Powered by FluxBB