mongodb

BAT大厂招聘 Java 程序员的技术标准,你达到要求了吗?

依然范特西╮ 提交于 2021-02-14 12:13:27
前言 今天整理了一篇Java 程序员面试大厂的技术标准 文末福利 BATJava 程序员的技术标准 阿里巴巴篇 扎实的计算机专业基础,包括算法和数据结构,操作系统,计算机网络,计算机体系结构,数据库等 具有扎实的Java编程基础,理解IO、多线程等基础框架 熟练使用Linux系统的常用命令及shell有一定了解 精通多线程编程,熟悉分布式,缓存,消息队列等机制; 熟悉JVM,包括内存模型、类加载机制以及性能优化 精通spring mvc、orm框架(ibatis或hibernate)、模板引擎(velocity)、关系型数据库设计及SQL 具备良好的面向对象编程经验,深入理解OO、AOP思想,具有很强的分析设计能力,熟悉常用设计模式 有大型分布式、高并发、高负载、高可用性系统设计和稳定性经验 熟悉面向对象设计开发,熟悉各种常用设计模式,并有在具体的应用场景落地经验 熟悉Spring、iBatis,等开源框架及消息,存储等常用中间件。 有通读过开源框架源码 熟悉基于Oracle或者Mysql的设计和开发、Linux操作系统 熟悉SOA,有平台化实施经验者,有大数据量、高并发系统和大型网站构建经验 分布式系统应用架构设计与研发经验,精通Java EE、SOA、OSGI等相关技术 对各种开源的框架如Spring、Hibernate等有深入的了解,对框架本身有过开发或重构者可优先考虑

阿里云ECS服务器安装配置MongoDB

独自空忆成欢 提交于 2021-02-14 10:45:24
环境 本人阿里云ECS服务器安装的操作系统为CentOS 7.3 64位。需要安装MongoDB,因为网上的教程大多比较老了,所以自己结合各种教程总结了一下,亲测可用。 不熟悉linux命令的小伙伴可自行搜索。 安装 下载 下载目录可任意选择,本人下载至~/software curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.9.tgz 解压 tar zxvf mongodb-linux-x86_64-3.2.9.tgz 移动 将解压后的文件夹移动至指定目录 mv mongodb-linux-x86_64-3.2.9/ /usr/local/mongodb 创建数据文件夹、日志文件和mongo配置文件 mkdir -p /usr/local/mongodb/data touch /usr/local/mongodb/mongod.log touch /usr/local/mongodb/mongodb.conf 修改配置文件 通过参数启动的方法较为麻烦,本文不赘述,仅提供通过配置文件启动的方法。 vim /usr/local/mongodb/mongodb.conf 在配置文件中加入如下代码: dbpath=/usr/local/mongodb/data logpath=/usr/local

MongoDB and Google Cloud Functions VPC Peering?

非 Y 不嫁゛ 提交于 2021-02-13 17:33:23
问题 I've having issues accessing MongoDB Atlas from Google Cloud functions. It is giving me error regarding IP Whitelisting but I've added both (Serverless VPC Access) IP address range and VPC Network Peering IP address range to MongoDB whitelist. I've also created MongoDB peering with google cloud. If I allow (access from anywhere) then my mongodb starts working fine, otherwise it gives error regarding IP whitelisting. I'm not sure what else I should add to MongoDB whitelist when I've added both

MongoDB and Google Cloud Functions VPC Peering?

ぐ巨炮叔叔 提交于 2021-02-13 17:33:21
问题 I've having issues accessing MongoDB Atlas from Google Cloud functions. It is giving me error regarding IP Whitelisting but I've added both (Serverless VPC Access) IP address range and VPC Network Peering IP address range to MongoDB whitelist. I've also created MongoDB peering with google cloud. If I allow (access from anywhere) then my mongodb starts working fine, otherwise it gives error regarding IP whitelisting. I'm not sure what else I should add to MongoDB whitelist when I've added both

linux 安装MongoDB

做~自己de王妃 提交于 2021-02-13 04:25:53
linux 安装MongoDB 一、从官网下载安装包安装 1、下载并且解压压缩包 MongoDB官方网站 https://www.mongodb.com/ ,找到community社区版, https://www.mongodb.com/download-center/community 然后选择对应的版本下载,注意Centos就是Redhat,没有Centos的版本,所以这里选择Redhat。 Version版本,选择带有current字眼的,这是最新的稳定版本 OS是系统,这里选择RHEL 7.0 ,对应的Centos就是7.x Package 是包的格式,这里选择TGZ,是压缩包 选择完成之后,下载按钮下面会出现一个链接,如上面图所示,然后复制这个链接。 准备好一个目录,用来下载安装mongodb,比如,我这边有个专门用来放软件的目录: /software 进入这个目录,然后下载刚才的压缩包: curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x 86 _ 64 -rhel 70 - 4 . 2 . 6 .tgz 下载好之后,解压这个目录的 tar -zxvf mongodb-linux-x 86 _ 64 -rhel 70 - 4 . 2 . 6 .tgz 解压后的文件夹的名字非常长

How to initialize MongoClient once in spring boot and export it to use its methods?

点点圈 提交于 2021-02-12 11:33:32
问题 Hello I am trying to export the MongoClient after a successful connection in Spring Boot and I am trying to use it in other files so that I do not have to call the connection every single time that I need to make changes in my MongoDB database. The connection is pretty simple but the goal would be to connect the application to my database once and then use it wherever I want by importing it in any Java file. Thank you 回答1: Here are couple of ways of creating an instance of MongoClient ,

How to initialize MongoClient once in spring boot and export it to use its methods?

久未见 提交于 2021-02-12 11:33:21
问题 Hello I am trying to export the MongoClient after a successful connection in Spring Boot and I am trying to use it in other files so that I do not have to call the connection every single time that I need to make changes in my MongoDB database. The connection is pretty simple but the goal would be to connect the application to my database once and then use it wherever I want by importing it in any Java file. Thank you 回答1: Here are couple of ways of creating an instance of MongoClient ,

mongodb-4.2-隋唐笔迹

▼魔方 西西 提交于 2021-02-12 08:00:33
1.mongodb配置源,安装客户端 @# yum clean all yum makecache vim /etc/yum.repos.d/mongodb-org-4.2.repo [mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc yum install -y mongodb-org 2.mongodb配置服务端mongodb4.2,centos7 选择版本、系统环境、包 ,我选择的是TGZ ,这样就显示出包的地址了。 https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.2.0.tgz 下面就是安装步骤: 1、切换的src目录,下载包文件解压后,改名并迁移到 /usr/local/mongodb , 创建运行mongodb的用户、组,创建存放数据、日、运行pid的目录,并改成所属用户、组为mongodb cd /usr/local/src wget https:/

初识数据库(MySql)

☆樱花仙子☆ 提交于 2021-02-12 02:44:31
一、简介   1.MySql是关系型数据库.   2.是一种开放源码软件,   3.是一种关联数据库管理系统.   4.服务器工作于客户端/服务端模式之下,或者是嵌入系统中.   数据库管理软件分类:   分两大类:   关系型:如db2,oracle,access,sql server,mysql, sql语句通用   关系型:mongodb,redis,memcache   可以简单地理解为关系型数据库需要有表结构,非关系型数据库是key-value存储的,没有表结构 二、数据库概述    1.什么是记录?   抽取事务一系列典型的特征,组成一条记录,在计算机中描述一个事物,相当于文件中的一行内容,单纯的一行记录没有什么意义,如果我们按逗号作为分割,依次定义各个字段意思,相当于定义了一张表,如图:   这样的话我们就知道具体数据的意思。    2.什么是数据表?   表就和上面的表格一样,下面还可以继续写入其他人的相关信息,最终保存为文件的形式,我们平时就可以理解数据表就是文件。 三、MySQL的安装   1.下载MySQL地址: http://dev.mysql.com/downloads/mysql/   2.解压,如果想要让MySQL安装在指定目录,那么就将解压后的文件夹移动到指定目录,如:D:\mysql-5.6.45-winx64   3.添加环境变量, 【右键计算机