What would be the AWS equivalent to Firebase Realtime Database?

后端 未结 4 1753
时光取名叫无心
时光取名叫无心 2020-12-22 16:50

I\'m working on a new game project at the moment that will consist of a React Native front-end and a Lambda-based back-end. The app requires some real time features such as

4条回答
  •  礼貌的吻别
    2020-12-22 17:27

    I asked a similar question to the AWS Support, and this was their response.

    My question to them:

    What's the group of AWS services (if it's possible) to give that same in-browser real-time DBaaS feel like Firebase?

    AWS Cognito seems to be great for user-accounts. Is there anything similar for the WebSockets / real-time DB part?

    Their response:

    To your question, Firebase is closest to the AWS service AWS MobileHub. You can check out more details below about mobilehub from below link.

    https://aws.amazon.com/mobile/details/ https://aws.amazon.com/mobile/getting-started/

    "AWS Cognito seems to be great for user-accounts. Is there anything similar for the WebSockets / real-time DB part?"

    Amazon Dynamodb is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models. Its flexible data model, reliable performance, and automatic scaling of throughput capacity, makes it a great fit for mobile, web, gaming, ad tech, IoT, and many other applications.

    Amazon Dynamodb can be further optimized with Amazon DynamoDB Accelerator (DAX) which is a fully managed, highly available, in-memory cache that can reduce Amazon DynamoDB response times from milliseconds to microseconds, even at millions of requests per second.

    For more information, please see below documentation.

    https://aws.amazon.com/dynamodb/getting-started/ https://aws.amazon.com/dynamodb/dax/

    Should you have any further questions, please do not hesitate to let me know.

    Thanks.

    Best regards,

    Tayo O. Amazon Web Services

    Check out the AWS Support Knowledge Center, a knowledge base of articles and videos that answer customer questions about AWS services: https://aws.amazon.com/premiumsupport/knowledge-center/?icmpid=support_email_category

    Also while researching this answer I also found this, looks interesting:

    https://aws.amazon.com/blogs/database/how-to-build-a-chat-application-with-amazon-elasticache-for-redis/

    The comments to that article is interesting as well.

    Jacob Wakeem: What advantage this approach have over using aws iot? It seems that iot has all these functionality without writing a single line of code and with server-less architecture.

    Sam Dengler: The managed PubSub feature in the AWS IoT service is also a good approach to message-based applications, like the one demonstrated in the article. With Elasticache (Redis), customers who use Pub/Sub are typically also using Redis as a data store for other use cases such as caching, leaderboards, etc. With that said, you could also use ElastiCache (Redis) with the AWS IoT service by triggering an AWS Lambda function via the AWS IoT rules engine. Depending on how the message-based application is architected and how the data is leveraged, one solution may be a better fit than the other.

提交回复
热议问题