3 ms·
Any reason you didn't use Socket.io? I noticed you're polling the server every few seconds for updates.
by kylemathews 15y ago
Any reason you didn't use Socket.io? I noticed you're polling the server every few seconds for updates.
- thedufer 15y agoWe do. Its hard to list every framework/library in there, so they're not all mentioned. Look for a future technical blog post that goes into more detail on what we used.
- ianthehenry 15y agoTrello does use Socket.io. If your browser supports websockets it will use them, but it will transparently fall back to polling if necessary.
- juliennakache 15y agoI user Chrome 14 and updates take over 5 secs to be synced across different tabs. Some kind of a bug or the backend app polls the db regularly to push new messages ?
- ianthehenry 15y agoWe're scaling back a little to handle the usage spike from the initial launch, so some users will get polling even if their browsers support websockets. As the load stabilizes, we'll be switching them back on and you should see performance improve quite a bit.