At 15:40 the code shown in line 52 has 'template.setConnectionFactory(jedisConnectionFactory());' You don't want to do that with Spring. If one is declaring a Spring bean of type 'JedisConnectionFactory' is better to pass it as collaborator of the method. @Bean RedisTemplate redisTemplate(JedisConnectionFactory jConnectionFactory) { RedisTemplate template = new RedisTemplate(); template.setConnectionFactory(jConnectionFactory) // ... } Josh Long can explain you more about why the way shown in the video works but is not recommended.
Thanks Josh Long (@starbuxman) and special guest star Brian Sam-Bodden (@bsbodden) for this great video. I typed all the codes in the last example and upon running the app, I kept getting the ERR Protocol error: unauthenticated multibulk length. I reduced the number of Articles and Authors, but the error persisted. Given that this is a limitation in Redis itself which doesn't allow a multi bulk arg larger than 1024*1024 in length, how did you guys work around it so as to avoid the error or how do you handle this error as per the example in video?
When saving the 2500 articles, is it right that we save one at a time @ 19:35 , or we should save all at once as in jpa. Does Redis have speed disparities on the two.
Does @Cacheable work using an asynchronous non-blocking call to the Redis CacheManager? Is it possible to get a CacheManager that will allow for async' Redis operations? Thanks
How can I contribute to create videos in your channel? I have 12 years experience working with Spring and made good projects that one might be interested to learn.
Thanks for sharing. Good stuff.
Pretty cool, thanks for the video~~~~
Great stuff, really enjoy your videos Josh! 🚀
Could you make the IDE use all the screen estate in next videos (no thick green/red border)? Thank you very much for the video.
At 15:40 the code shown in line 52 has
'template.setConnectionFactory(jedisConnectionFactory());'
You don't want to do that with Spring. If one is declaring a Spring bean of type 'JedisConnectionFactory' is better to pass it as collaborator of the method.
@Bean
RedisTemplate redisTemplate(JedisConnectionFactory jConnectionFactory) {
RedisTemplate template = new RedisTemplate();
template.setConnectionFactory(jConnectionFactory)
// ...
}
Josh Long can explain you more about why the way shown in the video works but is not recommended.
Thanks Josh Long (@starbuxman) and special guest star Brian Sam-Bodden (@bsbodden) for this great video. I typed all the codes in the last example and upon running the app, I kept getting the ERR Protocol error: unauthenticated multibulk length. I reduced the number of Articles and Authors, but the error persisted.
Given that this is a limitation in Redis itself which doesn't allow a multi bulk arg larger than 1024*1024 in length, how did you guys work around it so as to avoid the error or how do you handle this error as per the example in video?
Very informative, the live coding is super fast and fluent, just flying like redis.
When saving the 2500 articles, is it right that we save one at a time @ 19:35 , or we should save all at once as in jpa. Does Redis have speed disparities on the two.
That was just for a demo purpose, you can bulk load that data into Redis easily
This escalated pretty quickly. From what is Spring and Redis to somy crazy stuff
Does @Cacheable work using an asynchronous non-blocking call to the Redis CacheManager? Is it possible to get a CacheManager that will allow for async' Redis operations?
Thanks
It would be awesome if we had a source code
Wow how do you code so fast??
How can I contribute to create videos in your channel? I have 12 years experience working with Spring and made good projects that one might be interested to learn.
Could you create your own channel and let us know? I'll subscribe to it.
Please make a tutorial with MS-Sharepoint Webhooks and Spring :-)
👏🏼👏🏼
大佬