Open in app

Sign In

Write

Sign In

KaFai C
KaFai C

26 Followers

Home

About

Mar 18, 2019

Database Lock in Elixir? Why and How? And the Alternative in Elixir

I got a question in a recent interview about locking in Database. I found that I actually lack insufficient knowledge of this essential part of building a robust application. I would like to share my finding on this topic here. Why? It’s all about race condition. A big part of…

Elixir

4 min read

Database Lock in Elixir? Why and How? And the Alternative in Elixir
Database Lock in Elixir? Why and How? And the Alternative in Elixir
Elixir

4 min read


Mar 2, 2019

Understanding Processes in BEAM

If you are been working on Elixir or Erlang, you will not be unfamiliar with processes. They are the most important building block of highly concurrent system in BEAM. We will look into it in this article in order to understand how it make fault-tolerant and scalable. Process is just memory

Programming

2 min read

Understanding Processes in BEAM
Understanding Processes in BEAM
Programming

2 min read


Feb 10, 2019

Why Is Vector Not Used in Elixir?

A Vector(array with adjustable size) is a collection of values indexed by contiguous integers and it is a very commonly used collection data structure in most languages. However, it’s not available natively in Elixir. Let’s have a brief understanding of List first. List The most commonly used data structure in Elixir…

Elixir

2 min read

Why Doesn’t Vector Exist in Elixir Natively?
Why Doesn’t Vector Exist in Elixir Natively?
Elixir

2 min read


Feb 9, 2019

Learning Cryptography for Web Developer — Ep. 2— Symmetric Encryption

Encryption consists of two components, an algorithm(cipher) and a secret value(key). The term symmetric means the key used for encryption and decryption is the same. They can be represented by mathematical-like notation as follow: C = E(P, K) P = D(C, K) P = D(E(P, K), K) where P is…

Security

3 min read

Security

3 min read


Feb 6, 2019

Learning Cryptography for Web Developer — Ep. 1 — HTTPS

Cryptography is essential in making our Internet secure and private. Its usages are all over the places, like online payment, messaging, digital signature and the hottest topic, cryptocurrency or better called as decentralized ledger technology. Even though I have been coding professionally for more than 4 years, I am an…

Security

3 min read

Learning Cryptography for Web Developer — Ep. 1 — HTTPS
Learning Cryptography for Web Developer — Ep. 1 — HTTPS
Security

3 min read


Nov 3, 2018

Why do we choose Elixir/Erlang

Concurrency, Intentional Programming Style Concurrency In Erlang, we use message passing concurrency model. There is no shared memory between each Erlang process and they communicate each other by sending Erlang term to another mailbox. And because there is an only immutable data structure in Erlang. …

Elixir

2 min read

Elixir

2 min read

KaFai C

KaFai C

26 Followers

Coding, Weightlifting, Veganism, Society, Cat | http://bruteforcecat.com/

Following
  • Eric Elliott

    Eric Elliott

  • æternity

    æternity

  • More To That

    More To That

  • Namdak Tonpa

    Namdak Tonpa

  • Haseeb Qureshi

    Haseeb Qureshi

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech