Jamie Gaskins

Results 168 comments of Jamie Gaskins

Just posted #253 to support query pipelining, if y'all could please have a look. I've been evaluating TimescaleDB for a side project and being able to pipeline `INSERT` queries for...

@straight-shoota That was the first thing I tried. I wanted the pipeline to use the `DB::QueryMethods` API. For multiple reasons, it doesn’t work with the Crystal type system.

I thought it would be, too, until I tried it and realized that returning objects of a specific type is easy but storing them in memory for processing later is...

> My concern about a structure where query and reading the result are completely separate is that you have to make sure to use the same order in both. I...

> `#hash` should have the same behaviour as `#==`, i.e. two strings that compare equally must have the same hash value. The hash needs to reflect case-insensitivity. Ah, right, that's...

@didactic-drunk That's a big part of the motivation behind https://github.com/crystal-lang/crystal-db/pull/131 — I want to extract the connection pool from that shard so it can be used for other network clients...

@carlhoerberg Looks like we're both maintaining our own forks. https://github.com/datanoise/amqp.cr/compare/master...jgaskins:master Should we combine our efforts?

@stas > This project is claiming that it is: > > > Alba is the fastest JSON serializer for Ruby. > > And then you claim you provide support for...

Hat tip to @jwoertink for pointing me to this issue. The way I implemented this in my own Redis shard was by creating [an abstraction for clusters](https://jgaskins.dev/redis/Redis/Cluster.html) that automatically routes...

Just a note for others coming to this issue. I thought I had a use case where a constraint was needed — I need to abort a nontrivial query if...