sofa-bolt icon indicating copy to clipboard operation
sofa-bolt copied to clipboard

SOFABolt is a lightweight, easy to use and high performance remoting framework based on Netty.

Results 50 sofa-bolt issues
Sort by recently updated
recently updated
newest added

**describe** Hessian serialize() method uses [toByteArray](https://github.com/sofastack/sofa-bolt/blob/2e9007ff92195e1d838caa15a425ed13be6ff35d/src/main/java/com/alipay/remoting/serialization/HessianSerializer.java#L53) will copy a new byte array every time. **memory optimization** use ThreadLocal variable will reuse the memory for every thread,it will reduce memory allocation...

Fix #299 - Add copyright file and codestyle for develop

cla:yes
First-time contributor
size/L

**Is your feature request related to a problem? Please describe.** need a copyright component and sofa-bolt codestyle for this project. Facilitate contributors' participation in the project **Describe the solution you'd...

### question In DefaultConnectionManager.java , "Executor asyncCreateConnectionExecutor" is created for lazily initializing connections concomitantly, for using the threads in thread pool named "asyncCreateConnectionExecutor", but the code in file can't work...

### Your question 我自己写了deom,没问题,但是我引入到我的项目的时候起服报下面的错误。 Sofa-Middleware-Log SLF4J : Actual binding is of type [ com.alipay.remoting Log4j2 ] 2022-01-12 19:52:47,323 main ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig for element...

### Your question 做为图片服务,上传图片有时会报如下异常,导致上传失败。在什么情况下会导致这种异常发生? Caused by: com.alipay.remoting.exception.RemotingException: Check connection failed for address: Origin url [bolt://X.X.X.X:20113?accepts=100000&appNam e=oss-provider&weight=100&language=java&pid=24729&interface=com.test.StorageFacade&timeout=0&serialization=hessian2&protocol=bolt&delay= -1&dynamic=true&startTime=1611211023168&id=storageService&uniqueId=&rpcVer=50501], Unique key [x.x.x.x:20113]., maybe write overflow! describe your question clearly ### Your scenes...

**Describe the bug** During an empirical study to understand the nature of cryptographic misuses in enterprise-driven projects on GitHub, we randomly inspected a few of the misuses. One of the...

**Describe the bug** https://github.com/sofastack/sofa-bolt/blob/master/src/main/java/com/alipay/remoting/connection/AbstractConnectionFactory.java#L321 这个 option 应该是全局的,每次建连时设置会被覆盖,所以建连超时设置不一定有效 下面的 future 或许应该加上等待超时的参数,比如下面这个截图,入参 connectTimeout 为 100ms,但是建连时间仍然消耗了 1s ![image](https://user-images.githubusercontent.com/3860496/162948673-56cee90a-1579-48ef-b9be-1cf8a34998a8.png) 版本 1.6.4 ### Expected behavior ### Actual behavior ### Steps to reproduce ### Minimal yet...

help wanted

在com.alipay.remoting.DefaultConnectionManager#getConnectionPoolAndCreateIfAbsent方法中: RunStateRecordedFutureTask initialTask; initialTask是FutureTask类型,为什么直接用run方法执行? 还有 initialTask = this.connTasks.get(poolKey); 如果非空直接跳到 pool = initialTask.get(); 不会一直阻塞吗?