Hacker News new | ask | show | jobs
by sdotsen 3957 days ago
THis looks great, I've been looking for something like this for an existing project.

Question, I notice that if I submit test msgs, it all works and displays in the development project area. However, if I open a new browser tab and navigate to the same project, i dont see the history?

I'm looking to use this for deployment purposes. I can have the window open initially but what if a user decides to join our deployment process a few minutes later? he/she won't see what had happened.

1 comments

Thanks! You are looking at administrative web interface, the goal of this interface is just to show messages coming into channels in real-time just to see that Centrifugo works fine and maybe inspect messages being sent. So when you are reloading a page web interface is just start waiting for new messages from scratch. Web interface must be used as just a tool to monitor your Centrifugo installation and is absolutely optional. It allows to send API commands: publish messages, see presence and history information etc

The goal of Centrifugo is just to deliver messages instantly to all connected clients. It has channel history which can be used to show last N messages from channel but it's not related to what you see in web interface. Also note that Centrifugo is not a persistent storage and channel history messages will expire after configurable timeout. So it's possible to implement what you want using channel history but if you take into account 2 things: message history is limited to N messages and message history will expire after M seconds.