You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
970 B

2 years ago
# 项目地址
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中获取实体数据。