Menu

  • Home
  • Work
    • Cloud
      • Virtualization
      • IaaS
      • PaaS
    • Java
    • Go
    • C
    • C++
    • JavaScript
    • PHP
    • Python
    • Architecture
    • Others
      • Assembly
      • Ruby
      • Perl
      • Lua
      • Rust
      • XML
      • Network
      • IoT
      • GIS
      • Algorithm
      • AI
      • Math
      • RE
      • Graphic
    • OS
      • Linux
      • Windows
      • Mac OS X
    • BigData
    • Database
      • MySQL
      • Oracle
    • Mobile
      • Android
      • IOS
    • Web
      • HTML
      • CSS
  • Life
    • Cooking
    • Travel
    • Gardening
  • Gallery
  • Video
  • Music
  • Essay
  • Home
  • Work
    • Cloud
      • Virtualization
      • IaaS
      • PaaS
    • Java
    • Go
    • C
    • C++
    • JavaScript
    • PHP
    • Python
    • Architecture
    • Others
      • Assembly
      • Ruby
      • Perl
      • Lua
      • Rust
      • XML
      • Network
      • IoT
      • GIS
      • Algorithm
      • AI
      • Math
      • RE
      • Graphic
    • OS
      • Linux
      • Windows
      • Mac OS X
    • BigData
    • Database
      • MySQL
      • Oracle
    • Mobile
      • Android
      • IOS
    • Web
      • HTML
      • CSS
  • Life
    • Cooking
    • Travel
    • Gardening
  • Gallery
  • Video
  • Music
  • Essay

Spring知识集锦

17
Mar
2011

Spring知识集锦

By Alex
/ in Java
/ tags FAQ, Spring
0 Comments
配置
Spring各种注入方式的区别
注入方式  说明 
@Resource 来源:JSR250 (Common Annotations for Java)
注入方式:
  1. 默认byName注入
  2. 通过@Qualifier可以强制 byQualifier。注意:如果byQualifier失败,则自动尝试byName,再次失败则抛出异常
  3. 如果byName失败,则尝试byType
@Inject 来源:JSR330 (Dependency Injection for Java)
注入方式:
  1. 默认byType注入
  2. 通过@Qualifier可以强制 byQualifier
  3. 如果byType注入失败(找不到依赖,或者多个依赖),则尝试byName
@Autowired 来源:Spring私有
注入方式:与@Inject相同
支持required属性,可以配置为false,即使找不到依赖也不会抛出异常
@Qualifier 来源:Spring私有
配合上面注解之一使用,相当于一个分类器,在被依赖的Bean上、依赖字段上同时配置该注解,用于确定其关联性,例如:
Java
1
2
3
4
5
6
7
8
9
10
11
@Service("as")
@Qualifier("default")
public class AService{
 
}
 
public class BService{
    @Resource
    @Qualifier("default")
    private AService aService;
}
Spring事务传播属性
传播属性 说明
PROPAGATION_REQUIRED 支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择  
PROPAGATION_SUPPORTS 支持当前事务,如果当前没有事务,就以非事务方式执行
PROPAGATION_MANDATORY 支持当前事务,如果当前没有事务,就抛出异常
PROPAGATION_REQUIRES_NEW 新建事务,如果当前存在事务,把当前事务挂起(方法结束后此新事务被提交)
PROPAGATION_NOT_SUPPORTED 以非事务方式执行操作,如果当前存在事务,就把当前事务挂起
PROPAGATION_NEVER 以非事务方式执行,如果当前存在事务,则抛出异常
Bean各种Scope的区别
Scope 说明
singleton 默认Scope,这样的Bean在整个IoC容器的生命周期内仅仅有一个实例
prototype 每次向IoC容器请求时,都会得到一个全新的实例
request 仅仅在Web-aware的Application Context中才可用,在一个HTTP请求范围内,只有一个实例
session 仅仅在Web-aware的Application Context中才可用,在一个HTTP会话范围内,只有一个实例
global-session 仅仅在Web-aware的Application Context中才可用,在一个Servlet上下文范围内,只有一个实例
在配置时使用SpringEL

