Skip to content

mattheworiordan/playing-with-actioncable

Repository files navigation

Playing with ActionCable

This repository is an incredibly simple Rails server that includes an ActionCable channel. I wanted to experiment with ActionCable specifically to see how it performs under load.

To run the tests:

  • Start the server rails s -b 0.0.0.0 (don't use localhost)
  • Open a browser to https://localhost:3000, this will open a single connection and channel subscription
  • Create 2,500 connections each with a single channel subscription node test-actioncable.js

A test script exists to connect to Ably and publish a high volume of messages quickly, see test-ably.js. However, please note that your tests may not provide useful results for the following reason:

About

Some performance testing of Rails 5 ActionCable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published