Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serverless guide #45

Merged
merged 6 commits into from
Nov 4, 2023
Merged

Serverless guide #45

merged 6 commits into from
Nov 4, 2023

Conversation

palkan
Copy link
Member

@palkan palkan commented Nov 3, 2023

Preview: https://deploy-preview-45--priceless-northcutt-ea746a.netlify.app/edge/guides/serverless

Changes:

  • New /guides/serverless page
  • Some updates on the main page to shift focus from Rails

Copy link

@irinanazarova irinanazarova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot wait to see it live!

docs/README.md Outdated

Save up to 10x on infrastructure compared to built-in Action Cable without sacrificing Rails productivity by switching to third-party services: a fast Golang server handles the load, a gRPC-driven Rails application deals with business-logic. The [Pro version](./pro.md) offers even more benefits: an additional 40% reduced memory footprint, DX improvements, and priority support.
Save up on infrastructure and PaaS bills without sacrificing productivity: a fast Go server handles the load, and your application deals with business logic. The [Pro version](./pro.md) offers even more benefits: an additional 40% reduced memory footprint, DX improvements, and priority support.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's update the Pro benefits:
The Pro version offers even more benefits: delivery guarantees in cluster mode, fallback transport for private networks, GraphQL integration, added memory efficiency and more.

@@ -0,0 +1,201 @@
# Using AnyCable to power serverless Node.js applications

AnyCable is a great companion for your serverless Node.js applications needing real-time features. It can be used as a real-time server with no strings attached: no vendor lock-in, no microservices spaghetti, no unexpected PaaS bills. Keep your logic in one place (your JS application) and let AnyCable handle the low-level stuff.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very well written!

<img align="center" alt="AnyCable + Node.js serverless architecture" style="max-width:80%" title="AnyCable + Node.js serverless architecture" src="/assets/serverless-light.png">
</picture>

AnyCable-Go will handle WebSocket connections and translate incoming commands into API calls to your serverless functions, where you can manage subscriptions and respond to commands. The client-server communication is expected to use [Action Cable protocol](../misc/action_cable_protocol.md).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably remove "The client-server communication is expected to use Action Cable protocol." because it is sort of excessive knowledge, it seems.

@palkan palkan merged commit a2536db into master Nov 4, 2023
8 checks passed
@palkan palkan deleted the feat/serverless-guide branch November 4, 2023 00:04
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.

2 participants