可以在基于XML、注解的配置中使用Spring EL,语法格式:

1
#{ <expression string> }

XML配置示例:

XML
1
2
3
4
5
6
7
8
9
10
11
<!-- 调用静态方法 -->
<bean id="numberGuess" class="org.spring.samples.NumberGuess">
    <property name="randomNumber" value="#{ T(java.lang.Math).random() * 100.0 }"/>
</bean>
 
<!-- 你可以直接引用其它Bean的属性,或者调用其方法:-->
<property name="initialShapeSeed" value="#{ numberGuess.randomNumber }"/>
 
 
<!-- 变量systemProperties是预定义的,你可以通过它访问系统属性 -->
<property name="defaultLocale" value="#{ systemProperties['user.region'] }"/>

注解配置示例:

Java
1
2
3
4
# 访问系统属性
@Value("#{systemProperties['user.country']}")
# 访问环境变量
#{systemEnvironment['DDEPUB_ORDINAL']}
Servlet Listener配置
XML优先
XML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!-- Spring -->
<context-param>
    <param-name>contextClass</param-name>
    <param-value>org.springframework.web.context.support.XmlWebApplicationContext</param-value>
</context-param>
<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:application.xml</param-value>
</context-param>
<listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
 
<!-- Spring MVC-->
<servlet>
    <servlet-name>springmvc</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    <init-param>
        <param-name>contextClass</param-name>
        <param-value>org.springframework.web.context.support.XmlWebApplicationContext</param-value>
    </init-param>
    <init-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath:application-mvc.xml</param-value>
    </init-param>
</servlet>
<servlet-mapping>
    <servlet-name>springmvc</servlet-name>
    <url-pattern>/</url-pattern>
</servlet-mapping>

 即,在web.xml中直接声明XML配置文件的路径,如果需要引入额外的XML配置,可以使用<import>指令:

XML
1
<import resource="core.xml"/>  

 如果要引入额外的JavaConfig类,可以定义Bean:

XML
1
<bean class="cc.gmem.BeanDefinitionRegistrar" /> 
JavaConfig优先
XML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!-- Spring -->
<context-param>
    <param-name>contextClass</param-name>
    <param-value>org.springframework.web.context.support.AnnotationConfigWebApplicationContext</param-value>
</context-param>
<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>cc.gmem.SpringBeanDefinitionRegistrar</param-value>
</context-param>
<listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
 
<!-- Spring MVC-->
<servlet>
    <servlet-name>springmvc</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    <init-param>
        <param-name>contextClass</param-name>
        <param-value>org.springframework.web.context.support.AnnotationConfigWebApplicationContext</param-value>
    </init-param>
    <init-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>cc.gmem.SpringMVCBeanDefinitionRegistrar</param-value>
    </init-param>
</servlet>
 
<servlet-mapping>
    <servlet-name>springmvc</servlet-name>
    <url-pattern>/</url-pattern>
</servlet-mapping>

即,在web.xml中直接声明JavaConfig类的权限定名,如果需要引入额外的XML配置,需要在JavaConfig类中引入: 

Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@Configuration
/* 引入额外的XML配置文件 */
@ImportResource ( "classpath:pems-application.xml" )
public class SpringBeanDefinitionRegistrar
{
 
    /* Auto injected spring context */
    @SuppressWarnings ( "unused" )
    @Inject
    private ApplicationContext applicationContext;
 
    /* 编程式的创建Bean,默认是单例的 */
    @Bean ( name = "helper" )
    public Helper helper()
    {
        Helper helper = new Helper();
        return helper;
    }
 
}
 
@Configuration
/* 引入额外的XML配置文件 */
@ImportResource ( "classpath:pems-application-mvc.xml" )
public class SpringMVCBeanDefinitionRegistrar
{
 
}

JavaConfig方式中,尝试通过XML Bean的方式引入额外的JavaConfig类,会出现问题(3.1.2版本的Spring),行为不符合预期。

