Open in app

Sign in

Write

Sign in

Pramod Shehan
Pramod Shehan

97 Followers

Home

Lists

About

Oct 13

Akka Streams

Akka Stream is a library toolkit to provide low latency complex event processing streaming semantics for building highly concurrent, distributed and fault-tolerant event-driven applications using the Reactive Streams specification implemented internally with an Akka actor system. It provides a high-level API geared towards efficient processing. Akka is a JVM based…

Akka Streams

6 min read

Akka Streams
Akka Streams
Akka Streams

6 min read


Feb 6

Deploy CockroachDB Cluster

Background CockroachDB is distributed SQL database. Main motivation of CockroachDB is to facilitate high scalability, consistency, resiliency and transactional(ACID guarantee). All data access in CockroachDB is transactional, which guarantees data integrity. CockroachDb always uses serializable isolation(every transaction behaves as if it had exclusive use of the entire cluster as it performed…

Cockroachdb

3 min read

Deploy CockroachDB Cluster
Deploy CockroachDB Cluster
Cockroachdb

3 min read


Jan 28

Java/Jakarta Persistence API(JPA)

Jakarta Persistence API is formerly known as Java Persistence API. JPA is a specification that facilitates object-relational mapping to manage relational data in Java applications. Most of the ORM tool like Hibernate, IBatis, Toplink are implemented JPA standards. It provides a support to work directly with object instead of using…

Jpa

4 min read

Java/Jakarta Persistence API(JPA)
Java/Jakarta Persistence API(JPA)
Jpa

4 min read


Jan 23

Istio Service Mesh

What is Sidecar? A sidecar is a separate container that runs alongside an application container in a Kubernetes pod. Sidecar is responsible for networking features such as inter communication, monitoring, security, timeouts, retries, circuit breaking communication protocols such as HTTP, GRPC. Sidecars are typically managed by some type of control plane.

Istio

4 min read

Istio Service Mesh
Istio Service Mesh
Istio

4 min read


Jan 22

Hello, Tapir ZIO & ZIO HTTP

Tapir Declarative, type-safe web endpoints library. With tapir, you can describe HTTP API endpoints as immutable Scala values. Each endpoint can contain a number of input and output parameters. Why tapir? type-safety: compile-time guarantees, develop-time completions, read-time information declarative: separate the shape of the endpoint (the “what”), from the server logic (the “how”) …

Scala

6 min read

Hello, Tapir ZIO & ZIO HTTP
Hello, Tapir ZIO & ZIO HTTP
Scala

6 min read


Jan 11

Istio Traffic Shifting

What is Istio Istio is an open source service mesh that layers transparently onto existing distributed applications. Istio is the path to load balancing, service-to-service authentication, and monitoring — with few or no service code changes. Deployment and Traffic shifting Traffic shifting makes it possible to gradually migrate traffic from one version of a micro service to…

Istio

6 min read

Istio Traffic Shifting
Istio Traffic Shifting
Istio

6 min read


Dec 20, 2022

HashMap Implementation

Map<String, String> map = new HashMap<>(); When we create a HashMap, it is stored in JVM heap memory. /** * The default initial capacity - MUST be a power of two. */ static final int DEFAULT_INITIAL_CAPACITY = 1 << 4; // aka 16 When initialisation, it is created 16 buckets…

Hashmap

5 min read

HashMap Implementation
HashMap Implementation
Hashmap

5 min read


Dec 19, 2022

Writing a Simple Producer and Consumer Using ZIO Workflows

Here we are using zio-kafka library to build the kafka producer and consumer. "dev.zio" %% "zio-kafka" % "2.0.1" Serialize and Deserialize Data In ZIO, we are using Serdes to serialize our data to a byte array and deserialize byte arrays to our data types. ZIO Serde is supporting below mentioned primitive types.

Scala

4 min read

Writing a Simple Producer and Consumer Using ZIO Workflows
Writing a Simple Producer and Consumer Using ZIO Workflows
Scala

4 min read


Oct 5, 2022

SSL enabled with Apache and Certbot(Let’s Encrypt)

What is Let’s Encrypt? Let’s Encrypt is a non-profit certificate authority run by Internet Security Research Group. It provides X.509 certificates for Transport Layer Security encryption at no charge. The certificate is valid for 90 days. Install Apache and server maintain Execute the following command to install Apache2: sudo apt install apache2 Start and stop server sudo systemctl stop…

Ssl Certificate

3 min read

SSL enabled with Apache and Certbot(Let’s Encrypt)
SSL enabled with Apache and Certbot(Let’s Encrypt)
Ssl Certificate

3 min read


Oct 2, 2022

Overflow in Java/Scala

Overflow and underflow happen when we assign a value that is out of range of the declared data type of the variable. If the (absolute) value is too big, we call it overflow, if the value is too small, we call it underflow.

Java

3 min read

Overflow in Java/Scala
Overflow in Java/Scala
Java

3 min read

Pramod Shehan

Pramod Shehan

97 Followers
Following
  • omgzui

    omgzui

  • DataStax

    DataStax

  • Dunith Danushka

    Dunith Danushka

  • Jeroen Rosenberg

    Jeroen Rosenberg

  • Madhawa Gunasekara

    Madhawa Gunasekara

See all (86)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams