HNHacker News
TopNewBestAskShowJobs

techie128

43 karma · joined January 14, 2016

submissionscomments
techie128··on Stripe's API was down
Your statement holds true if you use a single cloud provider. FTR we ran our own DCs with several AZs spread globally. We did suffer failures in individual DCs occasionally but there was zero user-visible impact which is the whole point.
techie128··on Stripe's API was down
I disagree. The system has had a 100% reliability for several years. I know it is unbelievable but true. That doesn't mean it doesn't suffer from failures in one or multiple AZs or that it is perfect.
techie128··on Stripe's API was down
I have built APIs in the Finance realm with 100% uptime. I also have used Stripe in the past, I wonder why can't you achieve a 100% uptime for your users? Are there regulatory constraints that prevent you from designing such a system?

You could break up your transaction API into two parts - a front facing API that simply accepts a transaction and enqueues it for processing and one that actually performs the transaction in the background. The front facing API should have low complexity and rarely change. It can persist transactions in a KV store like Cassandra to maximize availability.

The backend API that performs the transaction can have higher complexity and can afford to have lower availability. From the client's perspective, you could either respond immediately (HTTP 200) or with accepted (HTTP 202). In either case the client will be happier than the transaction failing outright.

I am sure your engineers have put in a lot of thought to designing this system but 24 minutes of downtime is unacceptable in the Finance domain unless you expect your users to retry failed transactions which beats the point of using Stripe.

Edit: Can someone explain why am I being downvoted? Rather than downvoting, can you provide arguments that make sense?

techie128··on Roshi: A large-scale CRDT set implementation for timestamped events
Twitter ran into the same problem. They solved it in a different way. They merged approach #1 & #2 described in the article. For high fan out, you don't write to the inbox of all their followers. This avoids high write amplification when a popular celebrity tweets. Instead you send notifications and have the followers pull tweets from popular celebrities while constructing their timeline.

Having worked with Cassandra & Redis extensively, this might work better with Cassandra. Cassandra already has sets, maps, list as datatypes and can be leveraged to build a CRDT without having to write a new database. Oh, well I'm guessing we're past that conversation? ;)

techie128··on Israel’s Beresheet Spacecraft Moon Landing Attempt Appears to End in Crash
Do I detect a bit of condescension in NYT's tone? Do we need to remind the numerous failures US & USSR had before they got their space program off the ground? Also, they forgot India who did send a lunar orbiter and sent a probe on Moon's surface back in 2008.
techie128··on MIT cuts ties with Chinese tech firms Huawei, ZTE
Not necessarily. If the devices used end to end encryption the pipes will be just dumb pipes.
techie128··on MIT cuts ties with Chinese tech firms Huawei, ZTE
Being a big believer in Open Source and Freedom of Knowledge, I think we, as humans, would progress much more quickly if we broke down barriers to knowledge sharing. It would help everyone progress much more quickly. Keeping knowledge secret, especially in research, which is usually publicly funded is not the right thing.

We can debate all we want but the reality is that China has progressed and its people have benefitted through better living standards. Now those people are investing in other countries creating jobs and improving living standards across poor countries. Weirdly enough one such beneficiary has been India and African countries. Just 5 years ago India could not domestically manufacture cell phones. Now there are over 260 factories with 95% of the phones being produced in the country. This has been a big benefit to India and its people.

Funny how that worked out?

I am not sure what counts as "stealing" in terms of IP. I am a firm believer in protecting IP but at the same time you cannot argue that freely sharing knowledge has its own benefits. IP laws (especially patents) need to be revisited to make sure they serve their purpose and reasonably help inventors benefit from their inventions.

Edit: I must also clarify that this goes both ways. The way Chinese don't end up sharing knowledge is bad. They also do not respect IP law and contracts which needs to drastically change. If they would have respected those and given a fair playing field for foreign companies, I don't think this would be a big issue today.

techie128··on Django 2.2
Django is awesome. It is a model Open Source project that everyone should emulate. I have used it in the past and it can make you hyper-productive especially if you're prototyping stuff.
techie128··on India successfully shoots down satellite in space
This is critical for the geopolitical stability of the region. Pakistan, China have traditionally assumed that India lacks the political will as well as the technological capacity to build advanced weapons such as these. This will be a big deterrence and help bring it peace to the region.

I would not be surprised if India announces ICBMs in the next 5 years. A country that can place 100s of satellites in space as well as place geostationary satellites, has the necessary rocket technology to build an ICBM. Just because they don't talk about it, doesn't mean they can't do it.

I think India is in the midst of adopting an active deterrence policy. Being passive hasn't yielded good results.

techie128··on India successfully shoots down satellite in space
Why don't you register a complaint with ECI and take BJP to court? Any lawyer worth their salt will reject to take your case unless they like losing. I am sure now you will attack the Indian judiciary and how BJP has "compromised" that as well. There is no end to this kind of BS argument. Just be happy for India.
techie128··on Paul Graham inspired the creation of Redis
When the application would be restarted, reading back the log would recreate the in memory data structures. I thought that it was cool, and that databases themselves could be that way instead of using the programming language data structures without a networked API.