资源路径URL
格式 含义
classpath*:conf/appCtx.xml 类路径下所有的JAR中的conf/appCtx.xml并合并为一个上下文
classpath:conf/appCtx.xml 仅仅使用第一个找到的conf/appCtx.xml
常见问题
@PostConstruct相关
事务处理

即使合理配置了Hibernate Session Factory、TransactionManager,在@PostConstruct方法上也加了事务配置(@Transactional),依旧无法进行数据库操作,报错:No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

原因:在此(InitializingBean.afterPropertiesSet )阶段,无法保证所有PostProcessors 完成其工作

解决:有两种方案:

  1. 注册 ContextRefreshedEvent 的监听器,在监听方法里,可以确保事务机制可用
  2. 在@PostConstruct方法里面使用TransactionTemplate,例如:
    Java
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    private PlatformTransactionManager transactionManager;
    @PostConstruct
    public void init() throws Throwable
    {
        TransactionTemplate tt = new TransactionTemplate( transactionManager);
        tt.execute( new TransactionCallback<Object>() {
     
            @SuppressWarnings ( "unchecked" )
            public Object doInTransaction( TransactionStatus status )
            {
                List<User> = userService.getAllUsers();
                return null;
            }
        } );
    }
实例变量注入失败

如果@Configurable无法在构造器里面使用注入的实例变量的问题,是因为默认情况下,仅在构造器执行完毕后Spring才进行依赖注入,要改变此行为,可以配置: @Configurable(preConstruction=true) 

动态注册Bean
基于BeanFactory后处理机制

下面是一个动态注册Hibernate SessionFactory的例子:

Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ctx = new GenericApplicationContext();
   ctx.addBeanFactoryPostProcessor( new BeanFactoryPostProcessor() {
      @Override
      public void postProcessBeanFactory( ConfigurableListableBeanFactory bf ) throws BeansException
      {
          DefaultListableBeanFactory beanFactory = (DefaultListableBeanFactory) bf;
          beanFactory.registerSingleton( "memDS", memDS );
          BeanDefinitionBuilder sffbBeanDefBuilder = BeanDefinitionBuilder
                  .rootBeanDefinition( TestHibernate3LocalSessionFactoryBean.class );
          sffbBeanDefBuilder.addPropertyReference( "dataSource", "memDS" );
          Properties hprops = new Properties();
          hprops.setProperty( "hibernate.dialect", "org.hibernate.dialect.HSQLDialect" );
          hprops.setProperty( "hibernate.jdbc.batch_size", "20" );
          hprops.setProperty( "hibernate.show_sql", "true" );
          hprops.setProperty( "hibernate.format_sql", "false" );
          hprops.setProperty( "hibernate.generate_statistics", "true" );
          hprops.setProperty( "hibernate.default_entity_mode", "dom4j" );
          hprops.setProperty( "hibernate.transaction.factory_class", "org.hibernate.transaction.JDBCTransactionFactory" );
          hprops.setProperty( "hibernate.current_session_context_class",
                  "org.springframework.orm.hibernate3.SpringSessionContext" );
          hprops.setProperty( "hibernate.default_entity_mode", "dom4j" );
          sffbBeanDefBuilder.addPropertyValue( "hibernateProperties", hprops );
          beanFactory.registerBeanDefinition( "sessionFactory", sffbBeanDefBuilder.getBeanDefinition() );
      }
  } );
ctx.refresh();
运行时注册

下面是运行时获取beanFactory引用,并注册任意Bean的例子:

Java
1
2
3
4
5
6
BeanDefinitionBuilder builder = BeanDefinitionBuilder.rootBeanDefinition("cc.gmem.ClassQName");
builder.addPropertyReference("refProp", "refBeanId");
builder.addPropertyValue("prop", object);
BeanDefinitionRegistry registry  = (BeanDefinitionRegistry)this.beanFactory;
registry.registerBeanDefinition("myNewBean", builder.getBeanDefinition());  
registry.removeBeanDefinition("myNewBean");
如何集成Junit

