blast icon indicating copy to clipboard operation
blast copied to clipboard

Mongodb example

Open maxn0d3x opened this issue 6 years ago • 1 comments

Looks like this project could be a pretty good alternative of Elastic. I am considering of this project for an alternative of Elasticsearch which is super heavy memory consuming index search engine. This can be an alternative for a medium-scale or large scale project? The problem is my main db is Mongodb. Should I extract json from Mongodb periodically and send back to Blast to build indexes? What is the best option for my situation?? I need an example mongodb connector to communicate with Blast via GRPC to realtime build index like the elastic search doing

One more question, Is it a good idea to interact with Blast server from end-user clients. My situation is I want to let users do search/filter items in the browser directly. how about grpc-web?(I know grpc-web project is immature) What about HTTP2 + json(Rest) ?

maxn0d3x avatar Apr 17 '19 01:04 maxn0d3x

Hi @NiNJAD3vel0per ,

Unfortunately, it does not have the same functionality as Elasticsearch. Smaller ones can be migrated, but distributed search and indexing like Elasticsearch are not supported yet. I am working on that development.

Currently, gRPC and a simple HTTP REST API are provided as an interface with clients. Please use these to feed data from DB.

The HTTP REST API has implemented easily now, but I consider to replacing it with something else in the future.

mosuka avatar May 24 '19 00:05 mosuka