Better HN
topnewbestaskshowjobs
Log inSign up

piyushgupta27

417 karma · joined Sep 12, 2016 (10y ago) · 40 submissions

Making people feel better @ jumpingminds.ai
Submissions

1.

Solving for Unicast Messages for 50M concurrent socket connections(blog.hotstar.com ↗)

3 points · by piyushgupta27 · 3y ago · discuss

comment 7y ago · link · parent

There are some big players that use MQTT although i am not sure about the QoS levels. I know WhatsApp used MQTT, although i am not sure if they still do it not or what QoS they used. My bet would be they used QoS 1.

There are multiple brokers for MQTT: Mosquitto, HiveMQ (Java), VerneMQ (Erlang), EMQ: the one we used (Erlang) etc. You can find out more brokers that are available as well.

comment 7y ago · link · parent

Yes. MQTT is just a protocol and supports three types of Quality of Service (QoS): - QoS 0: Fire and forget - QoS 1: At least once - QoS 2: At most once

You can choose to send messages via any one of these QoS which suits your use-case. Apart from this, standard MQTT implementations also involve a "retain" flag for a topic and a message which means that the brokers will maintain the last sent message on the given topic. When new clients subscribe on this topic with "retain" flag set as true, they will instantly receive the last retained message.

Apart from these, there are more extensions that you can build to add persistence to your system. This depends on the specific MQTT implementations which you might have to find out.

comment 7y ago · link · parent

Sure. We have already launched the Unicast functionality in Beta and are monitoring it closely. We will be sharing the Unicast post as well soon.

comment 7y ago · link · parent

Thanks! The blog outlines our journey for the last 8 months. We ended up sending more than 250Billion+ messages over a Live Cricketing tournament in India. (VIVO IPL 2019)

6.

50 Million Concurrent PubSub Connection Infrastructure @ Hotstar(blog.hotstar.com ↗)

40 points · by piyushgupta27 · 7y ago · 8 comments

7.

How we fine-tuned HAProxy to achieve 2M concurrent SSL connections (2017)(medium.freecodecamp.org ↗)

82 points · by piyushgupta27 · 7y ago · 13 comments

8.

Facebook launches gameshows platform with interactive video(techcrunch.com ↗)

2 points · by piyushgupta27 · 8y ago · discuss

9.

Super-useful Front End developer interview questions(github.com ↗)

2 points · by piyushgupta27 · 8y ago · 1 comment

10.

Meadow is the Amazon of weed(techcrunch.com ↗)

55 points · by piyushgupta27 · 8y ago · 48 comments

11.

Coinbase suspends trading amid cryptocurrency rout(techcrunch.com ↗)

5 points · by piyushgupta27 · 8y ago · 1 comment

12.

Shopify’s new Arrive app is your package tracking pal(techcrunch.com ↗)

1 points · by piyushgupta27 · 9y ago · discuss

13.

Amazon Sumerian to build AR, VR and 3D apps quickly(techcrunch.com ↗)

1 points · by piyushgupta27 · 9y ago · discuss

14.

iPhone X ‘notch remover’(theverge.com ↗)

3 points · by piyushgupta27 · 9y ago · discuss

15.

Apple working on a solution to its infuriating letter ‘i’ bug(dailydot.com ↗)

2 points · by piyushgupta27 · 9y ago · discuss

16.

What is Broadcom, and why is it trying to buy Qualcomm?(theverge.com ↗)

1 points · by piyushgupta27 · 9y ago · discuss

17.

Lyft adds in-app navigation for drivers via Google Maps(techcrunch.com ↗)

1 points · by piyushgupta27 · 9y ago · 1 comment

18.

Its awkward, Mark Zuckerberg took his VR avatar to hurricane-struck Puerto Rico(mashable.com ↗)

4 points · by piyushgupta27 · 9y ago · discuss

19.

New Star Wars: The Last Jedi Trailer as Scene-By-scene GIFs to Tear Apart(techcrunch.com ↗)

1 points · by piyushgupta27 · 9y ago · discuss

20.

A phony ad-blocking Chrome extension infiltrated Google's official Web Store(theverge.com ↗)

4 points · by piyushgupta27 · 9y ago · 2 comments

12