Comments (2)
Hey @kevinsproles,
I've added multi-tenancy feature (#188)
It's possible now to run thousands of indices on one single machine. Each index can have a different product catalog and configuration (aggregations, sorting fields, etc)
More info in docs https://docs.itemsapi.com/guide/movies.html#multi-tenancy
from itemsapi.
It depends how many products you have and also workload of search and indexing. This use case is great. ItemsAPI works well with flexible requirement per index and was designed for such a cases
Personally right now I'd:
- deploy it by ansible (or terraform) to 100 x 10$ digitalocean instances. I'd set SWAP from SSD for about 24 GB RAM. I'd run 100 ItemsAPI servers / indexes on each DO instance
OR
- create all indexes on one ItemsAPI instance on high quality metal bare server (64 GB RAM, SSD or NVME). I think one such a server could handle 10,000+ sites. ItemsAPI works very well with tens of millions of records on small machine (except slowier indexing). If millions of records comes from 10K sites it could be even better because all indexes are smaller so searching and indexing is faster then one big index. The bottleneck might be a traffic to Node.JS API and not core c++ search engine itself.
The second solution is IMO best but I am not supporting multi-indexes from one ItemsAPI instance yet. I am going to implement it in the future. If I also add a RAFT (i.e. https://github.com/baidu/braft) on top of it then you could replicate it and make SLA on 99.99%
from itemsapi.
Related Issues (20)
- add query_string to "similar items"
- make possible to disable specific aggregation from search result HOT 1
- Data searching HOT 8
- REST API endpoints HOT 2
- Is it possible to disable aggregation key in schema during request? HOT 14
- Sorting issue HOT 11
- throws error once aggregation ranges are empty (in generator)
- Make installation more intuitive HOT 1
- api keys
- Aggregation endpoint is not showing correct elements count HOT 1
- Improvement in new index name in reindex HOT 1
- Stop supporting non Elasticsearch field properties like display array
- Make field name analyzed in schema while generating project
- Elasticsearch 5.x HOT 5
- mysql support HOT 3
- Connect mysql table eample
- Start itemsapi docker HOT 2
- Documentation HOT 8
- AND vs OR HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itemsapi.