参考下例:

Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import java.util.List;
 
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.hibernate.classic.Session;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.transaction.TransactionConfiguration;
import org.springframework.transaction.annotation.Transactional;
/*设置单元测试运行类*/
@RunWith ( SpringJUnit4ClassRunner.class )
/*加载Spring配置文件*/
@ContextConfiguration ( { "/applicationContext.xml" } )
/*事务配置,defaultRollback 表示是否强制回滚事务 */
@TransactionConfiguration ( transactionManager = "txManager", defaultRollback = false )
public class HibernateTest
{
    private static final Logger LOGGER = LoggerFactory.getLogger( HibernateTest.class );
 
    @Test
    @Transactional
    public void testPolymorphicHqlQuery()
    {
        String hql = "from AbstractDevice ad where ad.status = 1";
        Session sess = Env.get( SessionFactory.class ).getCurrentSession();
        Query q = sess.createQuery( hql );
        @SuppressWarnings ( "unchecked" )
        List ads = q.list();
        for ( AbstractDevice ad : ads )
        {
            LOGGER.debug( ad.toString() );
        }
    }
}
Spring 4.0问题
找不到类org.springframework.cache.ehcache.EhCacheCacheManager

添加依赖:

XML
1
2
3
4
5
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context-support</artifactId>
    <version>${spring.version}</version>
</dependency>
编写Lambda导致无法启动

报错信息:Exiting with throwable: java.lang.IllegalArgumentException: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:]; nested exception is java.lang.ArrayIndexOutOfBoundsException: 51880

原因:Spring 3.x无法支持Java8的Lambda,需要升级到Spring 4.x

零散问题
spring-web版本错误导致: java.lang.NoSuchFieldError: NULL

原因:Maven传递依赖 cxf-rt-transports-http -> spring-web-3.0.6,导致本来应该用的3.1.2被覆盖
解决:排除传递性依赖

Spring注解方式报错:conflicts with existing, non-compatible bean definition of same name and class
原因:扫描目录包含@Configuration所在的包
解决:排除扫描@Configuration类,参考如下:
XHTML
1
2
<context:component-scan base-package="cc.gmem.demo">
    <context:exclude-filter type="annotation" expression="org.springframework.context.annotation.Configuration" />
Spring AOP,如何指定通知的执行顺序

在Advice类上添加注解:数字越小,越先执行,例如:@Order(1)

Spring AOP,通知不执行的问题

Spring AOP具有以下缺点:

  1. 无法对通知类进行通知
  2. 目标对象调用自身的方法,则该方法上的通知不被执行(无法感知)——这是动态代理机制的本身特点决定的

解决方法:

  1. 避免被代理对象的自我调用
  2. 使用AopContext.currentProxy() 得到当前对象的代理,对代理调用被通知方法,注意,使用currentProxy时,应使用getter/setter,避免直接访问字段。需要配置:
    XHTML
    1
    2
    3
    4
    <!—基于AspectJ注解风格的Spring AOP事务配置-->
    <aop:aspectj-autoproxy expose-proxy="true"/>
    <!—基于XML的声明式事务配置-->
    <aop:config expose-proxy="true">
如何定义AspectJ风格的AOP切面

Spring配置文件的例子:使用Spring AOP,结合AspectJ风格的切面声明

基于AspectJ注解的切面类的例子:

Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@Aspect //加这个注解表示为通知类
@Component
public class LoggerPointcutsDefinition    //切入点定义
{
    //注意:Spring AOP支持AspectJ切入点的子集
    @Pointcut ( "@annotation(cc.gmem.mgr.common.aop.AutoLogError)" )
    public void inServiceLayer(){}
}
 
@Aspect
@Component
public class LoggerAdvice                  //通知定义
{
    private static final Logger LOGGER = LoggerFactory.getLogger( LoggerAdvice.class );
    @AfterThrowing ( value = "cc.gmem.mgr.common.aop.LoggerPointcutsDefinition.inServiceLayer()", throwing = "t" )
    public void logError( Throwable t ) {
        LOGGER.error( t.getMessage(), t );
    }
}
FactoryBean的用法

