In our previous post, we covered the basic system design of a proximity server like Yelp with some of its core functional and non-functional requirements, APIs, and low-level design. We also discussed the approach of using a 2D grid for dividing the entire world map into small squares.
Considering the area of the earth is 500 Million square km, and having a fixed search radius is 10km. We will have 500M/10 = 50 Million squares with a fixed grid size of 10km.
This approach had a complex problem of managing popular places like Dam Square(Amsterdam) or Las Vegas(USA) and can…
Proximity servers are applications like NearBy or Yelp which are helpful in discovering attractions like restaurants, theaters, temples, or recreational places that are adjacent to your location.
I was born on 14th August 1947 near Amritsar, India during the imperative time of highly anticipated independence of India, where some antagonists and dreadful leaders created havoc by declaring the immediate separation of India and Pakistan.
My childhood was not a cakewalk, as instead of playing and enjoying my life I had spent my childhood days by seeing families turning into refugees, people becoming bloodthirsty on religious grounds, and complete devastation of humanity because of the partition.
I grew up spending a whale of a time with our soldiers. It's always been an honor to see their allegiance and…
P stands for Production and PC stands for Production capability. This rule states that true effectiveness and productivity comes from the balance between production and production capability.
Let’s understand this with the help of a famous fable which most of us must have heard of in our nursery classes about a story of a farmer who had a very unique and intriguing goose.
Each day the goose laid a glittering golden egg which the farmer sold and became rich. This made him greedy and he decided to slaughter the goose to take all the golden eggs at once but there…
A journey of a thousand miles begins with a single step. The power of 1 percent is a golden rule which definitely goes along with this famous proverb. Let’s understand this through the example of the British cycling team
In the last 110 years, the British cycling team did not win a single competition. British rider’s performance was so underwhelming that many top cycle brands from Europe refused to sell their products to them. …
Node.js applications run on a single processor, which means that by default they don’t take advantage of a multiple-core system. If you have a 4-core CPU and you run a Node.js application normally, then it’ll get executed on one core and the other three cores will remain unused.
Let’s discuss a basic scalability problem with a simple Node.js application.
Human body is made up of 60–70% of water. Water is imperative for functioning of cells and organs in human body, Water acts as a lubricant for joints, regulates body temperature through sweating and respiration, and helps to flush waste. We lose around 2–3 litres of water every day through sweating, breathing, urine and bowel movements. These functions are vital for body’s survival, thus we need to compensate the lost water by hydrating ourselves in order to make our body function properly.
There is no accurate answer to this question as daily water requirement may differ for different individuals because…
Have you ever been to gym and got wondered by seeing people drinking colourful multi colour flavoured drinks in their shakers.
Below are some misconceptions that people (mainly rookies) have fo`r BCCAs.
If you’re new to Node.js and you want to understand how Node.js works under the hood, then read this article.
Every Node.js article introduces Node.js as single-threaded. Below are some misconceptions about multi-threading in Node.js.
Well, relax, these are just assumptions that can be actually termed as misconceptions.
Most of us, at some point in our life, got confused…
Is that enough? Hell no!
Full Stack Developer, Urban Company