Rust counter program and client on solana
https://github.com/ratulb/solana_counter_program
View ArticleAsynch concurrency: In the promised land of scala futures
The basics:The concept of future is not new - java added them in 1.5 -scala actors had futures from the start, lift webframework had its own futures. As more and more libraries and toolkits sprang up...
View Articlescala xml wrapper utility
XDoc is a utility wrapper over scala.xml.Elem. It's simplifies xml processing. Following needs to be considered while using this utility:1) It does not support namespaces. That can easily incorporated...
View ArticleCloud Foundry Now Supports Play!
Cloudfoundry now has now incorporated support for play 2.0. Following is the link:http://blog.cloudfoundry.com/2012/05/31/cloud-foundry-now-supports-play/Have fun!
View ArticleVPC native kubernetes cluster in GCP
VPC native k8s clusters have quite a few advantages:POD IPs are directly routable. This eliminates the need for a load balancer to hop from node to pod. Instead traffic can reach PODs directly...
View ArticleInstall rust on ubuntu
curl https://sh.rustup.rs -sSf | sudo sh -s -- -ysource $HOME/.cargo/envsudo apt-get install -y build-essential
View Articlegrpc connect — rust, java and grpc-web
Gist: Route calls from browser(using grpc-web) to rust grpc application(implemented using tonic), which in turn delegates to java grpc and vice versa.Note: We use latest versions of various...
View ArticleInstall oracle jdk16 on ubuntu 18
add-apt-repository ppa:linuxuprising/java apt install oracle-java16-installer --install-recommendsThe above command would set java 16 as default. To avoid that - use the following command:apt install...
View ArticleLinus Torvalds on rust in linux
https://www.zdnet.com/article/linus-torvalds-on-where-rust-will-fit-into-linux/
View ArticleAlgorithmic Muscle Excercise - maximum subsequence length in rust
Maximum sub-sequence length of 3 strings - bottom up approach: Source: https://github.com/ratulb/algos_in_rust/blob/master/max_sub_sequence_bottom_up/src/lib.rs
View ArticleAlgorithmic Muscle Excercise - Rain Water Trapping Problem In Rust
Water trapped along continuous extent of buildings of different heights: Source: https://github.com/ratulb/algos_in_rust/blob/master/rain_water_trapping/src/lib.rs
View ArticleMigrate kubernetes embedded etcd to external etcd - easy back and forth switch
Precursor: How easy is it to setup a single master kubernetes cluster? Quite easy. Might take in the range of 5 to 10 minutes - maybe.How about multi-master cluster? We would need to front the API...
View ArticleMulti master kubernetes on containerd with haproxy/nginx/envoy load balancer
Kubernetes has declared that it is going to remove support for docker as runtime. Its has deprecated docker as runtime post v1.20. Complete removal of docker as runtime is planned for the 1.22...
View ArticleInstall kubernetes on containerd
Kubernetes is deprecating Docker as a container runtime after v1.20. This post shows how to install kubernetes on ubuntu 18.04 using containerd as a container runtime. For brevity, we do this just only...
View ArticleSetting up a kubernetes cluster - quick and easy
Often times, we need a kubernetes cluster to try out something new real quick or to use it on a daily basis for our development work. It's like back old days when every so often we needed a tomcat,...
View ArticleKuberenetes cluster on Openstack on a google compute engine
In this post we will deploy a kubernetes cluster on Openstack which itself is deployed on one single GCP compute engine. Provisioning the compute engine: Not all compute engines support virtualization...
View ArticleNFS persistent volume and claim in kubernetes
This write up shows detailed steps of how to setup a nfs server as a storage backend and make use of it in POD's persistent volume via persistent volume claim. These have been tested to work with...
View ArticleNested virtualbox VM inside google compute engine
Though guest VM inside google compute engine raises concerns about performance, there are situations where they prove useful. In this post I am going to discuss how we can install a ubuntu guest VM on...
View Article