At Heii On-Call, we use Crystal to power the API server https://api.heiioncall.com/ as well as other internal components.
Re:Crystal 1.11.0 Is Released
by asadawadia on Sunday January 14, 2024 @07:13PM
(#38995860)
do you use kemal?
Hopefully they use Grip, a much better framework with encapsulation
Re:Crystal 1.11.0 Is Released
by 1vuio0pswjnm7 on Sunday January 14, 2024 @03:26PM
(#38994117)
Invidious, a self-hosted YouTube front-end. is written in Crystal.
And its resource usage is depressing. Isn’t Crystal garbage collected? I’m not sure why it has memory leaks.
Also, >300 MB of RAM usage (in docker. Some might be the system) with only 2 users after running for a while seems a bit too much
How would you know the memory leak was the Crystal part?
https://github.com/iv-org/invidious/issues/1438
I’m not the first one facing these issues.
Oh is this why Invidious' setup documentation recommends restarting Invidious every hour or so?
I ended up just throwing it 4 gigs of memory and it has pretty much been fine ever since. I do restart every few weeks when it reaches 1 GB though
Re:Crystal 1.11.0 Is Released
by 1vuio0pswjnm7 on Sunday January 14, 2024 @10:59PM
(#38997315)
(Not an Invidious user myself. I just looked at the source code a while back to see what they were doing. But I never tried compiling or using it.)
I believe Kagi is a heavy user of the language.
Re:Crystal 1.11.0 Is Released
by SushiHippie on Sunday January 14, 2024 @08:37PM
(#38996410)
~70k LOC Crystal
Mentioned in the crystal conf talk held by a Kagi Developer
Correct link
https://www.youtube.com/watch?v=r7t9xPajjTM
My last company (Rainforest QA) used it in quite a few places when ruby wasn't fast enough, though a lot of Go too.
Maybe not up to date : https://crystal-lang.org/used_in_prod/
Which companies use Crystal in anger / production in front of real users?