Tech

Sqlite - Blunders

What is Sqlite: SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world. SQLite is built into all mobile phones and most computers and comes bundled inside countless other applications that people use every day.

Concurrent Dictionary and Delay - C#

Reference: ConcurrentDictionary In a high throuput and low latency enviorment - we had a peice of code in the critical path - which helped in throttling. After version #2.0 of the software was released (internally) - we saw the througput has gone down significantly almost 3X - compared to previous Version #1.

Parallel Processing with Constraints

An interesting senario, I recently encountered - have tried to tear down the context to get to the solution early, and avoid nitty gritty (boring) details. Also, example showns only 2 threads.

Choreography vs Orchestration

I have been getting into this debate quite often; which approach is preferred - Choreography vs Orchestrator. As always, it depends - Here is my take on it… Modules: App: Like an UI module, where user trigger’s an action like:Create an account Action #N: Specific modules, which has one specific action to be performed like: sending email, mail atm cards - once an account is created.

Feature Toggle - Nightmares

We were working on a custom algorithm to optimally grab images given a list of area. Every image grabbed is written into an object store with a generated hashkey. The haskkey can be used to query the recorded data - when we would like to play them back.

Side Cars

Idea Add additional functionality into an existing application, with minimal or zero code changes to the exiting application. Also, the package can be consume by any software - irrespective of the language or framework (heterogeneous) it is written in.

MongoDB - Hybrid Schema

I recently ran into a situation where in we have a session and each Session produces a lot of messages (sync) and each message has an associated timestamp and order. This is similar to a blog post (session) and its comments (messages).

MongoDB Tit Bits

While I am getting started with MongoDB for my new project. Here are the few quick notes - based on my readings so far: One Key Takeaway: Data accessed together should be stored together

Docker - DotNet 4.8 - Getting Started

Source Code: docker-try-net48 Goal: Develop a .Net48 application - coding would happen in the host while its run inside the docker - live Prerequisite: Docker Desktop for windows is up and running and you are using Windows Containers

Code Reviews

While working in a development team; being part of the code review is not an optional thing. Depending on the size of the org/team and the # of features in parallel - I am sure, we will get multiple code review requests in a week.