简单使用 Jedis两种连接方式 1、Jedis直连(每次使用需要new jedis对象) 2、Jedis连接池(当我们需要对Redis操作时,只需要从Jedis连接池里去借用,不需要时还回来) 方案对比