let's summarize what I've done since my last substantive post:
I did complete the sql join work, so the cache now supports simple equi-joins, and using CDC keeps the cache up to date or invalidates queries as necessary.
let's summarize what I've done since my last substantive post:
I did complete the sql join work, so the cache now supports simple equi-joins, and using CDC keeps the cache up to date or invalidates queries as necessary.
Spoiler: only two optimizations have been added since the tests done against PG 9.6, and even then one of the changes is only partial.
Spoiler: only two optimizations have been added since the tests done against PG 9.6, and even then one of the changes is only partial.
I'm setting off on the path to add support for subqueries to the AST structure I've been using. I knew I would need to do this eventually, but I thought eventually would be much later.
I'm setting off on the path to add support for subqueries to the AST structure I've been using. I knew I would need to do this eventually, but I thought eventually would be much later.
The hardcoded name was bothering me, so happy to have taken this step.
The hardcoded name was bothering me, so happy to have taken this step.
I was able to get some work done last week, which was mainly finding a bunch of mistakes and kind of dumb things I did. So productive week because the code is now in a much better place.
I was able to get some work done last week, which was mainly finding a bunch of mistakes and kind of dumb things I did. So productive week because the code is now in a much better place.
docs.rs/iddqd/latest...
docs.rs/iddqd/latest...
The architecture and the code are on a much better foundation. I'm still figuring out a good design for the threads handling the cache.
The architecture and the code are on a much better foundation. I'm still figuring out a good design for the threads handling the cache.
docs.rs/error_set/la...
docs.rs/error_set/la...
Next up, figuring out how to get tests in place and to work on error handling. and after that, maybe get to start working on the actual caching part of things.
Next up, figuring out how to get tests in place and to work on error handling. and after that, maybe get to start working on the actual caching part of things.
The postgres startup and authentication flow is a little tricky, will start by trying to get md5 auth to work.
The postgres startup and authentication flow is a little tricky, will start by trying to get md5 auth to work.
Spent a couple of days bagging my head on async, select!, and mutability; and wandering down few dead ends.
Spent a couple of days bagging my head on async, select!, and mutability; and wandering down few dead ends.
and a GitHub issue about it that has some good discussion: github.com/tokio-rs/tok...
and a GitHub issue about it that has some good discussion: github.com/tokio-rs/tok...