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

AWS AppSync

196
254
+ 1
30
Prisma

1K
925
+ 1
54
Add tool

AWS AppSync vs Prisma: What are the differences?

  1. Key Difference 1: Live data updates AWS AppSync allows real-time data updates through GraphQL subscriptions. It enables clients to get immediate updates whenever there is a change in the backend data. On the other hand, Prisma does not have built-in support for real-time data updates. To implement real-time updates with Prisma, additional tools or libraries like WebSocket or real-time messaging systems need to be integrated.

  2. Key Difference 2: Managed infrastructure AWS AppSync is a fully managed service provided by Amazon Web Services, which means that the infrastructure for running the service is handled by AWS. Users do not have to worry about scaling, patching, or managing the underlying database. Prisma, on the other hand, is an open-source tool that needs to be deployed and managed by the users themselves. Users are responsible for maintaining the infrastructure and ensuring high availability.

  3. Key Difference 3: Integrated authorization and authentication AWS AppSync provides built-in authentication and authorization capabilities. It supports different authentication mechanisms like API keys, Amazon Cognito, and OpenID Connect. Users can easily define fine-grained access control to their APIs and data. Prisma, on the other hand, does not provide built-in authentication and authorization mechanisms. Users need to implement their own authentication and authorization layers using third-party libraries or frameworks.

  4. Key Difference 4: Data caching AWS AppSync provides built-in caching mechanisms to improve performance and reduce the load on the backend systems. It supports configurable caching at different levels, including field-level caching and response-level caching. Prisma, on the other hand, does not have built-in caching mechanisms. Users need to implement caching strategies themselves using tools like Redis or Memcached.

  5. Key Difference 5: Database support AWS AppSync supports multiple databases, including DynamoDB, Aurora Serverless, and Amazon Elasticsearch. Users have the flexibility to choose the database that best fits their needs. Prisma, on the other hand, is agnostic to the database and can work with various SQL and NoSQL databases. It generates database schemas and provides a query builder to interact with the database.

  6. Key Difference 6: Language support AWS AppSync supports multiple programming languages, including JavaScript, TypeScript, Java, Swift, and Python. Users can choose the language they are comfortable with to develop their GraphQL APIs. Prisma, on the other hand, is primarily focused on TypeScript and supports Node.js as the runtime environment. It provides strong type support and code generation specific to TypeScript.

In Summary, AWS AppSync is a fully managed service with real-time data updates, built-in authentication and authorization, caching mechanisms, support for multiple databases, and language flexibility. Prisma, on the other hand, requires manual deployment and management, lacks built-in authentication and caching, and supports various databases with a focus on TypeScript development.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of AWS AppSync
Pros of Prisma
  • 9
    GraphQL
  • 6
    Real-Time
  • 3
    Offline
  • 3
    Apollo
  • 2
    Fully managed and scalable GraphQL Resolver!
  • 2
    Backed by Amazon
  • 2
    BaaS
  • 2
    AWS
  • 1
    Enterprise Security
  • 12
    Type-safe database access
  • 10
    Open Source
  • 8
    Auto-generated query builder
  • 6
    Supports multible database systems
  • 6
    Increases confidence during development
  • 4
    Built specifically for Postgres and TypeScript
  • 4
    Productive application development
  • 2
    Supports multible RDBMSs
  • 2
    Robust migrations system

Sign up to add or upvote prosMake informed product decisions

Cons of AWS AppSync
Cons of Prisma
    Be the first to leave a con
    • 2
      Doesn't support downward/back migrations
    • 1
      Doesn't support JSONB
    • 1
      Do not support JSONB
    • 1
      Mutation of JSON is really confusing
    • 1
      Do not support JSONB

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is AWS AppSync?

    AWS AppSync automatically updates the data in web and mobile applications in real time, and updates data for offline users as soon as they reconnect. AppSync makes it easy to build collaborative mobile and web applications that deliver responsive, collaborative user experiences.

    What is Prisma?

    Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.

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

    What companies use AWS AppSync?
    What companies use Prisma?
    See which teams inside your own company are using AWS AppSync or Prisma.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with AWS AppSync?
    What tools integrate with Prisma?

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

    What are some alternatives to AWS AppSync and Prisma?
    Firebase
    Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
    AWS Mobile Hub
    AWS Mobile Hub is the fastest way to build mobile apps powered by AWS. It lets you easily add and configure features for your apps, including user authentication, data storage, backend logic, push notifications, content delivery, and analytics. After you build your app, AWS Mobile Hub gives you easy access to testing on real devices, as well as analytics dashboards to track usage of your app – all from a single, integrated console.
    AWS Amplify
    A JavaScript library for frontend and mobile developers building cloud-enabled applications. The library is a declarative interface across different categories of operations in order to make common tasks easier to add into your application. The default implementation works with Amazon Web Services (AWS) resources but is designed to be open and pluggable for usage with other cloud services that wish to provide an implementation or custom backends.
    Realm
    The Realm Mobile Platform is a next-generation data layer for applications. Realm is reactive, concurrent, and lightweight, allowing you to work with live, native objects.
    Firebase Realtime Database
    It is a cloud-hosted NoSQL database that lets you store and sync data between your users in realtime. Data is synced across all clients in realtime, and remains available when your app goes offline.
    See all alternatives