Commit Graph

42 Commits (84a1f90a9a87a633ff5a616bd39d26700589157a)

Author SHA1 Message Date
YuQing b1f3c7894e add functions short2HEX, int2HEX, long2HEX 2025-08-08 21:49:43 +08:00
YuQing 558670bc63 performance opt.: replace sprintf as necessary 2025-08-04 17:34:57 +08:00
YuQing cf16c41054 src/connection_pool.[hc]: restore pthread mutex lock 2025-08-03 15:18:23 +08:00
YuQing 9acc202481 connection_pool.[hc]: use CAS instead of pthread mutex lock 2025-08-02 19:16:03 +08:00
YuQing 13fc696432 conn_pool_get_connection_ex add parameter: shared 2025-01-27 10:55:26 +08:00
YuQing 8a97e84e1c connection pool performance optimization 2024-09-22 12:19:50 +08:00
YuQing dd77da144f field socket_domain rename to af 2023-11-29 18:35:00 +08:00
YuQing 7018f4e337
Merge branch 'master' into master 2023-11-23 08:53:07 +08:00
YuQing 6843acb456 add RDMA callback set_busy_polling 2023-11-18 10:40:37 +08:00
sunqiangwei1988 718906e477 Added: 增加IPv6支持
1、将IP_ADDRESS_SIZE的值由16修改为INET6_ADDRSTRLEN(46)。
2、新定义in_addr_64结构体替换in_addr结构体,以支持IPv6地址长度。
3、将connection_pool相关文件的socket_domain预设值由AF_INET修改为AF_UNSPEC。
4、增加IPv6的本地回环地址判断。
5、新增从字符串中解析IP地址和端口号方法(支持IPv4和IPv6)。
6、sockopt增加IPv6的支持
2023-11-02 10:13:42 +08:00
YuQing 61e07a4c0f add RDMA callbacks: send_done post_recv 2023-09-28 22:19:30 +08:00
YuQing 6151ea721b function conn_pool_set_rdma_extra_params_ex support double_buffers 2023-09-27 11:36:29 +08:00
YuQing 255defa788 rdma callback get_buffer rename to get_recv_buffer 2023-09-27 11:22:37 +08:00
YuQing 2e176a9d1b send_by_buf1 and recv_data callback for rdma 2023-09-24 14:32:42 +08:00
YuQing e0b93756ab add functions: fc_server_[close|destroy]_connection 2023-09-23 11:06:56 +08:00
YuQing e0bbe89d23 connection_pool.[hc] support thread local for performance 2023-09-20 07:40:14 +08:00
YuQing db49d54a37 conn_pool_alloc_connection impl. 2023-09-12 16:01:29 +08:00
YuQing c9687df03a ConnectionCallbacks struct changed 2023-09-12 07:53:34 +08:00
YuQing d24023aee7 function fc_alloc_rdma_pd impl. 2023-09-11 11:32:32 +08:00
YuQing 5139ec4682 connection_pool.[hc] support callbacks for RDMA 2023-09-10 20:54:24 +08:00
YuQing bc3a65ee19 add function fc_server_get_group_by_index 2023-09-07 09:34:45 +08:00
YuQing 44f827f291 server_id_func.[hc]: support communication type 2023-09-06 17:24:44 +08:00
YuQing d5f6a192a5 type define for RDMA network 2023-09-04 08:51:35 +08:00
YuQing 1f83e66306 add function conn_pool_get_connection_ex to support service name 2022-05-08 11:26:17 +08:00
YuQing 630a6a2af6 add function conn_pool_connect_server_ex1 to support service name 2022-05-07 16:53:02 +08:00
YuQing 1d1a766c70 process_restart more gracefully 2021-06-04 17:56:02 +08:00
YuQing 56a5ac4f92 modify license to LGPLv3 and copyright 2020-10-14 11:03:46 +08:00
YuQing 082a322f3d change port type to uint16_t 2020-09-27 08:46:46 +08:00
YuQing 130d7fe110 add func conn_pool_compare_ip_and_port 2020-09-08 09:06:26 +08:00
YuQing a749b84ce2 sockopt.[hc]: add function asyncconnectserverbyip 2020-09-06 18:49:15 +08:00
YuQing e4a5cadfe1 connection info support extra data 2020-04-26 20:19:46 +08:00
YuQing c8bf9f24ef connection_pool support validate connection on error 2020-04-26 11:12:52 +08:00
YuQing 81e6455819 add tests/test_server_id_func.c 2020-02-15 20:55:57 +08:00
YuQing 938a6a7fac modify website name 2019-11-23 10:03:54 +08:00
YuQing 325946a3be add function conn_pool_set_server_info 2019-10-12 10:59:08 +08:00
YuQing 9534dfba56 change function conn_pool_connect_server_ex 2019-10-08 09:39:05 +08:00
YuQing 69463768ea add function conn_pool_connect_server_ex 2019-09-30 21:22:19 +08:00
yuqing 74e00bb244 add function conn_pool_parse_server_info and conn_pool_load_server_info 2018-08-14 17:44:55 +08:00
yuqing 6682b9842e conn_pool_init compatable 2016-05-18 11:18:15 +08:00
yuqing 3eb39e834c connect by ip and connection pool support ipv6 2016-05-18 10:40:36 +08:00
yuqing d442ed9176 add comments for connection pool 2014-09-03 10:18:31 +08:00
yuqing d168878643 add connection pool 2014-06-17 09:47:04 +08:00