BM25 index creation blocked by corporate proxy #1183
-
Hey there! Super excited to get up an running with Parade :) Here's the error itself: This is running on the paradedb docker image on a RHEL 8 EC2 instance. Still getting up to speed with everything, so please let me know if there's anything that I missed! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@colexbruhn happy to help. A little bit about the architecture of When you connect a client like to Postgres, a corresponding "backend" process is created for the client. If you have 10 clients connected to Postgres, you have 10 "backend" processes... but still only one When your client performs a insert/update/delete query, the "backend" process makes an HTTP request to the "writer" process with the data from your query. This is a blocking operation. The "backend" process waits for HTTP request to return successfully, indicating the write to the index was completed in the "writer" process. To make this possible, the "writer" process creates an HTTP server on a port that is randomly assigned when you initialize Postgres. So to communicate with it, "backend" processes are making HTTP requests to Its possible that your proxy is preventing this local network communication between processes. |
Beta Was this translation helpful? Give feedback.
@colexbruhn happy to help. A little bit about the architecture of
pg_search
. When the extension is initialized, we create a`"writer" background worker which is responsible for all writes/updates/deletes to the index. This is very important for Tantivy, our underlying search engine, which is strict about only one thread/process at a time having write access to the index.When you connect a client like to Postgres, a corresponding "backend" process is created for the client. If you have 10 clients connected to Postgres, you have 10 "backend" processes... but still only one
pg_search
"writer" process.When your client performs a insert/update/delete query, the "backend" process makes an HTTP…