Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> Redis

RediSearch 2.0: Lightning-Fast Search Engine สำหรับ Modern Redis Applications

วันนี้เราตื่นเต้นประกาศ general availability ของ RediSearch 2.0 นำ powerful querying, indexing และ full-text search engine ไปสู่ Redis users ทุกคน ใน public preview ตั้งแต่ กันยายน 2020 RediSearch 2.0 ได้ garner growing list of customers ที่พึ่งพามันสำหรับ myriad use cases ตั้งแต่สร้าง modern applications ถึง full-text search ถึง real-time analytics RediSearch 2.0 introduce brand new architecture ทำให้มันเร็วกว่า RediSearch 1.6 มากกว่า 2 เท่า และ RediSearch ตอนนี้ support Redis' Active-Active geo-distribution และ Redis on Flash

ทำไม RediSearch จึงสำคัญ

Modern organizations capture large amounts ของ structured และ unstructured data บ่อยครั้ง แต่ data นี้ locked ใน slow disk-based databases ที่ไม่ support real-time experiences สำหรับ modern applications RediSearch กำจัด performance bottlenecks เหล่านี้โดยให้ users easily index Redis datasets ของพวกเขา และ query และ aggregate data ใน fully distributed manner แบบ real-time ที่ความเร็ว Redis

RediSearch 2.0: Lightning-Fast Search Engine สำหรับ Modern Redis Applications

ตาม diagram ด้านบน RediSearch นำ sophisticated data modeling มาสู่ Redis โดยให้ several indexing strategies สำหรับ value part ของ key รวมถึง full-text, geo-location, numbers และ tags โดยไม่มี indexes Redis ต้องทำ SCAN operation สำหรับทุก query ซึ่งอาจ slow และ inefficient มาก และการสร้างและ maintain indexes นี้ manually complex และ error-prone RediSearch maintain indexes เหล่านี้ให้ user และอนุญาต query across data structures ใน clustered database

การเพิ่ม RediSearch เข้า technology stack ของคุณ simplify data infrastructure ขยาย applications ด้วย rich search experiences และ unlock analytics power ใน Redis Developers ไม่ต้อง flip back and forth ระหว่าง multiple technologies, query languages, data models และ bolt-on search engines เพื่อสร้าง modern applications

Using RediSearch

เขียนใน C RediSearch สร้างขึ้นด้วย performance ในใจ ใช้ in-memory data structures อย่าง Trie และ leverage modern distributed indexing และ query algorithms ทำให้มัน 5x – 10x faster than existing search engines (สำหรับ RediSearch speed เพิ่มเติม ดู Search Benchmarking: RediSearch vs. Elasticsearch) RediSearch's low-latency indexing และ data querying ทำให้เหมาะสำหรับ frequently updated datasets และ RediSearch 2.0 ใหม่เร็วกว่ารุ่นก่อน 2.4x

RediSearch ให้คุณ quickly create indexes บน datasets ใน multiple data types ใน Redis (Hashes รองรับอยู่ และเราวางแผน release support สำหรับ JSON เร็วๆ นี้ ตามด้วย Streams) RediSearch ใช้ incremental indexing approach สำหรับ lightweight index creation และ deletion Rich query language ให้คุณ query data at lightning speed ทำ complex aggregations และ filter by properties, numeric ranges และ geographical distance

RediSearch support full-text indexing และ stemming-based query expansion ในหลายภาษา รวมถึง Chinese, Spanish, Russian, French, German และอีกมากมาย เพิ่มเติม คุณสามารถ enrich users' search experiences โดย implement auto-complete suggestions ใช้ 'fuzzy' search technology

Latest release นี้ยังทำให้ RediSearch scale ได้ง่ายกว่าค่อยเป็นค่อยไป ด้วย RediSearch 2.0 customers สามารถ quickly grow เพื่อ query และ index billions of documents บน hundreds of servers และด้วย support สำหรับ Redis on Flash นั้นทำได้ใน more cost effective way ไปกว่าเดิม RediSearch ยัง deploy ได้ใน globally distributed manner โดย leverage Redis Enterprise's Active-Active technology ส่งมอบ five-nines (99.999%) availability ข้าม multiple geo-distributed replicas ซึ่ง enable read operations (เช่น querying และ aggregation) และ write operations (เช่น indexing) executed ที่ความเร็ว local RediSearch deployments โดยไม่กังวล conflict resolution

RediSearch in the real world

Enabling indexing, querying และ full-text search ข้าม different data types และ data structures เป็น essential ช่วย users unlock power ของ data ของพวกเขา RediSearch's ability รัน queries เหล่านี้ใน fully distributed manner โดยไม่มี scaling limitations และที่ sub-millisecond latencies เป็น truly a game changer

Customers ของเราใช้ RediSearch ไม่แค่ accelerate legacy applications แต่สร้าง next-generation real-time applications ของพวกเขา GoMechanic ตัวอย่างใช้ RediSearch search ข้าม database ของ 10 million spare parts (ดูเพิ่มใน RediSearch 2.0 press release) หลาย e-commerce apps ใช้ RediSearch ให้ interactive search ข้าม millions of products ใน catalogs และใช้ fuzzy search ให้ users auto-complete suggestions

ด้วย RediSearch's ephemeral search capability การสร้าง indices lightweight เปิดใช้งาน thousands of indices ใน database เดียวกัน ให้ developers rapidly create และ expire indices ตาม customer's purchase history ตัวอย่าง บริษัทประกันสุขภาพ ใช้ RediSearch ให้ users รัน geospatial queries บน websites และ apps หา healthcare providers ที่เหมาะสมใน neighborhood ทั้งหมด deployed at scale ใน production environments แล้ว

Get started with RediSearch 2.0

เรียนรู้ว่าคุณใช้ RediSearch 2.0 เร่ง application modernization journey อย่างไร หรือเริ่มทันที เยี่ยม RediSearch Quick Start page