This blog is for people getting started with Akka typed actors. We’ll look at how we can keep state inside an actor in a few different ways. Cover the code from stateful to stateless.
Typed Actors consist of 2 “parts”, a public interface and an implementation. If you’ve done any work in “enterprise” Java, this will be very familiar to you. As with normal Actors you have an external API that will delegate method calls asynchronously to a private instance of the implementation.
The advantage of Typed Actors vs. Actors is that TypedActors you have a static contract, and don’t…
Hi everyone, I hope you all are doing fine. So what’s in today’s blog? In today’s blog, we are going to take our findings further. We are going to get the readings of the Accelerometer Sensor in a variable and then we are going to print them on the itm console using ITM.
As we are working with the Embedded Systems they make our task fast and reliable. Also, they are much smaller in size compared to traditional computers, which makes them compact and portable, and useful for mass production. Management of Embedded Systems is pretty easy, as elements used…
Rust has been the most loved programming language for the last five years in a row. It is a low-level statically-typed multi-paradigm programming language that’s focused on safety and performance. Rust has facilities for message passing through an mpsc channel which allows various threads to communicate.
Rust solves problems that C/C++ has been struggling with for a long time, such as memory errors and building concurrent programs. Due to the borrow checker, Rust can prevent data races at compile-time. Data races occur when two threads access the same memory at the same time, and they can lead to unpredictable behaviour…
The Design Patterns are programming language independent strategies for solving a common problem. By using design patterns, you can make your code more flexible, reusable, and maintainable. These solutions were obtained by trial and error by numerous software developers.
There are following types of design Patterns in Rust for solving our problems :
Behavioural design pattern are design patterns that identify common communication patterns among objects. These patterns characterise complex control flow that’s difficult to follow at run-time. There are following types of Behavioural Pattern :
Command is a behavioural design pattern that turns a…
Rust has been the most loved programming language for the last five years in a row. It is a low-level statically-typed multi-paradigm programming language that’s focused on safety and performance.
Rust solves problems that C/C++ has been struggling with for a long time, such as memory errors and building concurrent programs. Due to the borrow checker, Rust can prevent data races at compile-time. Data races occur when two threads access the same memory at the same time, and they can lead to unpredictable behaviour. Thankfully, preventing undefined behaviour is all that Rust is about. Vectors are an important part of…
Prometheus is an open-source monitoring system for processing time series metric data. It collects, organizes, and stores metrics using unique identifiers and timestamps. DevOps teams and developers query that data using PromQL and then visualize it in a UI such as Grafana.
Let see the working of adhoc commands and modules in ansible in this blog.Ansible is an open-source automation tool or platform used for IT tasks such as configuration management, application deployment, intraservice orchestration, and provisioning. It is agent less means you don’t need to install any other software or firewall ports on the client systems you want to automate.It uses a very simple language (YAML) that allow you to describe your automation jobs in a way that approaches plain English.
$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible
Jira GitHub Integration : GitHub and Jira are common applications we use daily in our projects. How often do you switch between them? Every half an hour? Maybe every couple of hours? Don’t you think that such juggling slows you down and your work could be much more streamlined?
Github and Atlassian have collaborated with each other to connect our code in GitHub with our project management in Jira. A separate Jira subscription is required. This integration is an open-source project, built and maintained by GitHub.
We can connect our Github Code and Jira with the help of the app…
In this blog, we are going to create AWS infrastructure using Terraform. Basically, we can name it “Code as Infrastructure”
So before moving to the setup let’s take a little introduction.
It is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions. It is created by hashicorp.
The terraform infrastructure(i.e aws resources =Code as Infrastructure) can manage includes low-level components such as compute instances, storage, and networking, as well as high-level components such as DNS entries, SaaS features, etc
In order to create infrastructure…