TagProgramming

GraphQL and GRPC Speed Test using C# and Ruby

G

I recently implemented a GraphQL + GRPC server, with a bridge between the two. This way, clients can connect via GRPC or via GraphQL but have complete feature parity. In this post, I’ll analyze the performance (speed) of each. The Setup For this test, I created a complicated GRPC function that needed to load an item from the database, update it, and then return a huge amount of nested...

Building a GraphQL Gateway to a GRPC Server

B

GRPC and GraphQL are both fantastic technologies. Each have their advantages and disadvantages. I’ve long wondered if a server could easily allow the client to choose to use either. In this post, I’ll discuss how I built a C# server which serves GRPC calls over HTTP/2, and then added a Ruby on Rails gateway such that web (or other) clients could fall back on GraphQL over HTTP 1.1...

Architecting a Networking and Database Library

A

For one of my projects, needed to build a networking and data layer as a library which could be used in my Unity game. I wanted a single library which would provide data model classes, handling both persistence (database) and client/server transport (networking). It made sense to build the project using C# .NET 4.6, meaning that it’d use the same language / framework as Unity itself...

Cross-Compiling GRPC in C# and Unity, targeting All Platforms (iOS, Android, Linux, Windows, Mac)

C

Traditionally, game developers have been constrained in their networking choices. TCP and HTTP are typically far too slow for any seriously real-time game, leaving UDP and all of the… interesting problems that go along with it. Or WebSockets, for the truly masochistic. GRPC, or Google’s take on Remote Procedure Calls, are a fast and efficient use of HTTP/2. I had a dream of being able...

Recent Posts

Recent Comments

Archives

Categories

Meta

Recent Posts

Categories

Tags

zane

Thank you for your comments — they help motivate me to keep writing. The kindest show of support is to share this with someone who'd like it.

Get in touch

Quickly communicate covalent niche markets for maintainable sources. Collaboratively harness resource sucking experiences whereas cost effective meta-services.