- Linux SSH
SSH stands for “Secure Shell”. It is a protocol used to securely connect to a remote server. ssh is secure in the sense that it transfers the data in encrypted form between the host and the client. It transfers inputs from the client to the host and relays back the output. ssh runs at TCP/IP […]
- Elasticsearch – Bulk Indexing and Keeping It in Sync
Indexing 200 documents one call at a time took 526ms; the same 200 in one bulk request took 47ms. The bulk API, its partial-failure model — a 200 response that contains failures — and helpers.bulk. Then the harder half: how a Postgres row and a search document stay in step. Index after the commit and never before, why a failed index must not fail the write, and the outbox that retries it.
- Git cherry-pick
The cherry-pick command is used to apply a commit from one branch to another branch. Let’s say you have a feature branch that you are working on that have two stories. You finished the two stories but only need to push the first story to master. You have one commit for story number one and […]
- Javascript Fundamentals Part 1
Javascript is case-sensitive Everything in JavaScript including variables , function names, class names, and operators are case-sensitive. It means that counter and Counter variables are different. Comments JavaScript supports both single-line (//) and block(/**/) comments. // This is a single line…
- Elasticsearch – Indexing, Updating and Deleting Documents
The write side. Index, get, update and delete, why choosing your own document id is what makes indexing idempotent, and what near-real-time actually means — the reason a test that indexes and immediately searches finds nothing and looks like a broken query. Then refresh and what it costs, and optimistic concurrency with seq_no and primary_term for the case where two writers race.