Author Archives: Sidharth Khattri

Introduction to Nginx


Hi all, Knoldus organized a 30 min session on 3rd March 2017 at 4:50 PM. The topic was Introduction to Nginx. Session slides are shared in this blog post and you can post any questions related to the slides in the comment section below … Continue reading

Posted in Devops, Scala | Tagged | Leave a comment

Akka Persistence Event Sourcing


This presentation covers a brief introduction to 1) how event sourcing works (commands, domain events, event logs) 2) DDD (domain driven design) 3) CQRS (command query responsibility segregation) 4) how event sourced architecture can be useful 5) akka persistence as a … Continue reading

Posted in Scala | Leave a comment

How to setup and use zookeeper in scala using Apache Curator


In order to use Zookeeper to manage your project’s configurations across the cluster, first we will setup the zookeeper ensemble on our local machine (setup is for testing on a single machine) by following these steps: 1) Download a stable … Continue reading

Posted in Java, Scala | Tagged , , , , | 1 Comment

How to flatten nested tuples in scala


In a project which I’ve been working on, I encountered a situation to flatten a nested tuple but couldn’t come up with a way to do so, hence out of curiosity I started googling about it and came to the … Continue reading

Posted in Scala | Tagged , , , | 5 Comments

Remote profiling using SSH Port Forwarding (SSH Tunneling) on Linux


In this blog post I’ll lay out few steps that are needed for remote profiling using SSH Port Forwarding (SSH Tunneling) using Yourkit profiler.   Steps to be followed on remote machine: 1) Download Yourkit profiler from official Yourkit website. … Continue reading

Posted in Agile, Amazon EC2, Architecture | Tagged , , , , , | 2 Comments

Knolx Session: Introduction to Clojure


This presentation is about a brief introduction to clojure basics like data structures, threading operations, parallelism, futures, atoms, refs, agents etc.

Posted in Clojure | Tagged | Leave a comment

Google Sign-In using Clojure


Last time I wrote an article for providing Facebook Sign-In using Clojure. This article will guide you to add Google Sign-In functionality in your web application using clojure. We’ll use compojure.core for routing, clj-http.client for http requests, cheshire.core for parsing json … Continue reading

Posted in Clojure | Leave a comment

Facebook Sign-in using Clojure


In order to provide Facebook sign-in functionality you need to create a new Facebook App from this url: https://developers.facebook.com/docs/facebook-login. Provide the redirection URI that you’ll use for the App. After setting up the app you’ll get an App ID and … Continue reading

Posted in Clojure | 4 Comments

Parallelism in Clojure, Part I


An axiom of microprocessor development stating that the number of transistors on integrated circuits doubles approximately every two years is analogous to the fact the processing power doubles during the same period, relative to the cost or size. This has … Continue reading

Posted in Clojure | Leave a comment