CH Lavora in tempo reale, senza complicazioni CH


Added:

Dedica più tempo a creare

Cache plus-white minus-white

Crea esperienze migliori che crescono con te, con un caching accessibile e potente a livello enterprise,sviluppato dai dev di Redis open source.

res11 = r.json().set("newbike", "$", ["Deimos", {"crashes": 0}, None])
print(res11) # >>> True

res12 = r.json().get("newbike", "$")
print(res12) # >>> ['["Deimos", { "crashes": 0 }, null]']

res13 = r.json().get("newbike", "$[1].crashes")
print(res13) # >>> ['0']

res14 = r.json().delete("newbike", "$.[-1]")
print(res14) # >>> [1]

res15 = r.json().get("newbike", "$")
print(res15) # >>> [['Deimos', {'crashes': 0}]]

Vettore plus-white minus-white

I migliori risultati sono proprio quelli che cercavi. Rendi la tua app AI più veloce e smart con la ricerca semp
lificata dei documenti, sistemi di raccomandazione, caching semantico e Retrieval Augmented Generation (RAG).

# Create a vector index using the HNSW algorithm, 768 dimension length, and inner product distance metric
> FT.CREATE idx-videos ON HASH PREFIX 1 video: SCHEMA content_vector VECTOR HNSW 6 TYPE FLOAT32 DIM 768 DISTANCE_METRIC IP content TEXT metadata TEXT

# Add a video vector with metadata
> HSET video:0 content_vector "\xa4q\t=\xc1\xdes\xbdZ$<\xbd\xd5\xc1\x99<b\xf0\xf2<x[...\xf8<" content "SUMMARY:\nThe video discusses the limitations of MySQL at scale and introduces Redis Enterprise" metadata "{\"id\":\"FQzlq91g7mg\",\"link\":\"https://www.youtube.com/watch?v=FQzlq91g7mg\",\"title\":\"Redis + MySQL in 60 Seconds\"}"
(integer) 3

# Search for videos using a similar vector and the K-nearest neighbors algorithm
> FT.SEARCH idx-videos "* => [KNN 3 @content_vector $vector AS vector_score]" RETURN 3 metadata content vector_score SORTBY vector_score LIMIT 0 3 PARAMS 2 vector "\b[\xb7;\x81\x12\x9c\xbc\xc6!...\xfe<" DIALECT 2

Database plus-white minus-white

Usa Redis come database NoSQL per creare app veloci e affidabili, dovel’uptime “five-9s” (99.999%)è la norma.

# Create an index. In this example, all JSON documents with the key prefix 'user:' will be indexed.
rs = r.ft("idx:users")
rs.create_index(
schema,
definition=IndexDefinition(
prefix=["user:"], index_type=IndexType.JSON
)
)

# Use JSON.SET to set each user value at the specified path.
r.json().set("user:1", Path.root_path(), user1)
r.json().set("user:2", Path.root_path(), user2)
r.json().set("user:3", Path.root_path(), user3)

# Find the user Paul and filter the results by age.
res = rs.search(
Query("Paul @age:[30 40]")
)

# Result:
# {1 total, docs: [Document {'id': 'user:3', 'payload': None, 'json': '{"name":"Paul Zamir","email":"[email protected]","age":35,"city":"Tel Aviv"}'}]}

# b'OK'

Lavora senza problemi nel tuo stack


Added:

Trova tutto ciò che ti serve per iniziare

Inizio rapido

Redis come in-memory data store

Inizio rapido

Redis come database di documenti

Inizio rapido

Redis come database vettoriale

Scheda informativa

Scheda dei comandi Redis

Tutorial

Esegui una ricerca vettoriale con Redis e NodeJS


I nostri clienti cloud sviluppano app. Velocemente.

See how Redis Cloud can improve the way you operate and scale.
99.999%Availability
75%75% less costly than managing relational DBs
350%ROI over three years
$1MEstimated savings from improved efficiency

And they tell good stories

Customer stories

Finance

Flowdesk implements Redis for real-time analytics, achieving 10x faster query performance and 50% reduction in infrastructure costs.

Learn more

Customer stories

SOFTWARE

Docugami uses Redis to easily store, search, and update vector embeddings at scale.

Learn more

Customer stories

Security

Ekata uses Auto Tiering, which requires 70% less of the expensive DRAM storage they needed before Redis.

Learn more

Customer stories

Mobile gaming

Redis allows Niantic to use less overhead to balance their server load and offer great player experiences.

Learn more

Customer stories

Retail

Ulta implements Redis to enhance customer experience, achieving 50% reduction in response time and scaling to handle more than 300,000 transactions per second.

Learn more

Customer stories

Hospitality

iFood boosts performance and scalability with Redis, achieving a 50% reduction in latency and a 3x increase in throughput for its food delivery platform.

Learn more