Comments (3)
When enable-patches
is set to true, monstache needs to do more work and would actually be slower. Sorry if I was not clear enough with what that setting does. When enabled, monstache will compare new or updated documents from MongoDB to the latest corresponding (by _id) document in Elasticsearch and create a merge patch document will the difference between the two. Then, it will add the difference to the new or update MongoDB document before indexing it into ElasticSearch.
Then enable-patches
setting does not affect the behavior of deletes, only inserts and updates. For an insert, the difference is just the whole document itself. For an update, monstache needs to call the Elasticsearch REST API to get the previous version in order to do the compare.
from monstache.
@rwynn thanks for the clarification. 👍
from monstache.
@Crispy1975 just release monstache 3.0 which some major internal changes. There are a couple of configuration changes with regards to Elasticsearch but nothing drastic. Hopefully, this version will give you better performance. Thanks!
from monstache.
Related Issues (20)
- High rated vulnerability in `golang.org/x/text` (CVE-2022-32149)
- Further understanding of the worker mode
- ARM64 Docker Image
- Failed to find unique document using index pattern While document exists
- elasticsearch-max-bytes not effective, still error : Error 413 (Request Entity Too Large)
- Support for Kibana SSL authentication HOT 1
- Map index on DELETE action - Not accessing plugin HOT 2
- CVE-2022-37434 HOT 2
- Records are missing in sync HOT 5
- linux/arm64 docker images HOT 4
- Creating multiple indices for one collection on resume HOT 1
- Configure monstache to sync all collections in database
- How save in index data stream
- Monstache did not back off writing data when ElasticSearch disk was full (http code 429), causing log spam HOT 3
- Can't connect Monstache(local machine) with my MongoDB containers(3 replicas) and elasticsearch containers.
- Version conflict on collection relation
- Monstache starts backoff when getting 404 (deleted object is already deleted in ES) HOT 2
- Bug: Setting mongodb field value to null does not index it in Elasticsearch HOT 5
- Add an option to include mongo change stream in health check
- Obsessive-compulsive reading disorder
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 monstache.