graphql-engine/server
Brandon Simmons f9b5b8382c Lower stack chunk size in RTS to reduce thread STACK memory (closes #5190)
This reduces memory consumption for new idle subscriptions significantly
(see linked ticket).

The hypothesis is: we fork a lot of threads per websocket, and some of
these use slightly more than the initial 1K stack size, so the first
overflow balloons to 32K, when significantly less is required.

However: running with `+RTS -K1K -xc` did not seem to show evidence of
any overflows! So it's a mystery why this improves things.

GHC should probably also be doubling the stack buffer at each overflow
or doing something even smarter; the knobs we have aren't so helpful.
2020-06-25 14:42:51 -04:00
..
bench-wrk Regression benchmarks setup (#3310) 2020-06-19 22:40:17 +05:30
packaging Switch from stack to cabal-install for building server code (close #3280) (#3558) 2020-01-17 16:07:15 -06:00
src-bench-cache Migrate to GHC 8.10, upgrade dependencies. Closes #4517 2020-05-13 19:13:02 -04:00
src-exec generalize query execution logic on Postgres (#5110) 2020-06-16 23:14:59 +05:30
src-lib fix postgres query error for object relationship with permission limit, fix #5148 (#5177) 2020-06-25 09:03:37 +05:30
src-rsr tag release v1.3.0-beta.2 (#5121) 2020-06-25 11:54:16 +05:30
src-test generalize query execution logic on Postgres (#5110) 2020-06-16 23:14:59 +05:30
tests-py fix postgres query error for object relationship with permission limit, fix #5148 (#5177) 2020-06-25 09:03:37 +05:30
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore Switch from stack to cabal-install for building server code (close #3280) (#3558) 2020-01-17 16:07:15 -06:00
.stylish-haskell.yaml Refactor schema cache construction to avoid imperative updates 2020-01-08 16:43:06 -06:00
cabal.project add relay modern support (#4458) 2020-06-08 17:43:01 +05:30
cabal.project.ci Scheduled triggers (close #1914) (#3553) 2020-05-13 18:03:16 +05:30
cabal.project.dev Fix erroneously-commited cabal.project.dev change from f8a731 (#5183) 2020-06-23 22:20:25 +05:30
cabal.project.dev-sh dev.sh: restore code coverage functionality 2020-01-23 18:35:18 -05:00
cabal.project.dev-sh.freeze dev.sh: restore code coverage functionality 2020-01-23 18:35:18 -05:00
cabal.project.dev-sh.local Migrate to GHC 8.10, upgrade dependencies. Closes #4517 2020-05-13 19:13:02 -04:00
cabal.project.freeze Don't compile in developer APIs by default 2020-06-08 10:21:14 +05:30
CONTRIBUTING.md Add a hint on avoiding recompilation during typical dev workflow (#4427) 2020-04-21 21:03:35 +02:00
graphql-engine.cabal Lower stack chunk size in RTS to reduce thread STACK memory (closes #5190) 2020-06-25 14:42:51 -04:00
Makefile Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
Setup.hs move raven into graphql-engine repo 2018-06-28 00:32:00 +05:30
STYLE.md server: Add a Haskell style guide (#2175) 2020-04-08 02:31:30 -05:00