Lessons Learned: Golang’s GORM FirstOrCreate

Problem GORM is a great Golang Object Relation Mapper and saved us tons of time when developing CyberSift products. However, there were instances when using the FirstOrCreate function where a new record was simply not created Troubleshooting After creating a simple toy Golang program (shown below) we actually see that the new record IS created, … Continue reading Lessons Learned: Golang’s GORM FirstOrCreate

(Slightly) Advanced cache use cases to improve performance

In this article we will explore two related use cases, using caches to improve performance. The use cases are probably very familiar to engineers coming from a front-end background, but I rarely see documentation on the concepts used within a back-end context. The use cases are based off real world scenarios we've encountered in CyberSift. … Continue reading (Slightly) Advanced cache use cases to improve performance