Commit Graph
51 Commits
Author SHA1 Message Date
koo.taejin 3243c8491c Optimize udp efficiency.
1. create span stream protocol
2. change udp socket to datagram channel
3. reuse send buffer by gathering channel
2015-04-28 16:31:05 +09:00
kr14910 fa5f449356 Improve state synchronization between server and client.
inclue socket's info in ping packet.
2015-03-25 17:31:14 +09:00
kr14910 beeb412647 Improve state synchronization between server and client. #136
1. Integrate SocketState class into PinpointSocketHandler.
2015-03-10 09:46:05 +09:00
Woonduk Kang 1e644184c8 code cleanup
- remove deprecated api. junit.framework.Assert -> org.junit.Assert;
 - fix klocwork : NullPointer dereference
2015-03-05 17:05:30 +09:00
kr14910 34558cc06b [NO Isssue] cleanup test. 2015-03-05 11:19:28 +09:00
kr14910 65eee884cb Improve state synchronization between server and client. #136
1. Create common SocketState class. 
 (It allows us to cehck socket status between each other more
precisely.)
2. Integrate SocketState class into PinpointServerSocket.
2015-03-03 17:31:19 +09:00
kr14910 ef45fa59cf Improve state synchronization between server and client. #136
WritablePinpointServer -> PinpointServer
PinpointServer -> DefaultPinpointServer
2015-02-16 14:37:00 +09:00
kr14910 df87df58c2 Improve state synchronization between server and client. #136
Divide PinpointServerSocket into PinpointServerAcceptor and
PinpointServer.
2015-02-12 17:36:43 +09:00
Woonduk Kang 5be3de2717 #136 Improve state synchronization between server and client.
- code review
2015-02-11 11:26:20 +09:00
kr14910 6a0a4e46e8 Improve state synchronization between server and client. #136
Use netty's channelConnected method instead of SocketHandler's open
method. 
(Netty manage channel's lifecycle. So we can manage
PinpointSocketHandler state more precisely.)
2015-02-11 10:40:44 +09:00
kr14910 69bc273a26 Timer thread leak when client reconnect to server. #140
Modifications:

