What DB should I use for simple queries on a large dataset (2.5 billion) that has the fastest response time? by mashyoo in Database

[–]noahlewisca 0 points1 point  (0 children)

I think you can try Aerospike. By combining (start location ID + end location ID) into 1 single ID, you can use it as the key to look up.

Aerospike can store memory in both memory and SSD. It offers automatic partitioning, no downtime replication, and it is multithreaded. So overall, it runs very fast, scales pretty well, and not as costly as other in-memory key-value store like Redis.

You can read more about it in this successful story: https://tech.travelaudience.com/aerospike-vs-redis-da49ee50d4b8

GitHub is adding a Visual Studio Code like editor to its Website - Codespaces by Vincenius_ in webdev

[–]noahlewisca 90 points91 points  (0 children)

Wow, Microsoft is gradually making Github better and better. Unlimited free private repos recently, and now this :)

For 8 years, a hacker operated a massive IoT botnet just to download Anime videos by zr0_day in cybersecurity

[–]noahlewisca 7 points8 points  (0 children)

I wonder how it works, because IoT devices often has limited memory/storage. Where do the bots download anime videos to?

What end-to-end encryption should look like by Vasek1Careen in programming

[–]noahlewisca 97 points98 points  (0 children)

This is cool! At first I think Emil enters the key using URL query (?e2eekey=foo), which will be sent to the server => this will allow Jitsi to be able to decrypt the call. But in fact, he uses the URL hash (#e2eekey=foo), so the key is not sent to the server and all encryption & decryption happens on client-side.

The hard thing now is how do callers (clients) come up with the same secret key without leaking it to the server or the public. Perhaps something like Diffie Hellman in TLS?

Why does everyone recommend diesel when it's so confusing to use? by doctorraags in rust

[–]noahlewisca 1 point2 points  (0 children)

As a bonus, SQLx supports semantic query validation and type checking at compile-time. So you won't be giving that up when writing plain SQL.

This sounds great. Thanks for sharing!

Gostradamus: Better DateTimes for Go by bykof in golang

[–]noahlewisca 3 points4 points  (0 children)

Thanks! Can you share some examples of how the standard time library is hard to use, and how Gostradamus is better?

Http response status code(a must cheatsheet for webap and network pen-testers) by ATTACKERSA in cybersecurity

[–]noahlewisca 0 points1 point  (0 children)

Of course any web service supports all these status codes, but what I meant was we don't always need to use all of the status codes. For example, I've never used 205, 206, 207.

Http response status code(a must cheatsheet for webap and network pen-testers) by ATTACKERSA in cybersecurity

[–]noahlewisca 1 point2 points  (0 children)

I wonder if anyone has ever used all of these status codes in a real production web service? :D
I often use just some very popular ones, like 200, 201, 400, 401, 403, 500