updates

We’re updating our services to keep their messages in a Redis by storing them in isolated keys. Before this change, messages were stored in a single key (one key per firebase account) and were pushed there with a Redis LPUSH mechanism.

A change has not been yet proven to be more efficient, but it brings some benefits like:

  • ability to JSON serialize a batch of messages (while LPUSH implementation required to serialize each message separately)
  • ability to set individual batch TTLs
  • go-sender does not need to look up for a large queue of messages to clear it up

There is also an important fix for go-sender related issue that was a cause of an unexpected behavior. Details of the origins of the problem can be found in 2024-05-07

Since notifications payload is changed within a directory-messages update, manager-api update is also required for static_files changes to be generated and pushed to S3 static storage.

update map

deployment render all [[templates/items/deployment]] where page = @page.name