FactoryBean接口包含方法: getObject() 
调用applicationContext.getBean("factoryBean"),得到的是factoryBean.getObject()方法的返回值。如果Bean是单例的,那么只会调用getObject()一次。
如果想得到FactoryBean本身,需要调用applicationContext.getBean("&factoryBean")

如何导入(import)位于Jar中的配置文件
XHTML
1
<import resource="classpath:spring-config.xml" /> 
← Linux内核学习笔记(五)
GNU Make学习笔记 →

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Related Posts

  • Dom4j知识集锦
  • Axis知识集锦
  • Tomcat知识集锦
  • Spring对JMS的支持
  • Hibernate知识集锦

Recent Posts

  • Investigating and Solving the Issue of Failed Certificate Request with ZeroSSL and Cert-Manager
  • A Comprehensive Study of Kotlin for Java Developers
  • 背诵营笔记
  • 利用LangChain和语言模型交互
  • 享学营笔记
ABOUT ME

汪震 | Alex Wong

江苏淮安人,现居北京。目前供职于腾讯云,专注容器方向。

GitHub:gmemcc

Git:git.gmem.cc

Email:gmemjunk@gmem.cc@me.com

ABOUT GMEM

绿色记忆是我的个人网站,域名gmem.cc中G是Green的简写,MEM是Memory的简写,CC则是我的小天使彩彩名字的简写。

我在这里记录自己的工作与生活,同时和大家分享一些编程方面的知识。

