Need advice about which tool to choose?Ask the StackShare community!

AIOHTTP

109
117
+ 1
0
GraphQL

22.3K
18.1K
+ 1
292
Add tool

AIOHTTP vs GraphQL: What are the differences?

Developers describe AIOHTTP as "Asynchronous HTTP Client/Server for asyncio and Python". It is an Async http client/server framework. It supports both client and server Web-Sockets out-of-the-box and avoids Callback It provides Web-server with middlewares and pluggable routing.. On the other hand, GraphQL is detailed as "A data query language and runtime". GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.

AIOHTTP and GraphQL are primarily classified as "Microframeworks (Backend)" and "Query Languages" tools respectively.

Some of the features offered by AIOHTTP are:

  • asyncio
  • client
  • server

On the other hand, GraphQL provides the following key features:

  • Hierarchical
  • Product-centric
  • Client-specified queries

GraphQL is an open source tool with 11.7K GitHub stars and 753 GitHub forks. Here's a link to GraphQL's open source repository on GitHub.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of AIOHTTP
Pros of GraphQL
    Be the first to leave a pro
    • 69
      Schemas defined by the requests made by the user
    • 62
      Will replace RESTful interfaces
    • 59
      The future of API's
    • 47
      The future of databases
    • 12
      Self-documenting
    • 11
      Get many resources in a single request
    • 5
      Ask for what you need, get exactly that
    • 4
      Query Language
    • 3
      Evolve your API without versions
    • 3
      Fetch different resources in one request
    • 3
      Type system
    • 2
      GraphiQL
    • 2
      Ease of client creation
    • 2
      Easy setup
    • 1
      Good for apps that query at build time. (SSR/Gatsby)
    • 1
      Backed by Facebook
    • 1
      Easy to learn
    • 1
      "Open" document
    • 1
      Better versioning
    • 1
      Standard
    • 1
      1. Describe your data
    • 1
      Fast prototyping

    Sign up to add or upvote prosMake informed product decisions

    Cons of AIOHTTP
    Cons of GraphQL
      Be the first to leave a con
      • 3
        Hard to migrate from GraphQL to another technology
      • 3
        More code to type.
      • 1
        Works just like any other API at runtime
      • 1
        Takes longer to build compared to schemaless.

      Sign up to add or upvote consMake informed product decisions

      What is AIOHTTP?

      It is an Async http client/server framework. It supports both client and server Web-Sockets out-of-the-box and avoids Callback. It provides Web-server with middlewares and pluggable routing.

      What is GraphQL?

      GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use AIOHTTP?
      What companies use GraphQL?
      See which teams inside your own company are using AIOHTTP or GraphQL.
      Sign up for Private StackShareLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with AIOHTTP?
      What tools integrate with GraphQL?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      GitHubDockerReact+17
      34
      30261
      GitHubPythonNode.js+47
      50
      69413
      What are some alternatives to AIOHTTP and GraphQL?
      Tornado
      By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.
      Sanic
      Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's based on the work done by the amazing folks at magicstack. On top of being Flask-like, Sanic supports async request handlers.
      Flask
      Flask is intended for getting started very quickly and was developed with best intentions in mind.
      Node.js
      Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
      asyncio
      This module provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives.
      See all alternatives