haha, he chose to end the clip with pure violence!
@aerahtv0000
3 жыл бұрын
what's wrong with mysql?
@Developer-404
3 жыл бұрын
This guy knows how to make shorts worth watching.
@He4dless97
Жыл бұрын
true!
@SheikhYourbutty
3 жыл бұрын
Hi Hussein! We used to work with MongoDB Wiredtiger engine but had performance issues and changed it to Percona MondoDB in memory storage which gave as significant performance boost. Regarding persistence, you can add to your in memory replicas set a special replica instance with persistence storage that never become a master by tweaking it's priority, so that way you will solve that issue.
@hnasr
3 жыл бұрын
Hey Dani thanks for sharing, I wonder what were the performance issues to WiredTiger, was it writes/reads or scalability in general
@SheikhYourbutty
3 жыл бұрын
@@hnasr we use mongo as source of enrichment data during stream processing and as number of daily events increased we've started to open a gap obviously because of Mongo I/O operations (we do mostly reads but once in a hour we write a lot of data). We've added more and more shard and replicas, also routers, tweaked local stream processing cache to deal with such rate but reached out limit every time, therefore decided to switch to less machines with more RAM and in-memory engine. It allowed us to get x3 boost in writing/reading throughput.
@farooqmss
3 жыл бұрын
Nice to have this feature in mongo, but both mongo and redis have their respective grounds take nginx and ha-proxy for example, both have some common features but still we use them separately for their strengths
@autohmae
3 жыл бұрын
Sounds more like it's similar to the older memcached instead of Redis.
@hnasr
3 жыл бұрын
has memcached fallen out of favor? is it worth me exploring it? I have a feeling I would love its architecture (i don't know anything about it)
@danyald4880
3 жыл бұрын
@@hnasr Redis is the go to thing for caching nowadays, i personally don't think memcached is worth exploring. Off topic, but Cassandra is something that we would love to have your deep dive video on.
@rednafi
3 жыл бұрын
This could be very useful for people who're already using MongoDB for something else. In that case, they could do their caching on the same database. However, the lack of persistence is a dealbreaker. Also, you can already deal with documents via Redis hash or RedisJSON. So, this basically changes nothing.
@shaharyarahmed9899
3 жыл бұрын
I'd prefer Redis because of persistence, lightweight, more ops per second, easy scalability
@echoanatolia5721
2 жыл бұрын
Hazelcast is also another IMDG. You can compare with Redis.
@IvanRandomDude
3 жыл бұрын
If we can store documents there it is more powerful. Or no, key:value vs key:document? Sure, we can always serialize object to json string and store them as value but....
@rednafi
3 жыл бұрын
You can already do this with RedisJson. Also, Redis hash data structure can be used to store documents without needing explicit serialization.
@user-ir2fu4cx6p
3 жыл бұрын
That's bad bad idea, never ever relay on semi text data storage, data should be very clean status, or else you'll end-up in corrupted data very soon .
Пікірлер: 18