←back to thread

Crystal 1.16.0

(crystal-lang.org)
131 points ksec | 3 comments | | HN request time: 0.202s | source
1. gw2 ◴[] No.43652683[source]
Questions to anyone using Crystal in production:

* How is the GC latency, considering that Crystal uses the Boehm GC?

* Have you encountered any problems in long running programs due to the conservative nature of Boehm?

replies(2): >>43654328 #>>43656111 #
2. npn ◴[] No.43654328[source]
> gc latency I don't know, never care much about it, haven't cause any issue the 6 years I run my web services using Crystal.

> long running programs depends, I write several services that running 24/7. Some runs fine for months, some just refuses to response after a few day. Too busy to track for the cause so I just automatically reset the affected services at 4AM.

3. compumike ◴[] No.43656111[source]
We wrote https://github.com/compumike/idle-gc to run GC when the long-running process is otherwise mostly idle. It’s been fine for us.