graphql-engine/docs
Brandon Simmons c425b554b8
server(events): utilize proper backpressure scheme (close #3839) (#4013)
* Test working through a backlog of change events

* Use a slightly more performant threaded http server in eventing pytests

This helped locally but not on CI it seems...

* Rework event processing for backpressure. Closes #3839

With loo low `HASURA_GRAPHQL_EVENTS_FETCH_INTERVAL` and/or slow webhooks
and/or too small `HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE` we might
previously check out events from the DB faster than we can service them,
leading to space leaks, weirdness, etc.

Other changes:
- avoid fetch interval sleep latency when we previously did a non-empty
  fetch
- prefetch event batch while http pool is working
- warn when it appears we can't keep up with events being generated
- make some effort to process events in creation order so we don't
  starve older ones.

ALSO NOTE: HASURA_GRAPHQL_EVENTS_FETCH_INTERVAL changes semantics
slightly, since it only comes into play after an empty fetch. The old
semantics weren't documented in detail, so I think this is fine.
2020-03-11 11:57:31 +05:30
..
_ext docs: cli related and syntax fix (#1463) 2019-01-24 19:46:34 +05:30
_static docs: fix color of paragraph anchor (#3629) 2020-01-03 17:22:28 +05:30
_theme/djangodocs docs: add latest prerelease build info (close #4041) (#4048) 2020-03-09 22:26:59 +05:30
algolia_index pep8 fixes for python files (#875) 2018-10-30 14:51:58 +05:30
examples_schema_migrations merge docs into main repo (close #397) (#398) 2018-09-11 16:41:24 +05:30
graphql/manual server(events): utilize proper backpressure scheme (close #3839) (#4013) 2020-03-11 11:57:31 +05:30
img update actions docs (#4007) 2020-03-03 17:32:40 +05:30
.gitignore add guide for subscriptions using apollo-client (fix #444) (#1018) 2018-12-07 16:48:05 +05:30
404.rst merge docs into main repo (close #397) (#398) 2018-09-11 16:41:24 +05:30
conf.py docs: avoid redirect, update title tag suffix (#4030) 2020-03-06 12:47:20 +05:30
CONTRIBUTING.md fix typos in documentation (#2562) 2019-09-11 12:47:14 +05:30
index.rst fix typos in documentation (#2562) 2019-09-11 12:47:14 +05:30
Makefile add an api to dump postgres schema (close #1939) (#1967) 2019-04-30 14:04:08 +05:30
README.md noop: replace subdomain links with subpath (#3869) 2020-02-27 15:43:07 +05:30
requirements.txt fix docs dependency vulnerability (#2048) 2019-04-23 13:54:48 +05:30

Hasura GraphQL Engine Docs

The documentation accompanying the Hasura GraphQL engine is written with Sphinx and deployed to hasura.io/docs.

Contributing

Check out the contributing guide for more details.

License

The source code in this directory are under MIT License.