scaling saved searches
play

Scaling Saved Searches Serving real time push-notifications for - PowerPoint PPT Presentation

466382733 Scaling Saved Searches Serving real time push-notifications for millions saved searches Who are we? ebay kleinanzeigen ebay What are we? ads = classified ads some numbers 22M ads live! 18M searches/day 466382733 Saved


  1. 466382733 Scaling Saved Searches Serving real time push-notifications for millions saved searches

  2. Who are we?

  3. ebay kleinanzeigen ≠ ebay

  4. What are we?

  5. ads = classified ads

  6. some numbers

  7. 22M ads live!

  8. 18M searches/day

  9. 466382733 Saved Searches Serving real time push-notifications for millions saved searches

  10. 700k new ads/day 8M saved searches

  11. 48.000.000.000 theoretical matches a day!

  12. p r o c e s s i t !

  13. W hat?

  14. H ow?

  15. * * 0/1 * * ?

  16. r e a l t i m e ?

  17. s c a l a b l e ?

  18. C a n w e d o b e t t e r ?

  19. 2 0 1 5

  20. src=https://www.esciencecenter.nl/img/main/logo-elastic.png

  21. Percolator Traditionally you design documents based on your data, store them into an index, and then define queries via the search API in order to retrieve these documents. The percolator works in the opposite direction. First you store queries into an index and then, via the percolate API, you define documents in order to retrieve these queries. src=https://www.elastic.co/guide/en/elasticsearch/reference/current/search-percolate.html

  22. H o w m a n y p u s h e s p e r d a y ?

  23. ~3x

  24. H ow?

  25. 700k new ads/day

  26. match all?

  27. a s k s e a r c h

  28. h o w m a n y r e s u l t s ?

  29. c r e a t e b u c k e t s

  30. 0 - 100: RT 101 - 1000: 1h 1001 - 10000: 2h > 10000: 6h

  31. ...

  32. l i f e t i m e o f a s e a r c h

  33. s l e e p ... Z Z Z Z Z Z

  34. Z Z Z Z Z Z

  35. S e t u p

  36. S e t u p

  37. cloud

  38. 2 data centers

  39. 2 data centers 10 data + 3 master

  40. 2 data centers 10 data + 3 master

  41. replication x1 shards x80

  42. SOLVED ES5

  43. s k i p o n o v e r l o a d

  44. e l a s t i c f a s t o n i n d e x i n g

  45. f i l t e r s l e e p i n g s e a r c h e s

  46. m e t a d a t a

  47. filter:{ “next_pushdate”: [* TO NOW]}

  48. o n l y 3 0 % s e a r c h e s a r e o n l i n e

  49. d e s k t o p

  50. a v o i d d b - r e a d p e r s e a r c h

  51. h a s h p e r s e a r c h

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend