Toxantron / scrumonline

PHP web app for planning poker
https://www.scrumpoker.online
Apache License 2.0
399 stars 287 forks source link

What about sockets? #84

Open Demian87 opened 6 years ago

Demian87 commented 6 years ago

@Toxantron What do you think about migrationg your project to websockets? Why did you decide to use polling instead of them?

Toxantron commented 6 years ago

I do have plans to switch to websockets, especially since the increasing user count drives my cheap webserver at its capacity limit. However PHP is not my "main language" and my knowledge of websockets in PHP even worse. So I plan a rewrite in ASP.NET Core, but right now that's not in my schedule. I just try to keep up with the user count with "smart polling" and dynamic intervals. For the PHP version I will roll out sessions tokens ASAP and then will have time for a rewrite during winter.

I initially chose PHP to broaden my horizon and learn a new language. The project started only as a tool for my team because I was unhappy with either pricing or mobile rendering of the alternatives. And because it was intended for our team and I knew about issues with corporate firewalls I used HTTP polling instead. I never expected it to become one of the most popular webapps for scrumpoker.