Open in app

Sign In

Write

Sign In

Reshef Sharvit
Reshef Sharvit

121 Followers

Home

About

5 days ago

Anti Corruption Layer for a SOLID application in Golang

In this post I would like to discuss a case that may come up when your service is interacting with a 3rd party service. Use Case: Imagine a world where an NBA team decides to compensate their players by a set of rules. In this case, by their personal statistics. The service applies…

Golang

4 min read

Anti Corruption Layer for a SOLID application in Golang
Anti Corruption Layer for a SOLID application in Golang
Golang

4 min read


Jan 17

Don’t skip (EBS) leg day

I like weightlifting and powerlifting, and as a (home) gym rat, I know that skipping leg day is totally unacceptable. Skipping muscles and/or movement can lead to imbalances, and ultimately, injuries. In the development, cloud and operations world, the correct terminology for an imbalance is a bottleneck. In this post…

Ebs Volume

8 min read

Don’t skip (EBS) leg day
Don’t skip (EBS) leg day
Ebs Volume

8 min read


Jun 1, 2022

Go faster with Golang and LocalStack

NBA Finals are kicking off tomorrow, and there’s no better time for a new post than now. In previous posts I talked extensively about unit testing, mocking, coverage and how important they are for a reliable and efficient development process. With that said, unit tests have their own limitations: their…

Golang

5 min read

Go faster with Golang and LocalStack
Go faster with Golang and LocalStack
Golang

5 min read


Dec 26, 2021

5 tips for better unit testing in Golang

When writing code projects, developers will usually devote a large portion of their time for choosing the right frameworks, libraries, databases and other 3rd party components. One section that is often overlooked and neglected is the testing. Proper testing actually make your project better because they encourages you to: Apply…

Golang

8 min read

5 tips for better unit testing in Golang
5 tips for better unit testing in Golang
Golang

8 min read


Published in ITNEXT

·Jul 11, 2021

Golang, Microservices and Twirp

In this blog post I want to talk about APIs, and how to design your API when working with microservices. Prerequisites: 1. Golang — https://golang.org/doc/install 2. Protobuf compiler — https://grpc.io/docs/protoc-installation/ The project’s source code can be found here Breaking the Monolith Until fairly recently, the go-to approach to building applications was creating a…

Golang

7 min read

Golang, Microservices and Twirp
Golang, Microservices and Twirp
Golang

7 min read


Published in ITNEXT

·Jun 22, 2021

Golang and clean architecture

I wanted to publish this article during the early days of the NBA Playoffs, when Damian Lillard was balling. Although it’s a bit too late now, he still deserves a big shout out. In this post we will review and deploy a golang application that follows the clean architecture principles. Source code can be found here. Update: 3.7.2021: Removed OpenAPI client generation because it didn’t help much (and I also had to write…

Golang

6 min read

Golang and clean architecture
Golang and clean architecture
Golang

6 min read


Mar 3, 2021

Common pitfalls when using goroutines

In this post I am going to cover some common cases and incidents that you are likely to experience when using goroutines and how to deal with them. Table of contents: Introduction 1. Waiting for the goroutines 2. Deadlocks 3. Getting unexpected results 4. Race conditions Introduction First, what’s a goroutine? Golang is concurrent…

Golang

7 min read

Common pitfalls and cases when using goroutines
Common pitfalls and cases when using goroutines
Golang

7 min read


Sep 6, 2020

Mock AWS services in Golang

Introduction: Around 9 months ago I started making the transition from Python to Golang, mainly due to the technology stack used in my company. One difficult spot I found was mocking AWS services. In this article I am going to demonstrate how to mock AWS services using Golang. Motivation (Why do we even need to mock)? In the previous…

AWS

3 min read

Mock AWS services in Golang
Mock AWS services in Golang
AWS

3 min read


Aug 17, 2020

AWS SAM + Python + Pytest

Update 07.09.2020: Added an AWS DynamoDB. In this article we will build, test and deploy an example lambda using SAM, Python3 and Pytest, while maintaining maximum code coverage, development velocity and simplicity. Introduction: AWS provides an open source framework for building serverless applications — Serverless Application Model. SAM allows you…

AWS Lambda

4 min read

AWS SAM + Python + Pytest
AWS SAM + Python + Pytest
AWS Lambda

4 min read

Reshef Sharvit

Reshef Sharvit

121 Followers

Backend Engineer

Following
  • Tech Wisdom

    Tech Wisdom

  • Leonardo Rodrigues Martins

    Leonardo Rodrigues Martins

  • Israel Josué Parra Rosales

    Israel Josué Parra Rosales

  • Iman Tumorang

    Iman Tumorang

  • Osher Cohen

    Osher Cohen

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech