SmartScribs

Quench your Curiosity

Timed Retries using AWS SQS in Golang

SQS (Simple Queuing Service) is a  distributed messaging queuing service introduced by Amazon as a part of AWS (Amazon Web Services). It is a messaging queue that helps in async processing of messages (or tasks). The producer can produce the tasks (by pushing the messages representing the tasks in the queue) and the consumer listens […]

Read More

Prototype Design Pattern in Golang

In this series, we are discussing Design Patterns. In the previous articles, we have already discussed the Object Factory Design Pattern, Singleton Design Pattern. and Builder Design Pattern. After a long break of about a month, we are back again to explore and implement the Prototype Design Pattern in Golang. Prototype Design pattern is a  creational […]

Read More

Increase you productivity with Lodash

Being a software developer, you have to write certain utility functions time and again for the same project. We have already discussed a lot of JavaScript tricks here . In this article, we discuss Lodash. Lodash is one of the most used JavaScript library that provides a lot of utility methods that eases the task […]

Read More

Builder Design Pattern in Golang

In this series, we are discussing Design Patterns. In the previous articles, we have already discussed the Object Factory Design Pattern and the Singleton Design Pattern. After 10 days break, we are back again to explore and implement the Builder Design Pattern in Golang. Builder design pattern is a creational design pattern that is used […]

Read More

Object Factory Design Pattern in Golang

In the previous article, we discussed about the Singleton design pattern and its sample usage. In this article, we will discuss one more, Object Factory Design Pattern in Golang. Object Factory is the most probably most used design pattern in the OOP world. It deals with instantiation and creation of objects and hence is a […]

Read More

Design Patterns : Singleton

This is the second article of the series, wherein we will be discussing one of the easiest but beneficial design patterns, Singleton. Many times we need an object to be instantiated once and used again and again. This is the niche use case of the Singleton design pattern.  In terms of Golang, which has no […]

Read More

Design Patterns : What and Why?

If you have ever developed a project you must have come across the term design pattern. Design Pattern is a general and reusable solution to a certain type of commonly occurring problem in the world of software design. Please note that Design patterns are not rules, they are guidelines or principles to build a robust, […]

Read More