3 ms·
It's not only DO. I had to create a Linux VPS in order to run a Sinatra application because when deployed on FreeBSD it took more than 60 seconds to send a resp
by atmosx 12y ago
It's not only DO. I had to create a Linux VPS in order to run a Sinatra application because when deployed on FreeBSD it took more than 60 seconds to send a response to the remote API and the connection was timed out!
After performing some tests[2] I figure out that the problem was not FreeBSD per se, but the FreeBSD deployment on the specific virtual server... I think that *BSDs should be avoided because they tend to be a lot slower than linux deployments on virtual machines.
[1] http://www.transip.eu http://www.transip.eu
[2] https://gist.github.com/atmosx/14efea27eb2c1e38af09/ https://gist.github.com/atmosx/14efea27eb2c1e38af09/
- felixgallo 12y agosomething must have been horribly, horribly broken on your freebsd installation or hosting environment, because there's no way any sinatra service takes 60 seconds to respond. And, your gist doesn't show a significant performance difference between linux and freebsd.
- deleted 12y ago[deleted]
- mst 12y ago> I think that *BSDs should be avoided because they tend to be a lot slower than linux deployments on virtual machines. Many virtualisation providers don't support it properly, but "should be avoided because my suppliers are stupid" is a terrible plan.
- lmm 12y agoFreeBSD often has better performance than Linux when both are properly hosted. I think the lesson is more like "when a provider is new to a particular system, there will be problems; for production systems use a provider that's experienced at supporting the kind of system you want to use".
- jshsmn 12y agoI disagree with this. FreeBSD is running fine and speedy at other providers in a virtualized platform.