-
-
Notifications
You must be signed in to change notification settings - Fork 576
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
Next Centrifugo release won't support multiple projects, if you have any objections - write here #33
Comments
Release of Centrifugo v1.0.0 is planned on this weekend! Here is current changelog (something can change, feel free to write your opinion):
How to migrate
I.e. before v1 you started Centrifugo like this to use web interface:
Now all you need to do is run:
And no need to download web interface repository at all! Just run command above and check http://localhost:8000. If you don't want to use embedded web interface you can still specify path to your own web interface directory:
|
Centrifugo v1.0.0 released |
I'll try to describe why I decided to do so.
At moment Centrifugo does not support any sort of sharding and having two project registered can result in denial of two project's real-time features because of one of those projects under heavy load. I have already written about this in docs.
Also this will allow to make a little shift in Centrifugo API philosophy - i.e. API will be not per project but per Centrifugo. This means that Centrifugo can theoretically return stats and metrics via calls to HTTP API. At moment this is semantically incorrect because of multiple project support - i.e. that data must be per project.
Of course it will result in some backwards incompatible changes. Slightly modified configuration options for project settings. And no need to use project name in connect parameters, API calls, token generation etc. I think most of those problems can be quick fixed by using empty string as project name. But some functions will have another signatures in new versions of libraries (i.e. won't accept project name where it was accepted before).
In my opinion this change will open a road to next improvements in Centrifugo which is currently very difficult because of multiple projects support.
The text was updated successfully, but these errors were encountered: