SlideShare a Scribd company logo
A Scalable Architecture for Distributed Retrieval System in High Concurrency Environment Concepts and Implementations of ClusCom and FeDrs Liu Liu
Motivation Scale retrieval system to billions; Accuracy depends on size of database; High concurrency in real world.
What is ClusCom A C++ lib for distributed computing in high concurrency environment; Easy to use and employ;
Structure Tree-based structure: ........................................................ Node 1 Node 3 Node 2
Lib Interface virtual int   handle ( char * to_request,  char * to_reply); virtual int   synthesize (apr_uint32_t &node,  char ** to_synthe,  char * to_reply); virtual int   manipulate ( char * to_mani, apr_uint32_t& return_size,  char * to_reply);
Some Facts of ClusCom Based on Apache Portable Runtime Library; Self-managed memory allocate; Persistent socket connection pipe with backups; epoll and multithreading hybird server socket.
How ClusCom Works 7 seperated  threads ; Request Pre-handler Dispatcher Handler Classifier Synthesizer Repeater Reply Pre-handler
Why Seperate network I/O handling and actual data process; 7  threads  are not only 7 threads; Request Pre-handler Dispatcher Handler Classifier Synthesizer Repeater Reply Pre-handler
Look into ClusCom Network I/O handler using persistent socket pipe; Handler and synthesizer using leader-follower thread pool; Request Pre-handler Dispatcher Handler Classifier Synthesizer Repeater Reply Pre-handler
Deal with High Concurrence REST Connection Persistent Connection ClusCom Server ClusCom Proxy Application Servers
What is ClusCom Proxy establish non-state connection with application; Maintain a persistent connection with ClusCom server; ClusCom Proxy REST Connection Persistent Connection
FeDrs Based on ClusCom; Design for retrieval system; Easy to use and employ.
FeDrs Interface Expose only one function and can be changed on fly; double  evaluate_func( const char * input_a,  const char * input_b,  const char * config);
Some Facts of FeDrs Data saved with radix tree and 128-bit key; A PHP extension to access FeDrs; Retrieval within groups;

More Related Content

DOCX
On the speedup of recovery in large scale erasure-coded storage systems
PDF
Multimaster
PPTX
Performance Analysis of OLSR routing protocol In MANET Considering different ...
PPTX
Streaming kafka search utility for Mozilla's Bagheera
PPTX
Slide share cr_meetup
DOCX
Synopsis on "ANALYZING THE EFFECTIVENESS OF THE ADVANCED ENCRYPTION STANDARD ...
ODP
Cirrostratus
PDF
Network stack personality in Android phone - netdev 2.2
On the speedup of recovery in large scale erasure-coded storage systems
Multimaster
Performance Analysis of OLSR routing protocol In MANET Considering different ...
Streaming kafka search utility for Mozilla's Bagheera
Slide share cr_meetup
Synopsis on "ANALYZING THE EFFECTIVENESS OF THE ADVANCED ENCRYPTION STANDARD ...
Cirrostratus
Network stack personality in Android phone - netdev 2.2

Viewers also liked (15)

PPTX
Typographic Portraits ppt
PPT
排毒见证
PPTX
Intro to Restaurant Logos Design
PPT
Web 2.0
DOC
Sharvari_Patil
PDF
Mile Stones 2015 HR
PDF
Maximize Demosphere XVIX - Interacting On The Go
PPT
Facool
PPTX
Etapas de desarrollo de software
PDF
Front cover deconstructions
PPTX
Sales Force Automation
PPT
Lifewave & How Toxic Get Into Our Body
PPT
LifeWave Presentation - English
PPT
Company Profile
PDF
Delphine Sala - Etude de rémunérations 2013-2015
Typographic Portraits ppt
排毒见证
Intro to Restaurant Logos Design
Web 2.0
Sharvari_Patil
Mile Stones 2015 HR
Maximize Demosphere XVIX - Interacting On The Go
Facool
Etapas de desarrollo de software
Front cover deconstructions
Sales Force Automation
Lifewave & How Toxic Get Into Our Body
LifeWave Presentation - English
Company Profile
Delphine Sala - Etude de rémunérations 2013-2015
Ad

Similar to A Scalable Architecture For Distributed Retrieval System In High Concurrency Environment (20)