- execute releaseResource method everytime when channelClosed method
executed.
2015-01-27 17:30:50 +09:00
Woonduk Kang 342491b44e update copy right 2015-01-21 11:55:01 +09:00
kr14910 ddb922ff75 no issue pinpoint rpc test cleanup. 2015-01-20 15:25:54 +09:00
kr14910 13f28b4a00 1. changed return type of change state code method from boolean to
PinpointServerSocketStateCode.
2. cleand up PinpointServerSocket class. (Channel's event. )
3. RUN_SIMPLEX state added to PinpointServerSocketStateCode.
2015-01-19 11:39:07 +09:00
kr14910 eaa1486724 Spllit socket class according to purpose.( initialization and
transportation)
2015-01-12 18:22:53 +09:00
kr14910 955e877d70 #82 Allow multiple channel state change event listeners to be attached
to PinpointServerSocket 

1. Allow multiple channel state change event listeners to be attached to
PinpointServerSocket
2. Changed class name (SocketChannelStateChangeEventListener ->
ChannelStateChangeEventListener)
3. Added exceptionCaught method in ChannelStateChangeEventHandler class.
2015-01-08 15:18:30 +09:00
Woonduk Kang 1777058a9e fix indent tab to space 2015-01-02 20:51:53 +09:00
Woonduk Kang 15ce91bcf1 fix code style
- intellij code inspection
2015-01-02 19:27:55 +09:00
Sungkwan Kim 2dcea56b84 modified comments in English 2014-12-31 17:58:33 +09:00
Sungkwan Kim 635790b609 modified comments in English 2014-12-31 13:50:17 +09:00
Woonduk Kang 8ef1019c84 remove bad performance api, fix Interrupt state 2014-12-30 14:14:58 +09:00
Sungkwan Kim ebce23323f modified comments in English 2014-12-29 18:21:24 +09:00
kr14910 26019d7e4e cleaned up log format and properties comment in quickstart. 2014-12-29 16:18:22 +09:00
Sungkwan Kim a70bf4535c modified comments in English 2014-12-28 18:09:13 +09:00
Woonduk Kang 3ea3d9f6e1 modified @author koo.taejin 2014-12-26 18:13:13 +09:00
Woonduk Kang e2e81b469a add copyright 2014-12-24 19:51:44 +09:00
Woonduk Kang c10c055fc1 #119 code clean-up
- klocwork : fix empty catch block
2014-12-19 17:03:23 +09:00
Woonduk Kang 6246b265b3 #119 code clean-up
- findbug, pmd, klocwork warning
2014-12-18 11:51:50 +09:00
Woonduk Kang fb3b0ad239 #119 code clean-up
- findbug, pmd, klocwork warning
2014-12-18 11:45:16 +09:00
koo-taejin 55dc8c379f [# no issue] fix pmd and findbug warning. 2014-12-18 11:00:59 +09:00
Jongho Moon 52ba156a18 [#115] Changed package name from com.nhn.* to com.navercorp.*
Changed maven artifact group id from com.nhn.pinpoint to
com.navercorp.pinpoint
2014-12-09 14:48:19 +09:00
Jongho Moon 3e79d2d6fb [#103] Removed unused files.
Deleted ip addresses in configuration files.
2014-12-05 14:37:30 +09:00
koo-taejin bb93b958ff #11 added ClassUtils license. 2014-12-01 16:49:07 +09:00
koo-taejin 7518049d9c #22 feature: Allow stream data transfer in pinpointsocket.
changed parameter type of ServerStreamChannelMessageListener's method.
(StreamChannelContext -> ServerStreamChannelContext)

changed parameter type of ClientStreamChannelMessageListener's method.
(StreamChannelContext -> ClientStreamChannelContext)
2014-11-28 11:41:24 +09:00
koo-taejin 1a0a01eb55 [#81] changed class name and method name.
1. Changed class name and method name.(HandShake -> Handshake)
2. added log for handshake.
2014-11-26 15:47:56 +09:00
koo-taejin eb17ce66ae #81. always added agent's identity to channel
1. cleaned up duplicate code.
2014-11-26 10:08:35 +09:00
koo-taejin c1e8dd4eae #81. always added agent's identity to channel
changed pinpointsocket packet name. (enableWorker -> handShake,
enableWorkerConfirm -> handShakeResponse)
changed pinpointsocket handshake rule. (when support server mode ->
always)
changed pinpointsocket handshake default retry count. (3 ->
Integer.MAX_VALUE)
added subCode property to HandShakeResponse.
2014-11-25 17:18:23 +09:00
Woonduk Kang a8ef232f96 #22 fix NullPointerException, remove tab 2014-11-20 17:45:58 +09:00
koo-taejin 69eb31ad73 #22 Cluster간 Stream 기능 고안 및 개발
1. 테스트 수정
2014-10-17 16:24:28 +09:00
koo-taejin a4c0ee3e69 #22 Cluster간 Stream 기능 고안 및 개발
1. PinpointSocket에서 StreamChannel가져올수 있게 함
(반드시 id가 필요하면 아직 모든 Context가 필요한건 피료성을 느끼지 못해 지원하지 않음)

2. 테스트 보강
2014-10-17 16:03:49 +09:00
koo-taejin 284bc433d1 #22 Cluster간 Stream 기능 고안 및 개발
1. 이전에 사용하던 StreamChannel 관련 코드 제거 및 신규 StreamChannel로 변경
2. MessageListener에서 StreamChnnel 관련 처리를 분리 
3. PinpointSocketFactory의 인터페이스 변경 
4. 단순 테스트 코드 수정
2014-10-17 11:56:31 +09:00
koo-taejin 3b69a38bf4 #22 Cluster간 Stream 기능 고안 및 개발
1. StreamChannel 관련되어서 stream 패키지 생성 및 신규 개발
2014-10-16 10:44:01 +09:00
koo-taejin 6ea06f5a44 #22 Cluster간 Stream 기능 고안 및 개발
1. StreamPacket 이름 변경
 (Data -> Response)
 
2. Log 강화
2014-10-15 15:50:27 +09:00
Woonduk Kang 1f9aaad203 [#26] fix multithread correctness 2014-10-14 13:56:29 +09:00
Woonduk Kang 23fcb9eda8 [#26] fix UnusedImports 2014-10-14 13:30:31 +09:00
koo-taejin 0bb3675068 #22 Cluster간 Stream 기능 고안 및 개발
1. StreamPacket 추가 및 패키지명 변경
 이전 : create, createSuccess, createFail, response, close 
 현재 : create, createSuccess, createFail, data, close, ping, pong
 
2. MessageListener method 변경
 이전 : handleResponse, handleClose
 현재 : handleCreate, handleData, handleClose
 
위 변경에 따른 연관 코드 수정
2014-10-08 17:04:54 +09:00
koo-taejin 4098c78f4d #20 collector.l4.ip 설정을 하지 않을 경우 LocalAddress(127.0.0.1)가 포함되는 것 수정
1. 수정
2. l4.ip는 메시지수신을 받지 않게 변경
3. 테스트 수정
2014-09-30 16:50:00 +09:00
koo-taejin 10de1691fe #5 Pinpoint 클러스터 개발
1. Zookeepr 저장방식 변경 및 기능 보강 
 이전 :    
  /pinpoint-cluster/profiler/applicationName/agentId/collector-uniqId
  end node data = profiler properties
 이후 : 
  /pinpoint-cluster/collector/server/collector-uniqId
  end node data = applicationName_agentId_startTimeStampe

2. 단순 테스트를 할수 있는 Echo Controller 추가

3. 테스트 코드 보강
2014-09-30 15:53:08 +09:00
Jaehong Kim 8aad79ba89 Merge branch 'master' of http://yobi.navercorp.com/pinpoint/pinpoint
Conflicts:
	bootstrap/src/main/java/com/nhn/pinpoint/bootstrap/config/ProfilerConfig.java
	bootstrap/src/main/java/com/nhn/pinpoint/bootstrap/interceptor/InterceptorRegistry.java
	profiler/src/main/java/com/nhn/pinpoint/profiler/modifier/DefaultModifierRegistry.java
	testweb/src/main/resources/applicationContext-testweb.xml
2014-09-24 19:36:23 +09:00
Woonduk Kang 3b17dc6f90 code cleanup : remove deprecated testcase, remove Sys.out 2014-09-24 18:06:05 +09:00