pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #1000: [RFC] Integration: OpenCrawling Output Connector for pgvector (Java 25 / Spring Boot 4)
4+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #1000: [RFC] Integration: OpenCrawling Output Connector for pgvector (Java 25 / Spring Boot 4)
@ 2026-07-17 12:12  "OpenPj (@OpenPj)" <noreply+OpenPj@github.com>
  0 siblings, 0 replies; 4+ messages in thread

From: OpenPj (@OpenPj) @ 2026-07-17 12:12 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @ankane and the pgvector community,

First, thank you for building and maintaining pgvector. It has completely transformed how we approach AI architectures by keeping everything within the robust PostgreSQL ecosystem.

I am Piergiorgio, an ASF Member and the lead architect of OpenCrawling (https://opencrawling.org/), an open source data federation engine built on Java 25, Spring Boot 4, and virtual threads. We recently built a native pgvector Output Connector to stream complex enterprise data directly into Postgres, and I am submitting this RFC to gather architectural feedback and ensure we are adhering to pgvector's best practices at scale.

## The Use Case
Enterprises struggle to securely feed massive amounts of data from legacy ECMs, BPMN workflows, and data lakehouses into vector DBs.

OpenCrawling solves this by extracting data, narrativizing it into semantic text using deterministic templates, and standardizing it via the Open Ingestion Standard (OIS). Our new pgvector connector then takes these high throughput streams (Vectors + Text + Zero-Trust ACL metadata) and pushes them to PostgreSQL.

## Architecture & Implementation Details
Because OpenCrawling leverages Java 25 Virtual Threads, we can handle thousands of concurrent ingestion pipelines without blocking OS threads. The connector currently:

- Connects to Postgres via standard JDBC / Spring Data.
- Creates tables dynamically (if needed) with vector types and jsonb columns for complex metadata (like Document-Level Security / ACL arrays). 
- Uses JDBC batching to handle massive throughput.

## Feedback Wanted
Since we want this integration to be as robust as possible, we would love your insights on a few PostgreSQL/pgvector specific optimizations:

- High throughput batch inserts: given our highly concurrent virtual thread architecture, do you have recommended JDBC batch sizes or tuning parameters to maximize pgvector insertion speed without locking the target tables?
- Dynamic indexing strategy: when continuously streaming new enterprise data, what is the recommended lifecycle for building HNSW or IVFFlat indexes? Should the connector delay index creation until an initial bulk load is complete, or build it upfront?
- Hybrid security filtering: we enforce Zero Trust by storing ACLs (lists of allowed users/groups) alongside the vector. Have you seen better performance when storing these ACLs as standard text[] arrays or within a jsonb column when doing hybrid queries (vector distance + permission filtering)?

## Code Reference
You can view the specific connector implementation here: https://github.com/opencrawling/opencrawling/tree/main/oc-vector-output-connector

Any feedback, code reviews, or pointers to specific documentation would be greatly appreciated. We hope this integration helps drive even more enterprise adoption for pgvector!

Best regards,
Piergiorgio (PG) Lucidi

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #1000: [RFC] Integration: OpenCrawling Output Connector for pgvector (Java 25 / Spring Boot 4)
@ 2026-07-17 15:44  "ankane (@ankane)" <noreply+ankane@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: ankane (@ankane) @ 2026-07-17 15:44 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @OpenPj, I'd recommend benchmarking for 1 and 3. For 2, see the [performance docs](https://github.com/pgvector/pgvector#loading).

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #1000: [RFC] Integration: OpenCrawling Output Connector for pgvector (Java 25 / Spring Boot 4)
@ 2026-07-17 15:44  "ankane (@ankane)" <noreply+ankane@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: ankane (@ankane) @ 2026-07-17 15:44 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #1000: [RFC] Integration: OpenCrawling Output Connector for pgvector (Java 25 / Spring Boot 4)
@ 2026-07-20 10:04  "OpenPj (@OpenPj)" <noreply+OpenPj@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: OpenPj (@OpenPj) @ 2026-07-20 10:04 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

> Hi [@OpenPj](https://github.com/OpenPj), I'd recommend benchmarking for 1 and 3. For 2, see the [performance docs](https://github.com/pgvector/pgvector#loading).

Hi @ankane, thank you so much for your feedback, this is priceless for us!

^ permalink  raw  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2026-07-20 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17 12:12 [pgvector/pgvector] issue #1000: [RFC] Integration: OpenCrawling Output Connector for pgvector (Java 25 / Spring Boot 4) "OpenPj (@OpenPj)" <noreply+OpenPj@github.com>
2026-07-17 15:44 ` "ankane (@ankane)" <noreply+ankane@github.com>
2026-07-17 15:44 ` "ankane (@ankane)" <noreply+ankane@github.com>
2026-07-20 10:04 ` "OpenPj (@OpenPj)" <noreply+OpenPj@github.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox