Our great sponsors
-
go-simple-mail
Golang package for send email. Support keep alive connection, TLS and SSL. Easy for bulk SMTP.
You can however set a custom message ID, although the standard library doesn't provide an easy way to do this. go-simple-mail to the rescue:
-
On the Go side, I'd setup a goroutine fetching unprocessed records in a regular interval (pgx has LISTEN/NOTIFY support) an throwing them in a channel to be processed by n worker goroutines. (This depends on the volume/throughput requirements, of course, but since this would only be a few dozen lines of extra code, I'd always go this route. There's few thing worse than impatient customers demanding at 3am that their mail is sent now...)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.