elvismdev / wordpress-firebase-chat

Live Chat powered by Firebase
0 stars 0 forks source link

Store chat data in self hosted DB #6

Open elvismdev opened 9 years ago

elvismdev commented 9 years ago

Currently this plugin stores the chat data into firebase.com where you create a free account and with this one is able to handle only up to 50 connections for free. I'm in the need to use this plugin with more than this 50 connections (between 2000 and 5000 users/connections). So I'm thinking maybe moving the chat data storage outside firebase.com to a self hosted database solution might work to remove this limitation.

Pointing data to a MySQL database would work?

@royboy789 any input or advice on this?

royboy789 commented 9 years ago

The problem with this is that firebase sets up the websocket connection, using local storage you'd have to create a websocket OR you'd have to fire an ajax call to get the data every X interval.