Welcome to my field notes!

Field notes are notes I leave myself as I go through my day to day work. The hope is that other people will also find these notes useful. Note that these notes are unfiltered and unverified.



TJ Palanca


October 27, 2022


Main advantage of websockets

  • Client can receive messages pushed from the server. Alternatives like polling or long polling introduce overhead and complexity.

Managing concurrent clients

  • You would write a connection manager that maps user_ids to a connection.