ruby-hyperloop / hyper-mesh

The project has moved to Hyperstack!! - Synchronization of active record models across multiple clients using Pusher, ActionCable, or Polling
https://hyperstack.org/
MIT License
22 stars 12 forks source link

Action Cable adapter #11

Open noma4i opened 7 years ago

noma4i commented 7 years ago

When Action Cable used it's better to store message queue in redis. Now 1000 actions done against ActiveRecord will spawn another 2000 queries to store/wipe synchromesh_queued_messages

Not a priority for now but looks like possible point of failure.

Idea is to get rid of sticky synchromesh/connection.rb and wrap with lightweight redis set/rpop.

catmando commented 7 years ago

@noma4i - agree 100% thanks for raising the issue.

catmando commented 6 years ago

@adamcreekroad didn't you work on a redis adapter?