2 ms·
> LiveView will beat client-side apps that necessarily needs to talk to the server to perform writes or reads because we already have the connection established
by omegalulw 5y ago
> LiveView will beat client-side apps that necessarily needs to talk to the server to perform writes or reads because we already have the connection established and there's less overhead
Don't modern browsers already share a TCP connection for multiple queries implicitly?
- collinmanderson 5y agoYeah. The overhead I see that's being reduced from a performance point of view is the server not needing to query the session/user information on every message, compared to ajax. That's true for websockets in general. And then the responses might be slightly smaller because it is an efficient diff with just the changed information.