This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 项目地址
https://github.com/OpenAtomFoundation/pika/blob/unstable/README_CN.md
# 解压缩
tar -jxvf pika-linux-x86_64-v3.5.1.tar.bz2
# 启动脚本
./output/pika -c ./conf/pika.conf
Q:Postgresql,Redis,Pika,ElasticSearch四个组件的关系是什么?
答:(1)主力存储库PG,四种组件中,只有PG必须严格备份,其它的均可由PG导入重新生成。
(2)性能要求高的缓存对象,数量不能太多,不应占用过多的内存(比如10G),不需要预热,
每次缓存无法命中就到数据库中查询后维护好缓存的,用REDIS
(3) 对于占用内存非常多,同时查询频率非常高的业务,比如资源、试题等,PG只通过条件搜索相关的主键ID,
然后通过HgetAll+Pipeline从Pika中获取。
(4) 复杂查询,PG无法支撑的,考虑通过Debezium实时同步到ES,通过ES进行查询主键,然后再二次从PIKA中获取实体数据。