$30 off During Our Annual Pro Sale. View Details »

Using ZIO's Ref and Schedule data types for bac...

Using ZIO's Ref and Schedule data types for background processing

NsLookup.io uses Scala and ZIO for its backend. It needs to maintain an up-to-date list of DNS servers, that should be health checked periodically. In this lightning talk, we'll learn how you can use ZIO's Ref and Schedule data types for background processing.

Ruurtjan

March 11, 2022
Tweet

More Decks by Ruurtjan

Other Decks in Programming

Transcript

  1. Shopping list • Download this dataset once per day •

    Remove bad servers from the list • Store it somewhere the API can use it • Continuously check the health of the DNS servers • Query healthy DNS servers in API requests