GMEM HISTORY
v2.00:微风
v1.03:单车旅行
v1.02:夏日版
v1.01:未完成
v0.10:彩虹天堂
v0.01:阳光海岸
MIRROR INFO
Meta
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Recent Posts
  • Investigating and Solving the Issue of Failed Certificate Request with ZeroSSL and Cert-Manager
    In this blog post, I will walk ...
  • A Comprehensive Study of Kotlin for Java Developers
    Introduction Purpose of the Study Understanding the Mo ...
  • 背诵营笔记
    Day 1 Find Your Greatness 原文 Greatness. It’s just ...
  • 利用LangChain和语言模型交互
    LangChain是什么 从名字上可以看出来,LangChain可以用来构建自然语言处理能力的链条。它是一个库 ...
  • 享学营笔记
    Unit 1 At home Lesson 1 In the ...
  • K8S集群跨云迁移
    要将K8S集群从一个云服务商迁移到另外一个,需要解决以下问题: 各种K8S资源的迁移 工作负载所挂载的数 ...
  • Terraform快速参考
    简介 Terraform用于实现基础设施即代码(infrastructure as code)—— 通过代码( ...
  • 草缸2021
    经过四个多月的努力,我的小小荷兰景到达极致了状态。

  • 编写Kubernetes风格的APIServer
    背景 前段时间接到一个需求做一个工具,工具将在K8S中运行。需求很适合用控制器模式实现,很自然的就基于kube ...
  • 记录一次KeyDB缓慢的定位过程
    环境说明 运行环境 这个问题出现在一套搭建在虚拟机上的Kubernetes 1.18集群上。集群有三个节点: ...
  • eBPF学习笔记
    简介 BPF,即Berkeley Packet Filter,是一个古老的网络封包过滤机制。它允许从用户空间注 ...
  • IPVS模式下ClusterIP泄露宿主机端口的问题
    问题 在一个启用了IPVS模式kube-proxy的K8S集群中,运行着一个Docker Registry服务 ...
  • 念爷爷
      今天是爷爷的头七,十二月七日、阴历十月廿三中午,老人家与世长辞。   九月初,回家看望刚动完手术的爸爸,发

  • 6 杨梅坑

  • liuhuashan
    深圳人才公园的网红景点 —— 流花山

  • 1 2020年10月拈花湾

  • 内核缺陷触发的NodePort服务63秒延迟问题
    现象 我们有一个新创建的TKE 1.3.0集群,使用基于Galaxy + Flannel(VXLAN模式)的容 ...
  • Galaxy学习笔记
    简介 Galaxy是TKEStack的一个网络组件,支持为TKE集群提供Overlay/Underlay容器网 ...
TOPLINKS
  • Zitahli's blue 91 people like this
  • 梦中的婚礼 64 people like this
  • 汪静好 61 people like this
  • 那年我一岁 36 people like this
  • 为了爱 28 people like this
  • 小绿彩 26 people like this
  • 彩虹姐姐的笑脸 24 people like this
  • 杨梅坑 6 people like this
  • 亚龙湾之旅 1 people like this
  • 汪昌博 people like this
  • 2013年11月香山 10 people like this
  • 2013年7月秦皇岛 6 people like this
  • 2013年6月蓟县盘山 5 people like this
  • 2013年2月梅花山 2 people like this
  • 2013年淮阴自贡迎春灯会 3 people like this
  • 2012年镇江金山游 1 people like this
  • 2012年徽杭古道 9 people like this
  • 2011年清明节后扬州行 1 people like this
  • 2008年十一云龙公园 5 people like this
  • 2008年之秋忆 7 people like this
  • 老照片 13 people like this
  • 火一样的六月 16 people like this
  • 发黄的相片 3 people like this
  • Cesium学习笔记 90 people like this
  • IntelliJ IDEA知识集锦 59 people like this
  • 基于Kurento搭建WebRTC服务器 38 people like this
  • Bazel学习笔记 37 people like this
  • PhoneGap学习笔记 32 people like this
  • NaCl学习笔记 32 people like this
  • 使用Oracle Java Mission Control监控JVM运行状态 29 people like this
  • Ceph学习笔记 27 people like this
  • 基于Calico的CNI 27 people like this
Tag Cloud
ActiveMQ AspectJ CDT Ceph Chrome CNI Command Cordova Coroutine CXF Cygwin DNS Docker eBPF Eclipse ExtJS F7 FAQ Groovy Hibernate HTTP IntelliJ IO编程 IPVS JacksonJSON JMS JSON JVM K8S kernel LB libvirt Linux知识 Linux编程 LOG Maven MinGW Mock Monitoring Multimedia MVC MySQL netfs Netty Nginx NIO Node.js NoSQL Oracle PDT PHP Redis RPC Scheduler ServiceMesh SNMP Spring SSL svn Tomcat TSDB Ubuntu WebGL WebRTC WebService WebSocket wxWidgets XDebug XML XPath XRM ZooKeeper 亚龙湾 单元测试 学习笔记 实时处理 并发编程 彩姐 性能剖析 性能调优 文本处理 新特性 架构模式 系统编程 网络编程 视频监控 设计模式 远程调试 配置文件 齐塔莉
Recent Comments
  • qg on Istio中的透明代理问题
  • heao on 基于本地gRPC的Go插件系统
  • 黄豆豆 on Ginkgo学习笔记
  • cloud on OpenStack学习笔记
  • 5dragoncon on Cilium学习笔记
  • Archeb on 重温iptables
  • C/C++编程:WebSocketpp(Linux + Clion + boostAsio) – 源码巴士 on 基于C/C++的WebSocket库
  • jerbin on eBPF学习笔记
  • point on Istio中的透明代理问题
  • G on Istio中的透明代理问题
  • 绿色记忆:Go语言单元测试和仿冒 on Ginkgo学习笔记
  • point on Istio中的透明代理问题
  • 【Maven】maven插件开发实战 – IT汇 on Maven插件开发
  • chenlx on eBPF学习笔记
  • Alex on eBPF学习笔记
  • CFC4N on eBPF学习笔记
  • 李运田 on 念爷爷
  • yongman on 记录一次KeyDB缓慢的定位过程
  • Alex on Istio中的透明代理问题
  • will on Istio中的透明代理问题
  • will on Istio中的透明代理问题
  • haolipeng on 基于本地gRPC的Go插件系统
  • 吴杰 on 基于C/C++的WebSocket库
©2005-2025 Gmem.cc | Powered by WordPress | 京ICP备18007345号-2