PPT
Fundamentals Of Transaction Systems - Part 1: Causality banishes Acausality ...
PDF
Postgres clusters
PDF
Apache Cassandra - Drivers deep dive
PPTX
Cloud infrastructure, Virtualization tec
PPT
Communication in Distributed System.ppt
PDF
Software Developer Portfolio: Backend Architecture & Performance Optimization
PDF
Enea Enabling Real-Time in Linux Whitepaper
PPTX
Redis Clustering Advanced___31Mar2025.pptx
DOC
Oss questions
PPT
A Distributed Control Law for Load Balancing in Content Delivery Networks
PPTX
IEEE HPSR 2017 Keynote: Softwarized Dataplanes and the P^3 trade-offs: Progra...
PPT
Linking Programming models between Grids, Web 2.0 and Multicore
PDF
Build cloud native solution using open source
PPT
Parallel Processing Concepts
PPTX
Clustering by AKASHMSHAH
PPTX
distributed-systemsfghjjjijoijioj-chap3.pptx
PDF
Affect of parallel computing on multicore processors
PDF
AFFECT OF PARALLEL COMPUTING ON MULTICORE PROCESSORS
PPTX
GemFire In-Memory Data Grid
PPT
2.1 Red_Hat_Cluster1.ppt
Fundamentals Of Transaction Systems - Part 1: Causality banishes Acausality ...
Postgres clusters
Apache Cassandra - Drivers deep dive
Cloud infrastructure, Virtualization tec
Communication in Distributed System.ppt
Software Developer Portfolio: Backend Architecture & Performance Optimization
Enea Enabling Real-Time in Linux Whitepaper
Redis Clustering Advanced___31Mar2025.pptx
Oss questions
A Distributed Control Law for Load Balancing in Content Delivery Networks
IEEE HPSR 2017 Keynote: Softwarized Dataplanes and the P^3 trade-offs: Progra...
Linking Programming models between Grids, Web 2.0 and Multicore
Build cloud native solution using open source
Parallel Processing Concepts
Clustering by AKASHMSHAH
distributed-systemsfghjjjijoijioj-chap3.pptx
Affect of parallel computing on multicore processors
AFFECT OF PARALLEL COMPUTING ON MULTICORE PROCESSORS
GemFire In-Memory Data Grid
2.1 Red_Hat_Cluster1.ppt
Ad

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Machine learning based COVID-19 study performance prediction
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Getting Started with Data Integration: FME Form 101
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
Building Integrated photovoltaic BIPV_UPV.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Weekly Chronicles - August'25-Week II
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
A comparative analysis of optical character recognition models for extracting...
Reach Out and Touch Someone: Haptics and Empathic Computing
Group 1 Presentation -Planning and Decision Making .pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TLE Review Electricity (Electricity).pptx
Assigned Numbers - 2025 - Bluetooth® Document
Advanced methodologies resolving dimensionality complications for autism neur...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
A comparative study of natural language inference in Swahili using monolingua...
Machine learning based COVID-19 study performance prediction
MIND Revenue Release Quarter 2 2025 Press Release
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Getting Started with Data Integration: FME Form 101
1. Introduction to Computer Programming.pptx
Programs and apps: productivity, graphics, security and other tools

A Scalable Architecture For Distributed Retrieval System In High Concurrency Environment

  • 1. A Scalable Architecture for Distributed Retrieval System in High Concurrency Environment Concepts and Implementations of ClusCom and FeDrs Liu Liu
  • 2. Motivation Scale retrieval system to billions; Accuracy depends on size of database; High concurrency in real world.
  • 3. What is ClusCom A C++ lib for distributed computing in high concurrency environment; Easy to use and employ;
  • 4. Structure Tree-based structure: ........................................................ Node 1 Node 3 Node 2
  • 5. Lib Interface virtual int handle ( char * to_request, char * to_reply); virtual int synthesize (apr_uint32_t &node, char ** to_synthe, char * to_reply); virtual int manipulate ( char * to_mani, apr_uint32_t& return_size, char * to_reply);
  • 6. Some Facts of ClusCom Based on Apache Portable Runtime Library; Self-managed memory allocate; Persistent socket connection pipe with backups; epoll and multithreading hybird server socket.
  • 7. How ClusCom Works 7 seperated threads ; Request Pre-handler Dispatcher Handler Classifier Synthesizer Repeater Reply Pre-handler
  • 8. Why Seperate network I/O handling and actual data process; 7 threads are not only 7 threads; Request Pre-handler Dispatcher Handler Classifier Synthesizer Repeater Reply Pre-handler
  • 9. Look into ClusCom Network I/O handler using persistent socket pipe; Handler and synthesizer using leader-follower thread pool; Request Pre-handler Dispatcher Handler Classifier Synthesizer Repeater Reply Pre-handler
  • 10. Deal with High Concurrence REST Connection Persistent Connection ClusCom Server ClusCom Proxy Application Servers
  • 11. What is ClusCom Proxy establish non-state connection with application; Maintain a persistent connection with ClusCom server; ClusCom Proxy REST Connection Persistent Connection
  • 12. FeDrs Based on ClusCom; Design for retrieval system; Easy to use and employ.
  • 13. FeDrs Interface Expose only one function and can be changed on fly; double evaluate_func( const char * input_a, const char * input_b, const char * config);
  • 14. Some Facts of FeDrs Data saved with radix tree and 128-bit key; A PHP extension to access FeDrs; Retrieval within groups;