Vladimir Sitnikov
Vladimir Sitnikov
>My solution only provides read access to the Map where the driver's view of hosts is stored. @vlsi, please explain how my solution affects pr https://github.com/pgjdbc/pgjdbc/pull/3409? Your solution/suggestion is to...
> Я хочу получать от драйвера информацию о том, к какому хосту он подключен. В каждый момент времени может быть несколько соединений к разным базам. Одно соединение может быть к...
@robert-mirzakhanian , предлагаю добавить метод `PGConnection#getHost()` или подобный. Давайте обсудим в https://github.com/pgjdbc/pgjdbc/issues/3514?
@robert-mirzakhanian , `PgConnection` и `QueryExecutor` это **не** public api. public api это `org.postgresql.PGConnection`
It might be that the overhead of `ReentrantLock` is much higher with the virtual threads. It looks like we benchmarked regular threads only. See https://github.com/pgjdbc/pgjdbc/issues/1951#issuecomment-1253521413 @rbygrave, did you benchmark virtual...
> I presume you are just suggesting we may want to just use synchronized instead Based on #1951 benchmarks for the regular threads we concluded that the difference between `synchronized`...
> But you might want to look at java.util.concurrent.ConcurrentHashMap and the computeIfAbsent method for LruCache Currently, `LruCache` is not shared across threads, and different threads should avoid the concurrent use...
Spring Boot upgrades only patch level for third-party dependencies. So Kotlin upgrade in Spring Boot happens only with major Spring Boot releases. See https://github.com/spring-projects/spring-boot/wiki/Supported-Versions#third-party-dependencies > Spring Boot provides managed dependencies...
This PR does not limit ids, and 32bit is the protocol limit (~ 4,294,967,295 oids)
Both `RoaringBitmap` and `IntOpenHashSet` (`it.unimi.dsi:fastutil`) are somewhat slower for our use case.