Skip to content

Instantly share code, notes, and snippets.

View lalitkale's full-sized avatar
🏠

Lalit Kale lalitkale

🏠
  • ATechieThought Labs
  • Dublin, Ireland
View GitHub Profile
@lalitkale
lalitkale / Example1.cs
Created April 3, 2020 20:54 — forked from davidfowl/Example1.cs
How .NET Standard relates to .NET Platforms
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)
@lalitkale
lalitkale / index.md
Created March 14, 2020 18:10 — forked from bojand/index.md
gRPC and Load Balancing

Just documenting docs, articles, and discussion related to gRPC and load balancing.

https://github.com/grpc/grpc/blob/master/doc/load-balancing.md

Seems gRPC prefers thin client-side load balancing where a client gets a list of connected clients and a load balancing policy from a "load balancer" and then performs client-side load balancing based on the information. However, this could be useful for traditional load banaling approaches in clound deployments.

https://groups.google.com/forum/#!topic/grpc-io/8s7UHY_Q1po

gRPC "works" in AWS. That is, you can run gRPC services on EC2 nodes and have them connect to other nodes, and everything is fine. If you are using AWS for easy access to hardware then all is fine. What doesn't work is ELB (aka CLB), and ALBs. Neither of these support HTTP/2 (h2c) in a way that gRPC needs.

@lalitkale
lalitkale / ckad-learning.md
Created January 22, 2020 22:03 — forked from benc-uk/ckad-learning.md
Certified Kubernetes Application Developer (CKAD)
@lalitkale
lalitkale / ckad-learning.md
Created January 22, 2020 22:03 — forked from benc-uk/ckad-learning.md
Certified Kubernetes Application Developer (CKAD)
@lalitkale
lalitkale / falsehoods-programming-time-list.md
Created October 18, 2019 16:41 — forked from timvisee/falsehoods-programming-time-list.md
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@lalitkale
lalitkale / AWSDevOpsStudyNotes
Created September 7, 2019 19:21
AWS DevOps Engineer Professional Study Notes
CI & CD:
========
2 core software development processes
CI process of automating regular code commits followed by an automated build and test process designed to highlight intergration issues early.
Additional tooling and functionality provided by Bamboo, CruiseControl, Jenkins, Go and TeamCity etc.
workflow based
CD takes the form of a workflow based process which accepts a tested software build payload from a CI server. Automates the deployment into a working QA, Pre-prod or Prod environment.
AWS CodeDeploy and CodePipeline provide CI/CD services
Elasticbeanstalk and CFN provide functionality which can be utilized by CI/CD servers.
@lalitkale
lalitkale / ReflectionBenchmarks.cs
Last active June 26, 2019 16:17 — forked from mattwarren/ReflectionBenchmarks.cs
Why is .NET Reflection slow
//https://mattwarren.org/2016/12/14/Why-is-Reflection-slow/
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
using System;
using System.Reflection;
using BenchmarkDotNet.Diagnostics.Windows;
using FastMember;
using Sigil;
@lalitkale
lalitkale / README.md
Created June 25, 2019 21:40 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@lalitkale
lalitkale / Dockerfile.bite_sized_networking
Created May 11, 2019 18:43 — forked from justanotherdot/Dockerfile.bite_sized_networking
A Dockerfile with (almost) all the tools mentioned in Bite Size Networking by Julia Evans
# N.B. The only tool missing here that is mentioned in the document is `zenmap`
# purely because this image is intended to be run via a CLI and `zenmap` is a GUI
# to `nmap` i.e. one can play around with the tools by running:
#
# $ docker build --name bite_size_networking:latest .
# $ docker run --rm -d --name bsn_test bite_size_networking:latest
# $ docker exec -it bsn_test bash
#
# Alternatively, one can change the `ENTRYPOINT` to `["bash"]` and run:
#
@lalitkale
lalitkale / Check-MissingOctoVariables.ps1
Created January 23, 2019 05:39 — forked from haydosw/Check-MissingOctoVariables.ps1
Checks for missing octopus variables given a project and scope to test
<#
.SYNOPSIS
Using AppName the script will find all variables for that project.
It will then look at EnvironmentToCheck for variables that have
been configured in other environments but not the one specified
i.e.
A variable named "Test" under the scope of a "Test" environment
will be reported if a "Test" variable under the "Prod" environment