cleverpig

Results 18 comments of cleverpig

the simplest way: create a script startup mysql at first and then start my app.

> > > Apache HTTPClient GMSSL Example: > > > ```java > > > import org.apache.http.HttpResponse; > > > import org.apache.http.client.HttpClient; > > > import org.apache.http.client.methods.HttpGet; > > > import...

槽点确认!Postgres、MYSQL作为存储端都存在连接上的通病

"当前hugegraph中,是否存在连接没有关闭的情况?"——关闭有close方法,就是不知道在哪里调用。可以看一下mysql模块的源码,十个类很简洁。 我对这个问题的看法:没有实现真正的连接池管理,只是在线程与connection之间做了个所谓的session绑定。所以当请求挤压时,线程和连接都会暴增,直到内存爆破。 个人建议:官方团队应当考虑引入第三方成熟的connection pool,而没必要重新发明轮子。

> Run command prompt as an Administrator and enable test signing to install > c:>bcdedit /set testsigning on It doesn't work

I added: createPool method ``` public static KeyedObjectPool createPool() { return new GenericKeyedObjectPool(new MBeanServerConnectionFactory()); } ```

I'd fixed one of example Graphite2.java and show it: ``` public class Graphite2 { private static final String GW_HOST = "gw"; private static Logger LOG= LoggerFactory.getLogger(Graphite2.class); public static KeyedObjectPool createPool()...

any idea if there are plans to fix this? keep watching.