by lsferreira42 on 2/21/24, 10:09 AM with 69 comments
by BrentOzar on 2/21/24, 2:37 PM
Be aware that there are hundreds of open issues[0] and dozens of pull requests [1], some of which involve clients being unable to connect or not supporting all components of the SQL language. Just because your database supports something, doesn't mean your caching layer will.
It gets really ugly when a new version of your database comes out, with brand new features and language enhancements, and the caching layer doesn't support it. It may take months, or in some cases years, before the caching layer is feature-complete with the underlying database. If you want to use some of those language enhancements, then your app may have to maintain two connection strings - one for the caching layer, and one for direct database queries that the caching layer doesn't support.
Your support teams need to learn how to diagnose problems with the caching layer. For example, this issue [2] talks about the level of work involved with understanding why newly inserted data isn't showing up in selects.
I hope they succeed and deliver the concept, because it's one of the holy grails of databases.
[0]: https://github.com/readysettech/readyset/issues [1]: https://github.com/readysettech/readyset/pulls [2]: https://github.com/readysettech/readyset/issues/39
by timsuchanek on 2/21/24, 12:47 PM
Readyset is basically reimplementing a full database, at the absolute bleeding edge of db research, enabling global partial replication of any kind of data.
A solution desperately needed, as databases grow.
You can think of it as an intelligent LRU cache in front of your database. An important step towards fast globally distributed applications.
I hope this project will get more publicity and adoption - it's very well deserved.
by dpcx on 2/21/24, 2:13 PM
edit: Here's[1] a video where he talks about the concept
[0]: https://www.youtube.com/@jonhoo [1]: https://www.youtube.com/watch?v=GctxvSPIfr8
by thom on 2/21/24, 3:38 PM
I really love this space and have been impressed with Materialize, but even if you can make some intermediate state incremental, if your workload is largely dynamic you end up needing to jump the whole way to OLAP platforms. I’m hopeful that we’re closer and closer to having our cake and eating it here, and that the operational data warehouse is only round the corner.
by alwaysrusty on 2/21/24, 3:50 PM
by larsnystrom on 2/21/24, 1:22 PM
by 10000truths on 2/21/24, 1:58 PM
by exabrial on 2/21/24, 1:40 PM
The one thing it can’t handle however is range update queries or native queries that perform updates.
You can just avoid them in your architecture… OR maybe this is the solution we’ve been looking we’ve been looking for! definitely going to give this a spin!
Documentation looks very complete and I like there’s a UI to view the query cache.
by zer00eyz on 2/21/24, 12:48 PM
If I have a front end, I would hope that the formated response is what were caching. Be that HTML or JSON.
If I cant read from that cache then I should be reading from fresh data all together? right?
by joeatwork on 2/21/24, 2:12 PM
by ltbarcly3 on 2/21/24, 7:45 PM
If it was possible to just slap a cache in between you and the db and magically make shit fast, DB vendors would have done that 20 years ago. Billions of dollars a year is put into relational db development. Papers are published every week, from theoretical ways to model and interact with data to practical things like optimizing query execution plans.
Unless Readyset can point to a patent or a paper that has fundamentally revolutionized how database will be built from today forward it is going to be crap and will burn you.
by KingOfCoders on 2/21/24, 3:05 PM
Once we used a distributed caching system in a startup which was open source. Then the open source version got cut features we needed, so we bought a license. Then the startup was bought up by a large software company and the license costs went 10x YoY with a one week notice. As our migration away from this tech was not done, because it was very complicated and tied into our application we had to pay. Luckily we also had been bought and the very large costs were not a problem. I would never again use something from a company that is crucial to our operations.
by qaq on 2/21/24, 1:02 PM
by AYBABTME on 2/21/24, 5:14 PM
[1]: https://planetscale.com/blog/how-planetscale-boost-serves-yo...
by giovannibonetti on 2/21/24, 1:23 PM
by mdaniel on 2/21/24, 5:25 PM
by notapoolshark on 2/21/24, 3:40 PM
by redwood on 2/21/24, 12:45 PM
by fastest963 on 2/21/24, 2:05 PM
by potamic on 2/21/24, 2:06 PM
What does this mean?