Spring Tips: DataSources
HTML-код
- Опубликовано: 16 янв 2024
- hi, Spring fans! In this installment we look at the amazing ways that Spring supports pooling, caching, routing, optimizing, and using JDBC `DataSource`s #springboot #JDBC #Java #SQL #postgresql #H2 #Yugabytedb #java21 #graalvm
- Наука
No audio on right channel.
Very cool, informative, reasonably deep dived and educational video. Thank you for your efforts Josh, keep it up!
Great talk! Very informative and touches on some key areas which can be confusing for beginners.
That was very useful, thank you Josh and many thanks to all Spring developers ❤
Big thanks to your very educational videos. Please note that this add a huge help for easy and fun learning. Keep it up 😊
I was looking ages for a "quick" guidance on this topic!
Waiting 😊
My left ear agrees, but my right ear is not so sure.
Hi, What should be the right approach for this scenario:
Having an application that is tenantcy based with different database for each tenant to manage its data, let say we have more than 1k of tenants meaning 1k different databases, how efficient would be to switch between them if we determine the tenant by the request received, the typical example is to identify the tenant using a request HEADER.
Thanks for your comments.
Hey the sound is mono 😀
Could you please provide link to GitHub repo of this project
hi.. will it be possible for you to add Scala to SpringBoot
Do u know how to connect to multiple dbs if the db url we will get only in runtime?I can't find a way
How will ThreadLocal work with Virtual Threads for AbstractRoutingDataSource?
Did you find any solution?
@@muralikrishnasijuThreadLocal works just fine with virtual threads too. Only thing is it should not be used as a caching solution for expensive to create objects, as every virtual thread and as they are not pooled, also every task, would end up creating their own thread local instance. Maybe ScopedValue would work here? I am not sure, haven’t played around with them yet.
What IDE are you using
It's IntelliJ Idea Ultimate
@@thinhhapro Thank you
There is no sound !!
Not useful for understanding. Too fast and no structure in how to acheiver the goal