Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eventreduce
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
eventreduce
6y ago
Yes the BDD is minimized with the two rules (reduction and elimination). Also the sorting of the boolean functions is optimized via plain brute forcing. The was no good JavaScript implementation for BDDs so I had to create my own one https
32.
▲
by
eventreduce
6y ago
No, see the FAQ in the readme: Materialized views solve a similar problem but in a different way with different trade-offs. When you have many users, all subscribing to different queries, you cannot create that many views because they are a
33.
▲
by
eventreduce
6y ago
1. No I do not have a paper. I thought a lot about publishing a paper first but then decided against it, because I think that good code and tests and demos are more valuable. 2. EventReduce is mostly useful for realtime applications. I myse
34.
▲
by
eventreduce
6y ago
Thanks for pointing that out. I never heard of materialize.io but I will dive into it. On the first glance it looks like materialize is more like a full product while EventReduce is just something that you use on top of your existing soluti
35.
▲
EventReduce: An algorithm to optimize database queries that run multiple times
(github.com)
208 points
by
eventreduce
6y ago
|
85 comments
36.
▲
by
eventreduce
6y ago
Yes, reading the docs explains what these keywords mean. But by just looking at the schema it is impossible to understand what that is. And if you check the definition of clean code which is something like "intuitive understandable&quo
37.
▲
by
eventreduce
6y ago
Json-schema itself scales down pretty well. But the libraries for validating it do not. Even if your schema is only {}, the build size increment because of pulling in a jsonschema validator is enormous because of all these supported feature
38.
▲
by
eventreduce
6y ago
I do not think so. If you check the example schema, it is very hard to understand it. What does ':lat' mean? is it a string or a number? What does '!b' mean, can it only be false?
39.
▲
by
eventreduce
6y ago
I think the author knew this but wanted a more minimal type of validation.