That is literally how databases work. In Memory + WAL + Data Files on disk. You could, in theory, live without the Data Files and just a big WAL.

techie128··on My Salary Progression in Tech
Not salary. It's total comp. Most of it is stock growth.
techie128··on U.S. to mandate design changes on Boeing 737 MAX 8 after crashes
Grounding the aircraft as a precaution would have been a wise decision especially considering that lives once lost cannot be recovered. Monetary losses, however, can be.
techie128··on Huawei Sues U.S. as a ‘Last Resort’ Over What It Calls an Unfair Ban
It is unbelievable that Huawei can do this in US and pretty much in any democratic country. The reverse is absolutely not true. The Chinese government has used every tool at its disposal to make life miserable for foreign competitors - see Google's exit, AWS, Apple, Uber and countless other companies were / are still being harassed. When was the last time a foreign company won a court case in China against its local competitor and Chinese government took any adverse action against the local company?
techie128··on China's social network surveillance databases are apparently leaked to Internet
sigh

I don't condone surveillance. It is a reality of life. However, I would expect that it is done responsibly and securely. I don't consider surveillance a big violation BUT doing a poor job at protecting the collected data is an egregious violation of privacy.

techie128··on Redis Turns 10 – How it started with a single post on Hacker News
Nope. It's not trolling if you state a fact.
techie128··on Redis Turns 10 – How it started with a single post on Hacker News
Try inserting more that 30K elements in a key which is a sorted set and watch the insertion time, memory & cpu usage. Now try doing this to millions of keys simultaneously.
techie128··on Huawei Trolls U.S. on Spy Claims with a Jab at Snowden
lol, you really think the American citizens will vote out the government or impeach their president because they act unethically or immorally? I'd love to know what you're smoking.
techie128··on Redis Turns 10 – How it started with a single post on Hacker News
You clearly haven't used it at scale with sorted sets.
techie128··on Indian Jets Strike on Pakistani Side of Kashmir Line
NYT's anti-India bias is showing.

That said, this was expected. India's diplomacy and restraint has been tested time and time again. It has taken a page from Israel, US & Russia's book. India is only cleaning up the mess that Pakistan should've cleared on its side of the border.

techie128··on BlazingSQL – GPU SQL Engine Now Runs Over 20X Faster Than Apache Spark
I am generally not critical of people posting benchmarks. Neither am I trying to rain down on your parade but seriously you do not use Apache Spark to process 3.8G or 15.6G of data. It is too trivial.
techie128··on Microsoft’s fonts catch out another fraudster–this time in Canada
Don't forget the paper and ink. The best would be to simply write this by hand.
techie128··on FoundationDB Record Layer
Cassandra has monotonic reads so it is strongly consistent as long as you have a quorum of nodes. I haven't yet read the link you posted but it's coming from a vendor that is aiming to replace Cassandra so I'll take it a pinch of salt.
techie128··on FoundationDB Record Layer
"Probably async"? Could you expand on it?
techie128··on Indian government to intercept, monitor, and decrypt citizens’ computers
Nothing in my post was even close to "Denial" or that everyone else is doing it. I was pointing out that my western counterparts are barking up the wrong tree when their own government is guilty of mass surveillance on not just their own people but everyone on this planet while India has stronger protections that have been held up in court.

People in glass houses should not be pelting stones.

techie128··on Indian government to intercept, monitor, and decrypt citizens’ computers
Spreading FUD about India?
techie128··on Indian government to intercept, monitor, and decrypt citizens’ computers
> For example Russia could have penetrated America's NSA and used the data mined there to create profiles of people they could effortlessly manipulate in America's 2016 elections.

How do you know they haven't already done exactly that?

techie128··on Indian government to intercept, monitor, and decrypt citizens’ computers
What do you call NSA surveillance? Pretty much all your life is online and NSA can get its hands on it in transit.
techie128··on Indian government to intercept, monitor, and decrypt citizens’ computers
Under a dictatorship, people don't have the right to choose. People chose a specific party to represent them in 2014 and in 2018 that party lost several state elections. This is far from how a dictatorship works. Your assertion is factually incorrect.
techie128··on Indian government to intercept, monitor, and decrypt citizens’ computers
This is basically part of a smear campaign against the government in power (NDA). The law was designed under the previous government and has been in existence before this government came to power. Nothing new was introduced since 2008.

As far as constitutional protections go, Indians have a right to privacy which has been held up in the courts as recently as this year. This has been affirmed several times in the recent past. So, no, India does not have weak protections for its citizens.

Finally, India is a place where mere WhatsApp forwards on the basis of rumors or made up stories cause people to go out and riot. Communal violence can be instigated using such means. So such laws are essential to track down the perpetrators.

NSA, CIA also silently spy on Americans without much oversight in the name of security. In fact it is done at a mass scale.

← PreviousPage 5 of 6Next →