Skip to content

Conversation

@rose-a
Copy link
Contributor

@rose-a rose-a commented Jan 25, 2019

The capacity bounding prevents subscription updates to reach their target in a single WebSocket scenario where multiple subscriptions push an update simultaneously, since following update messages are discarded as long as the first message is being sent.

RehanSaeed and others added 9 commits June 6, 2018 20:20
…raphql-dotnet#118)

* Revert "Revert "Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (graphql-dotnet#116)" (graphql-dotnet#117)"

This reverts commit 64a4658.

* Revert "Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (graphql-dotnet#116)"

This reverts commit a4993c8.

* Revert "Initialize the DocumentWriter so it indents in development and uses the MVC built in JsonSerializerSettings. (graphql-dotnet#115)"

This reverts commit 00a67a1.
Release 3.1
Release 3.2
Release 3.4
rose-a added a commit to haprotec/graphql-client that referenced this pull request Jan 28, 2019
deinok pushed a commit to graphql-dotnet/graphql-client that referenced this pull request Jan 29, 2019
* add StringEnumConverter to JsonSerializerSettings

* fix dependencies

* change version

* fix version

* fix CloseAsync

* lock dispose

* implement external exception handling for subscription streams

* fix doc comment

* add back-off delay for automatic reconnects

* create GraphQLHttpWebSocket class

* get single socket working

* fix subscription test, cleanup code

* more code cleanup

* add test CanConnectMultipleSubscriptionsSimultaneously

* dynamically find free ports for integration test

* add WebSocketExceptionHandler to clientOptions

* move reconnect-logic into subscriptions

* move external exception handler declaration to CreateSubscriptionStream overloads

* fix exception on disposing disconnected subscription

* fix tests, add console app for testing reconnect after server restart

* Update GraphQL.Client.Tests.csproj

* Nullable check (#86)

* nonnullable

* fix some things

* other fix

* netstandard2.0

* Update README.md

* create "queue" for requests so that only one send operation is performed at a time

* fix websockets on win 7

* remove websockets4net dependency

* Update root.props

* Update config.yml

* IsTestProject

* Benchmar

* benchmark

* Update GraphQLLocation.cs

* new Spec

* fix suff for dotnet core 3.0

* check response for 'null' in where clause

* add obsolete parameterless constructor to GraphQLRequest

* add debug output in websocket receive

* reuse observables for identical requests

* store changes to consoleapp

* fix StackOverflowException in GraphQLRequest.GetHashCode()

* fix receiving long messages via websocket

* add obsolete constructor

* make ReceiveResultStream observable Hot

* fix multiple subscriptions by using subject in GraphQLHttpWebSocket

* fix overlapping subscriptions

* fix subscription test to work arround graphql-dotnet/server#199

* add an observable which publishes all websocket exceptions

* fix OnNext calls of exceptionSubject

* fix GraphQLHttpClient(Uri endPoint, GraphQLHttpClientOptions options) constructor

* test requests via websockets

* bump pre-release version
deinok pushed a commit to graphql-dotnet/graphql-client that referenced this pull request Feb 11, 2019
* add StringEnumConverter to JsonSerializerSettings

* fix dependencies

* change version

* fix version

* fix CloseAsync

* lock dispose

* implement external exception handling for subscription streams

* fix doc comment

* add back-off delay for automatic reconnects

* create GraphQLHttpWebSocket class

* get single socket working

* fix subscription test, cleanup code

* more code cleanup

* add test CanConnectMultipleSubscriptionsSimultaneously

* dynamically find free ports for integration test

* add WebSocketExceptionHandler to clientOptions

* move reconnect-logic into subscriptions

* move external exception handler declaration to CreateSubscriptionStream overloads

* fix exception on disposing disconnected subscription

* fix tests, add console app for testing reconnect after server restart

* Update GraphQL.Client.Tests.csproj

* Nullable check (#86)

* nonnullable

* fix some things

* other fix

* netstandard2.0

* Update README.md

* create "queue" for requests so that only one send operation is performed at a time

* fix websockets on win 7

* remove websockets4net dependency

* Update root.props

* Update config.yml

* IsTestProject

* Benchmar

* benchmark

* Update GraphQLLocation.cs

* new Spec

* fix suff for dotnet core 3.0

* check response for 'null' in where clause

* add obsolete parameterless constructor to GraphQLRequest

* add debug output in websocket receive

* reuse observables for identical requests

* store changes to consoleapp

* fix StackOverflowException in GraphQLRequest.GetHashCode()

* fix receiving long messages via websocket

* add obsolete constructor

* make ReceiveResultStream observable Hot

* fix multiple subscriptions by using subject in GraphQLHttpWebSocket

* fix overlapping subscriptions

* fix subscription test to work arround graphql-dotnet/server#199

* add an observable which publishes all websocket exceptions

* fix OnNext calls of exceptionSubject

* fix GraphQLHttpClient(Uri endPoint, GraphQLHttpClientOptions options) constructor

* test requests via websockets

* bump pre-release version

* fix initializing websocket when multiple threads create a subscription concurrently
@pekkah pekkah merged commit 170b7f5 into graphql-dotnet:develop Feb 14, 2019
@rose-a rose-a deleted the remove-capacity-bounding-on-websocket-writer-pipeline branch February 14, 2019 07:28
@samyhrer samyhrer mentioned this pull request Feb 21, 2019
deinok pushed a commit to graphql-dotnet/graphql-client that referenced this pull request Mar 7, 2019
* add StringEnumConverter to JsonSerializerSettings

* fix dependencies

* change version

* fix version

* fix CloseAsync

* lock dispose

* implement external exception handling for subscription streams

* fix doc comment

* add back-off delay for automatic reconnects

* create GraphQLHttpWebSocket class

* get single socket working

* fix subscription test, cleanup code

* more code cleanup

* add test CanConnectMultipleSubscriptionsSimultaneously

* dynamically find free ports for integration test

* add WebSocketExceptionHandler to clientOptions

* move reconnect-logic into subscriptions

* move external exception handler declaration to CreateSubscriptionStream overloads

* fix exception on disposing disconnected subscription

* fix tests, add console app for testing reconnect after server restart

* Update GraphQL.Client.Tests.csproj

* Nullable check (#86)

* nonnullable

* fix some things

* other fix

* netstandard2.0

* Update README.md

* create "queue" for requests so that only one send operation is performed at a time

* fix websockets on win 7

* remove websockets4net dependency

* Update root.props

* Update config.yml

* IsTestProject

* Benchmar

* benchmark

* Update GraphQLLocation.cs

* new Spec

* fix suff for dotnet core 3.0

* check response for 'null' in where clause

* add obsolete parameterless constructor to GraphQLRequest

* add debug output in websocket receive

* reuse observables for identical requests

* store changes to consoleapp

* fix StackOverflowException in GraphQLRequest.GetHashCode()

* fix receiving long messages via websocket

* add obsolete constructor

* make ReceiveResultStream observable Hot

* fix multiple subscriptions by using subject in GraphQLHttpWebSocket

* fix overlapping subscriptions

* fix subscription test to work arround graphql-dotnet/server#199

* add an observable which publishes all websocket exceptions

* fix OnNext calls of exceptionSubject

* fix GraphQLHttpClient(Uri endPoint, GraphQLHttpClientOptions options) constructor

* test requests via websockets

* bump pre-release version

* use JsonSerializerSettings from options in websocket requests

* fix query errors via websocket

* fix sequence termination and error handling in websocket streams
rose-a added a commit to rose-a/server that referenced this pull request Mar 23, 2020
* Initialize the DocumentWriter so it indents in development and uses the MVC built in JsonSerializerSettings. (graphql-dotnet#115)

* Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (graphql-dotnet#116)

* Revert "Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (graphql-dotnet#116)" (graphql-dotnet#117)

This reverts commit a4993c8.

* Revert "Use MVC JsonSerializerSettings & Indent JSON in Development" (graphql-dotnet#118)

* Revert "Revert "Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (graphql-dotnet#116)" (graphql-dotnet#117)"

This reverts commit 64a4658.

* Revert "Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (graphql-dotnet#116)"

This reverts commit a4993c8.

* Revert "Initialize the DocumentWriter so it indents in development and uses the MVC built in JsonSerializerSettings. (graphql-dotnet#115)"

This reverts commit 00a67a1.

* remove BoundedCapacity (defaults to Unbounded)
Shane32 pushed a commit that referenced this pull request Aug 31, 2020
* Initialize the DocumentWriter so it indents in development and uses the MVC built in JsonSerializerSettings. (#115)

* Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (#116)

* Revert "Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (#116)" (#117)

This reverts commit a4993c8.

* Revert "Use MVC JsonSerializerSettings & Indent JSON in Development" (#118)

* Revert "Revert "Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (#116)" (#117)"

This reverts commit 64a4658.

* Revert "Add ComplexityConfiguration, EnableMetrics, SetFieldMiddleware to GraphQLHttpOptions (#116)"

This reverts commit a4993c8.

* Revert "Initialize the DocumentWriter so it indents in development and uses the MVC built in JsonSerializerSettings. (#115)"

This reverts commit 00a67a1.

* remove BoundedCapacity (defaults to Unbounded)
@Shane32 Shane32 mentioned this pull request Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants