SpringBoot集成Mongodb
1. SpringBoot集成
pom.xml
1 | <dependency> |
application.properties
1 | =mongodb://user:pwd@ip:27017/database |
集群版mongodb
1 | =mongodb://user:pwd@ip1:port1,ip2:port2/database |
pom.xml
1 | <dependency> |
application.properties
1 | =mongodb://user:pwd@ip:27017/database |
集群版mongodb
1 | =mongodb://user:pwd@ip1:port1,ip2:port2/database |
Why Scroll?
Scrolling is the fundamental interaction of the Internet. Having animated elements triggered on scroll is a common practice, but what if you want to take it to another level? For example, websites like r2d3 — A visual introduction to machine learning and NASA: Prospect all features full-scale animations that users can control and interact with through scrolling.
I was really drawn to this form of interaction, which has inspired me to create OKAI — An Interactive Introduction to Artificial Intelligence(AI). Every chapter (except Chapter 0) features full-scale scroll-based animations that visualize and break down complicated concepts in AI. Allowing users to control the pace of the animations give them a sense of control and security when exploring the unknown world of AI principles.
https://okai.brown.edu/chapter1.html
In this article, I am presenting the workflow of how these animations are created and controlled through scrolling.
最近新购入一块3T硬盘,准备划给Linux 系统2T,用来玩数据分析。开始新硬盘的挂载之旅
1 | [root@sloong sloong]# fdisk -l |
可以看到新磁盘为 /dev/sda, 3000G, 扇区 0.5k/4k ,IO大小 4k/4k
从0.10 开始,再无低等级消费者,消息均需通过ConsumerAPI:KafkaConsumer类进行消费,不同的消费场景,不一样的实现,官方提供了7种场景的解决方案:
下面就基于kafka2.0官方文档,一一拆解:
1 | curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz # 下载 |
1 | nohup /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data & |
1 | vi /etc/yum.repos.d/mongodb-org-3.2.repo |
1 | [mongodb-org-3.2] |
1 | yum -y install mongodb-org |
非原创-记录下
包括

Update your browser to view this website correctly. Update my browser now