Better HN
topnewbestaskshowjobs
Log inSign up

raoufchebri

12 karma · joined Feb 26, 2018 (8y ago) · 43 submissions

Submissions

1.

Fork Buckets Like You Fork Code(tigrisdata.com ↗)

2 points · by raoufchebri · 1y ago · discuss

comment 2y ago · link · parent

Here is an article about PITR in Neon https://neon.tech/blog/point-in-time-recovery-in-postgres

comment 2y ago · link · parent

Here is a step by step guide on how to deploy Mistral Large to Azure: https://neon.tech/blog/deploy-mistral-large-to-azure-and-cha...

comment 2y ago · link · parent

Excited about the Microsoft partnership

comment 2y ago · link · parent

Last November, we had several outages and have since directed much of our engineering efforts towards improving stability. During this phase, cold start latency regressed, but the root cause and magnitude were not immediately apparent to us. We made the call to continue working on stability and revisit the latency issue later.

Today, we want to share the story of tracking down and fixing that regression, which turned out to be in the Pageserver’s walredo mechanism.

6.

Local AI with Postgres, pgvector and llama2, inside a Tauri app(electric-sql.com ↗)

3 points · by raoufchebri · 2y ago · discuss

comment 2y ago · link · parent

Really cool. Do you see this being integrated into PostgreSQL in the future with the rise of open-source LLMs?

comment 2y ago · link · parent

Neon is cloud-native Postgres with a storage system written in Rust and a persistence layer stored in AWS S3. Because the cloud storage layer is decoupled from the rest of the architecture, you can bring your own S3.

comment 2y ago · link · parent

We’re excited to announce the release of logical replication on Neon to stream your data to external data stores, allowing for change data capture and real-time analytics.

comment 3y ago · link · parent

How do you handle conflict with pgvector's hnsw if you want to install both extensions ?

CREATE INDEX semantic_image ON image_table USING hnsw (v dist_cos_ops) WITH (M=5, ef=30, ef_construction=30, dims=512);

comment 3y ago · link · parent

Awesome idea! like the UI

comment 3y ago · link · parent

The index doesn't need to fit in the shared buffers to be built, but you can speed the queries if you load it to memory

comment 3y ago · link · parent

It's under Apache license

comment 3y ago · link · parent

We used 1M vectors of 1536 dimensions (OpenAI). The index size was ~6GB.

comment 3y ago · link · parent

We tested pgvector’s implementation of HNSW for you and compared it to pg_embbeding’s. This covers why this milestone is important for Postgres and why Neon is committed to supporting pgvector.

16.

PostgreSQL in 100 Seconds by Fireship [video](youtube.com ↗)

2 points · by raoufchebri · 3y ago · discuss

comment 3y ago · link · parent

I think you can find Qdrant here https://ann-benchmarks.com/glove-100-angular_10_angular.html

This is different from the dataset we used. We used GIST-960. It could interesting to test different vector store indeed.

comment 3y ago · link · parent

Adding https://ann-benchmarks.com/

comment 3y ago · link · parent

@jonathan-adly do you use ivfflat with pgvector?

comment 3y ago · link · parent

Hey @lysecret, what's your use-case?

comment 3y ago · link · parent

Blog post author here. Let me know if you have any questions regarding the benchmark and pg_embedding

comment 3y ago · link · parent

Neon separates storage and compute. The compute part is serverless and can scale up and down on demand. The storage has multiple layers: Safekeepers for durability and Pageservers to reconstruct pages from WAL.

The data is also offloaded to S3. Here is a diagram that describes the architecture: https://neon.tech/_next/image?url=https%3A%2F%2Fneon-hwp.dre...

comment 3y ago · link · parent

Thanks, I didn't know about serverless-pg. I'll have a look.

comment 3y ago · link · parent

Connection caching is achieved on proxy side. Edge <-> Proxy<->Compute(Postgres)
12