HNHacker News
TopNewBestAskShowJobs

kartiksura

8 karma · joined November 8, 2015

submissionscomments
kartiksura··on Poor sleep drove me insane, and my long path to recovery
I recently went through a surgery for treating my sleep apnea. I have documented my experience here. Happy to answer any of your questions

https://www.quora.com/profile/Kartik-Sura/My-Struggle-with-A...

kartiksura··on My Struggle with ADHD Was Sleep Apnea All Along
In summary, my struggles with focus, learning, and low energy during the day led me to seek professional help, resulting in a journey over the past 5 years that involved taking supplements, self-medicating, and receiving diagnoses of adult ADHD and sleep apnea, as well as undergoing surgery by an ENT. The symptoms of sleep apnea can resemble those of ADHD.
kartiksura··on Ask HN: Who are some unsung heroes in open source that need more support?
RIBS2 (Robust Infrastructure for Backend Systems, ver. 2) https://github.com/Adaptv/ribs2

Great framework to build highly scalable, low latency service (developer friendly). It would be great some detailed tutorials and documentation about its internals.

kartiksura··on Writing System Software [video]
Very good work. How about a video/blog where you can describe use-cases where redis has been creatively used to solve a tough problem. With some redis design patterns included?
kartiksura··on Low Latency Architecture – AWS
I see. I would suggest you explore the following: 1. CitusDB (an offshoot of postgres with high ingestion rate, cloudflare used it) 2. Druid.io (popular in ad-tech) 3. Linkedin Pinot (uber uses it for similar use-cases) 4. memSQL (used in ad-tech)
kartiksura··on Low Latency Architecture – AWS
I work in subsecond latency domain. Can you elaborate what do you want to achieve in the sub-second: Does the ingestion have to be subsecond? or the entire cycle of ingestion and data available into redis/DDB needs to be done in sub-second?
kartiksura··on Ask HN: What do you do while your code compiles?
make -j8
kartiksura··on Production algorithm tricks anyone?
Aah finally a good clue about reading material. Thanks a ton.
kartiksura··on Production algorithm tricks anyone?
It might seem standard among some circles. And i have learnt them on the floor. But could never find a book or blog which describes some more examples. I was curious if others had any ideas to share.
kartiksura··on Production algorithm tricks anyone?
Real time bidding. It is used to trade ads with exchanges. When you dont have your own ads from your sales team.
kartiksura··on Production algorithm tricks anyone?
Yes. It is intuitive to some. But I never learnt it from a text book. Thats why I was curious about such other tricks.
kartiksura··on Production algorithm tricks anyone?
This is really neat. You need to take only 1/N of the locks. Maybe the N can be started small and changed gradually as the views increase.
kartiksura··on Production algorithm tricks anyone?
Ad 1 has to be shown 30% of the traffic Ad 2 has to be shown 40% of the traffic Remaining has to be given to RTB

generate a random number between 0:100 if the number is 0-30 the Ad 1 has to be shown if the number is 30-70 the Ad 1 has to be shown else RTB is to be called

The servers can be now independent and no need to share the state, or have a lock based counter. For large number of requests, and with a good random number generator, you will get good results.

kartiksura··on Ask HN: Recommendations for a book on Distributed Systems?
I find redis-cluster spec one of the simplest ways to explain clustering, HA, leader election. https://redis.io/topics/cluster-spec