MCPcopy
hub / github.com/Qihoo360/poseidon

github.com/Qihoo360/poseidon @main sqlite

repository ↗ · DeepWiki ↗
2,630 symbols 7,695 edges 179 files 997 documented · 38%
README

Poseidon

Poseidon is a log searching engine system that can quickly search and retrieve specific strings in hundreds of petabytes and hundreds of trillion lines of log data. In the past, if we try to find some information in such large set of data, we need to write a Map/Reduce task program and run it in Hadoop platform. This will cost several hours, maybe more, that greatly restricting the working efficiency.

The Poseidon system can solve this problem, it builds the inverted index directly on HDFS and does not change the storing mode of the original log data which is still stored on HDFS. That means the Poseidon system does not need to store the original log data. We can use Poseidon system to do searching and use Hadoop system to run Map/Reduce task in the same time and on the same data set.

That is very different with ElasticSearch which stores the index data and original data in its own system and stores the original data on HDFS if we also need to run Map/Reduce task. And more importantly, ElasticSearch cannot hold such large scale of data set.

Extension points exported contracts — how you extend this code

Message (Interface)
Message is implemented by generated protocol buffer messages. [21 implementers]
builder/docformat/src/github.com/golang/protobuf/proto/lib.go
Function (Interface)
Created by liwei on 6/8/16. [29 implementers]
builder/index/src/main/java/InvertedIndex/plugin/Function/Function.java
Store (Interface)
(no doc) [2 implementers]
service/meta/store/store.go
BusinessTrait (Interface)
(no doc) [1 implementers]
service/searcher/poseidon/business_trait.go
Marshaler (Interface)
Marshaler is the interface representing objects that can marshal themselves. [5 implementers]
builder/docformat/src/github.com/golang/protobuf/proto/encode.go
InvertedIndexOrBuilder (Interface)
(no doc) [5 implementers]
builder/index/src/main/java/proto/PoseidonIf.java
StoreCreator (FuncType)
StoreCreator is a function to create a new instance of Store
service/meta/store/store.go
Conn (Interface)
Conn represents a connection to a Redis server. [4 implementers]
builder/docformat/src/github.com/garyburd/redigo/redis/redis.go

Core symbols most depended-on inside this repo

P
called by 275
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go
Get
called by 176
service/meta/store/store.go
P
called by 136
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/internal/grpc/grpc.go
Close
called by 134
builder/docformat/src/github.com/garyburd/redigo/redis/redis.go
Do
called by 126
builder/docformat/src/github.com/garyburd/redigo/redis/redis.go
Error
called by 96
builder/docformat/src/github.com/golang/protobuf/proto/text_parser.go
Error
called by 87
builder/docformat/src/github.com/bitly/go-nsq/errors.go
Int32
called by 81
builder/docformat/src/github.com/golang/protobuf/proto/lib.go

Shape

Method 1,451
Function 849
Struct 174
Class 75
Interface 41
TypeAlias 28
FuncType 11
Enum 1

Languages

Go73%
Java27%

Modules by API surface

builder/index/src/main/java/proto/PoseidonIf.java406 symbols
builder/docformat/src/github.com/golang/protobuf/proto/all_test.go103 symbols
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go100 symbols
builder/docformat/src/github.com/golang/protobuf/proto/encode.go88 symbols
builder/docformat/src/github.com/bitly/go-nsq/consumer.go63 symbols
builder/docformat/src/github.com/mreiferson/go-snappystream/snappy-go/snappy_test.go56 symbols
builder/index/src/main/java/util/IniParser.java55 symbols
builder/docformat/src/github.com/golang/protobuf/proto/pointer_reflect.go54 symbols
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go52 symbols
builder/docformat/src/github.com/bitly/go-nsq/delegates.go48 symbols
builder/docformat/src/github.com/mreiferson/go-snappystream/readwrite_test.go44 symbols
builder/docformat/src/github.com/golang/protobuf/proto/decode.go41 symbols

For agents

$ claude mcp add poseidon \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact