Browsed by
Author: Amrit

Golang: Beego vs Revel. How to Choose?

Golang: Beego vs Revel. How to Choose?

Comparison of two of the most famous frameworks of Golang The popularity of Golang has been increasing since its launch. A survey shows 76% of the users are using Golang at work and 66% are using it outside the workplace. A lot of developers are considering Golang for Web development these days. There are several frameworks available for the language. It could be a nightmare to choose the framework you want to start your new app with. There are two very popular…

Read More Read More

How To Improve Your Software Design Skills At Work

How To Improve Your Software Design Skills At Work

Few of my learnings from many years of software development experience and after many mistakes Design is an important part of the software development process. Yet many of us do not pay much attention to the design of the product and start coding directly. There are many conscious ways to improve your design skills every day. Results will start showing up over time. Eventually, a realization comes, better design helps in fewer bugs and better code structure, and ease of…

Read More Read More

Rails Like Golang Setup With Revel and GORM

Rails Like Golang Setup With Revel and GORM

The popularity of Golang has been increasing since its inception. The recent survey shows 76% of the users are using Golang at work and 66% are using it outside the workplace. There are many developers who are transitioning from other languages and frameworks to Golang for better performance. Many are moving their existing applications to Golang or developing their new apps in Golang. Why Revel? Like many others, our application was written in Ruby on Rails. We started working on a new application,…

Read More Read More

How To Use Sidekiq As Background Job Processor For Golang

How To Use Sidekiq As Background Job Processor For Golang

Using one of the most popular frameworks, Sidekiq with Golang Context Many developers start with Rails and as the application grows they start writing code in other languages like Golang. Generally, Sidekiq is used for background jobs Rails. Why not use Sidekiq for Golang! Open Source Library Sidekiq compatible background workers in golang. jrallison/go-workers Run the following command. go get github.com/jrallison/go-workers Sample Code AddJob method provides a mechanism to queue a new job in the Sidekiq queue. The method can be used…

Read More Read More

Secure AWS EC2 Instances With MFA and SSH Key Rotation

Secure AWS EC2 Instances With MFA and SSH Key Rotation

Idea The primary idea behind this architecture is to securely access EC2 instances over SSH. There are two parts to this: Secure SSH access to Bastion host using MFA. This process is explained in this AWS blog. Public and Private SSH keys to access EC2 instances from the Bastion host are rotated periodically. An AWS Blog (https://aws.amazon.com/blogs/security/how-to-use-aws-secrets-manager-securely-store-rotate-ssh-key-pairs/) was a great help to understand this setup. It has Cloudformation scripts to setup the Bastion Host and other EC2 instances. We made few…

Read More Read More