HNHacker News
TopNewBestAskShowJobs

gkorland

70 karma · joined August 12, 2018

submissionscomments
gkorland··on How we scaled the GitHub API with a sharded, replicated rate limiter in Redis
You're right I completely missed that this is a Lua a script part, I was sure it's the Ruby code... (shame on me, shows how much I can't recognize Ruby code...)
gkorland··on How we scaled the GitHub API with a sharded, replicated rate limiter in Redis
The issue with this suggested implementation that it's not atomic and might cause some race conditions.

  local expires_at = tonumber(redis.call("get", expires_at_key))
  if not expires_at or expires_at < current_time then
    -- this is either a brand new window,
    -- or this window has closed, but redis hasn't cleaned up the key yet
    -- (redis will clean it up in one more second)
    -- initialize a new rate limit window
    redis.call("set", rate_limit_key, 0)
    redis.call("set", expires_at_key, next_expires_at)

Between the time the `get` is called and the `set` is called there might parallel call that might create the key and the `set` will override it.
gkorland··on Exploring Tweets with SQLite and WASM
The question that keeps bother us, what is the WASM perform impact compared to native SQLite ?
gkorland··on RepoKitteh: Github workflow automation using Starlark
Nice! Registered on the waiting list... Are you going to have a free for OSS plan?
gkorland··on Ask HN: Is Kotlin on a pathway to become obsolete?
Lately, I see more and more major enterprises writing new applications in Kotlin, so it seems like Kotlin is getting out of the Android niche
gkorland··on JEP 408: Simple Web Server
It's nice but I don't think it should be part of the JDK, there are enough tools who can provide it.
gkorland··on Cue v0.3.0
I was thinking about embedding in a C/Rust based application
gkorland··on Cue v0.3.0
Nice! seems very practical, is there a plan to detach the language from the runtime? It seems like a validation library that one should be able to embed.
gkorland··on Background: how we got the generics we have (2020)
I think the way Rust took with Generics should be the next step for Java, it for sure can boost the Java apps performance. In Rust you have both types erasure and C++ style templates which don't erasure the types.
gkorland··on Cheers to 10 Years
I still don't get why is there a need for so many "Ubuntu" based distributions
gkorland··on Ask HN: How to study programming language theory as a non CS student?
I would say that the best way to start understanding the different programming languages is not by leaning a generic course about programming languages features, but to pick one read about it and try to write a short project and then switch to another different language.

I would start with a low level language like C, then move to a more higher level like Java and finally end with a more "modern" language like Rust or Go.

gkorland··on State of AI at the Dawn of 2021
It feels like AGI will be based on many small specialized AI modules, like our brain. So progress in specialized AI should indicate in a progress in AGI, even in nature the neural network different parts has predefined specialized tasks.
gkorland··on RediSearch – Redis Powered Search Engine
Did you check the redisearch docs? it covers all the features you mentioned see: https://oss.redislabs.com/redisearch/#primary_features
gkorland··on RediSearch – Redis Powered Search Engine
RedisLabs's cloud solution is running on all these clouds see: https://redislabs.com/redis-enterprise-cloud/
gkorland··on RediSearch – Redis Powered Search Engine
The question in general is "Yes, RediSearch supports all of these features". You can read about it all in the docs https://redisearch.io

I also pointed bellow to the specific relevant area in the docs.

> 1. What human languages does it support. > 2. In these human languages how does stemming and decompounding work in your implementation.

https://oss.redislabs.com/redisearch/Stemming/

> 3. how is word importance determined in your index - TF-IDF? other algorithm? Are least important words automatically dropped from queries? >4. Do you have ability to rank on both the stemmed/decompounded query/results and exact matches? So something like raw field access.

https://oss.redislabs.com/redisearch/Overview/

gkorland··on RediSearch – Redis Powered Search Engine
Any web application (like E-Commerce, News, Gaming...) will probably won't be considered as "Database Product"
gkorland··on RediSearch – Redis Powered Search Engine
HA is available and doesn't require Redis Labs Enterprise, the comment above refer to what is called "Redis Cluster" meaning sharding
gkorland··on RediSearch – Redis Powered Search Engine
RediSearch is available on all the big clouds as a managed solution
gkorland··on RediSearch – Redis Powered Search Engine
you can modify even if you don't pay as long as you application is not a "Database Product"
gkorland··on RediSearch – Redis Powered Search Engine
Not fully correct, you can change the code and even redistribute it as part of your application, as long as your application is not a "Database Product" as defined in the license
gkorland··on RediSearch – Redis Powered Search Engine
Redis Cloud Pro can run in your VPC.
gkorland··on RediSearch – Redis Powered Search Engine
You don't have to pay for Redis Enterprise license, you can run it on self managed Redis too. You can view the RediSearch license https://github.com/RediSearch/RediSearch/blob/master/LICENSE
gkorland··on RediSearch – Redis Powered Search Engine
ElastiCache doesn't support running Redis modules
gkorland··on Show HN: Finding Stuff on Instagram with RedisAI
it seems like it's down again :(
gkorland··on Top-K: A Probabilistic Addition to RedisBloom
"In this benchmark, we extracted a list of the most common words in the book War and Peace, which contains over 500,000 words... Its accuracy was 100% in most cases, except for very high Ks where it ‘only’ achieved 99.9% accuracy"

Interesting how such probabilistic data structures can in most cases behave almost as good as deterministic.

gkorland··on Show HN: RedisTimeSeries
https://youtu.be/Y2VbxNOYzVE old but still relevant
gkorland··on RedisBloom v2 RC1
Count-Min-Sketch https://sites.google.com/site/countminsketch/

TopK https://www.usenix.org/conference/atc18/presentation/gong

gkorland··on Ask HN: What was your experience using a graph database?
You might want to consider using Managed Redis by Redislabs https://redislabs.com/redis-enterprise/vpc/
← PreviousPage 3 of 3