dpradhan (@connect2pradhan) profile picture

Excited abt tech & Agile mgmt. Servant Leadership. #Azure #Watson #Cognitive #blockchain https://xitter.cf/t.co/oFQfndT82m…

Joined August 2016
Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)Photo by dpradhan (@connect2pradhan)
dpradhan retweeted
What Is Multi-Tenancy? Running one app for multiple customers (tenants) , each with isolated data. 3 Ways to Do It: 1. Database per tenant → separate DB for each tenant 2. Schema per tenant → one DB, but each tenant has its own schema 3. Shared schema → one DB & one schema, but every table has a tenant_id column Most Common ones in Spring Boot: Shared Schema (easier) Schema-per-tenant (stronger isolation) Simple Schema-per-tenant Implementation Example: 1. From the request (header/token), get the tenant ID 2. Set it in a ThreadLocal 3. Spring + Hibernate switch to the right schema based on that tenant 4. All DB queries now go to that schema .
Replying to @Sumits_X
Hi Sumit, I loved your book and your posts here. Can you please answer how to implement multi-tenancy in Spring Boot apps. I am curious.
3
27
213
12,583
dpradhan retweeted
#WATCH | Delhi | BJP MP Sambit Patra says, "Today's topic is about Bangladesh. We are not intruding on any international domain. But this is the topic of Rabindranath Tagore, so the BJP takes it very seriously and sensitively. On Tuesday, Rabindranath Tagore's ancestral house, located in Bangladesh, was attacked and damaged... His Kacharibari, built by his grandfather, has been attacked. We are getting to know that the people of Jamaat-e-Islami and Hefazat-e-Islam carried out this attack. It is also coming to light that this was a pre-planned attack. For five days, it was planned that the house of Rabindranath Tagore, the foundation and pillar of our civilisation and culture of Bengal, would be attacked so that they could send a big message to the world."
15
419
7
1,766
78,362
ગુજરાત સરકારે અમદાવાદ પ્લેન ક્રેશ દુર્ઘટના સંદર્ભમાં સ્ટેટ ઈમરજન્સી ઓપરેશન સેન્ટરમાં કંટ્રોલ રૂમ કાર્યરત કર્યો છે. આ કંટ્રોલ રૂમના ફોન નં. 079-232-51900 અને મોબાઈલ નં. 9978405304 ઉપર સંબંધિતો સંપર્ક કરી શકશે. The State Govt of Gujarat has set up a control room at the State Emergency Operation Centre in connection with the Ahmedabad plane crash. The concerned can contact the control room on Phone No.079-232-51900 and Mobile No.9978405304.
21
593
7
1,644
104,464
In view of the Ahmedabad plane crash incident, the state government has activated a Control Room at the State Emergency Operations Centre. For any related assistance Landline: 079-23251900 Mobile: 99784 05304 Police Helpline: 079-25620359
14
1,812
28
3,052
166,976
In response to the Ahmedabad plane crash incident, the state government has set up a control room at the State Emergency Operation Centre. Relatives can contact the control room at phone number 079-232-51900 and mobile number 9978405304. અમદાવાદ પ્લેન ક્રેશ દુર્ઘટના સંદર્ભમાં રાજ્ય સરકાર દ્વારા સ્ટેટ ઈમરજન્સી ઓપરેશન સેન્ટરમાં કંટ્રોલ રૂમ શરૂ કરવામાં આવ્યો છે. જેના ફોન નં. 079-232-51900 અને મોબાઈલ નં. 9978405304 ઉપર સંબંધિતો સંપર્ક કરી શકશે.
17
578
6
1,865
109,700
PRESENTING: From the makers of The Kashmir Files & The Tashkent Files: THE BENGAL FILES – Teaser Out Now. If Kashmir hurt you, Bengal will haunt you In cinemas on 05 September 2025. @abhishekofficl #PallaviJoshi #MithunChakraborty #TejNarayanAgarwal @MayankOfficl @AAArtsOfficial @i_ambuddha @the_delhifiles #MithunChakraborty @anupampkher @darshankumaar @impuneetissar #SimratKaur @rajeshkhera11 @the_delhifiles
725
6,285
238
19,327
744,097
London
55
951
9
6,167
114,555
According to ILO data, two-third Indians are now covered under at least one Social Security scheme. This coverage has risen to 64% in 2025 from 19% in 2015.
6
21
1
53
3,932
Ahmedabad City Police emergency number for police emergency services and information regarding the Ahmedabad plane crash. 07925620359 #AhmedabadPlaneCrash #PlaneCrash #AhmedabadCityPolice #Emergency
14
567
9
780
99,819
We Are Hiring! We are hosting a walk-in drive for the positions of Tosca Testing Module Lead & Dot Net Module Lead in Noida. If you think you are a good fit for any of the roles, then this is a great opportunity for you to work with Happiest Minds. #JobOpportunity #HappiestMinds
1
2
6
721
West Bengal. Do you remember these Pictures. Remember when you Vote next . #EndOfTMC
56
4,388
34
23,615
292,468
Powered by the youth of India, we are making remarkable progress in innovation and application of technology. It is also strengthening our efforts to become self-reliant and a global tech powerhouse. #11YearsOfDigitalIndia
Tech It to the Top: How India Is Powering the Next Global Digital Wave From digital deserts to a data-driven democracy—India’s tech journey over the last 11 years is nothing short of revolutionary. Under the visionary leadership of PM @narendramodi, India has transformed into a hub of digital innovation, tech-led governance, and global trust. From manufacturing to space tech, from digital payments to rural connectivity—the change is visible, impactful, and lasting. But this isn’t just about devices and platforms. It’s about seamless governance, citizen empowerment, and building a tech-first Viksit Bharat. 📲 Ready to decode the transformation? #11YearsOfDigitalIndia
1,990
4,599
97
24,074
3,842,443
𝗪𝗵𝗮𝘁 𝗶𝘀 𝗘𝘃𝗲𝗻𝘁-𝗗𝗿𝗶𝘃𝗲𝗻 𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲? Event-driven architecture is a software design pattern that operates in real-time. The program's flow is determined by events such as user actions, sensor outputs, or messages from other programs or services. In this architecture, events trigger the execution of specific processes or functions, ensuring immediate responsiveness. We usually implement it with microservices. Some examples of events include a user clicking a button, placing a new order, or uploading a file. This architecture has three key components: 𝟭. 𝗣𝗿𝗼𝗱𝘂𝗰𝗲𝗿𝘀: These components or services generate events when something notable happens. 𝟮. 𝗖𝗼𝗻𝘀𝘂𝗺𝗲𝗿𝘀: These are components or services that listen to specific events and react to them accordingly. 𝟯. 𝗖𝗵𝗮𝗻𝗻𝗲𝗹𝘀 (𝗼𝗿 𝗕𝗿𝗼𝗸𝗲𝗿𝘀): This is how events are transmitted from producers to consumers. Popular examples include message queues (like RabbitMQ) and streaming platforms (like Apache Kafka). They work as follows: An event producer detects a significant change and creates an event message. The message is sent to an event channel, which delivers it to interested event consumers. Event consumers process the event and perform the necessary actions. There are multiple benefits of this architecture: 𝟭. 𝗦𝗰𝗮𝗹𝗮𝗯𝗶𝗹𝗶𝘁𝘆. Components can be scaled independently to handle varying loads. 𝟮. 𝗟𝗼𝗼𝘀𝗲 𝗰𝗼𝘂𝗽𝗹𝗶𝗻𝗴. Components are less dependent on each other, making the system more flexible and accessible to change. 𝟯. 𝗥𝗲𝘀𝗽𝗼𝗻𝘀𝗶𝘃𝗲𝗻𝗲𝘀𝘀. Applications can react to events in real-time or near real-time. 𝟰. 𝗥𝗲𝘀𝗶𝗹𝗶𝗲𝗻𝗰𝗲. Failure in one component doesn't affect others. It also includes some 𝗱𝗶𝘀𝗮𝗱𝘃𝗮𝗻𝘁𝗮𝗴𝗲𝘀, such as increased complexity in design and debug issues, and consistency in ensuring that events are processed correctly. Some use cases include: 🔹 𝗜𝗼𝗧 𝗦𝘆𝘀𝘁𝗲𝗺𝘀: Managing data from multiple sensors. 🔹 𝗥𝗲𝗮𝗹-𝘁𝗶𝗺𝗲 𝗱𝗮𝘁𝗮 𝗽𝗿𝗼𝗰𝗲𝘀𝘀𝗶𝗻𝗴: One of its strengths is processing and analyzing data immediately upon generation. 🔹 𝗠𝗶𝗰𝗿𝗼𝘀𝗲𝗿𝘃𝗶𝗰𝗲𝘀: It complements microservices well, allowing services to communicate asynchronously and remain loosely coupled. #softwareengineering #programming #softwaredesign
7
70
374
18,760
The Taiwan Government is grateful for the swift rescue operation provided by the Indian Navy and Coast Guard to Wan Hai 503. We wish the missing crew members return safe and the injured recover soon. @indiannavy @IN_HQSNC (1/2)
28
432
7
4,990
101,902
Congratulations to Maruti Suzuki India for achieving a 5-⭐⭐⭐⭐⭐ Bharat NCAP rating for the All-New Dzire — a proud milestone for Made-in-India cars. It's heartening to witness mainstream models setting new benchmarks in vehicle safety. Encouraging too is the brand’s swift adoption of advanced active and passive safety features, including 6 airbags across its lineup. With #BharatNCAP, we aim to raise public awareness on vehicular safety, enabling customers to make informed decisions and prioritize safety while purchasing vehicles. 🚗 This marks a significant stride toward a safer and more responsible mobility ecosystem in India. @Maruti_Corp
225
421
43
5,412
196,281
Major news… earlier this afternoon, Muhammad Shahzeb Khan, a Pakistani citizen residing in Canada, was extradited to the United States on charges of attempting to provide material support to ISIS and attempting to commit acts of terrorism. In the fall of last year, Khan allegedly planned to travel from Canada to New York and carry out a mass shooting in support of ISIS at a Jewish Center in Brooklyn. Khan allegedly planned his attack to occur on October 7, 2024 — the one year anniversary of the Hamas terrorist attack in Israel. Thankfully, the great work of FBI teams and our partners exposed those plans and shut them down — and Khan was arrested by Canadian authorities on September 4, 2024. He has now arrived in the U.S. and will face American justice. This case is a reminder of the constant threat of terrorism facing every corner of the world — as well as the disturbing rise in threats against our Jewish communities. Your FBI will continue to be on guard and work around the clock to counter them. @NewYorkFBI @FBIChicago and @FBILosAngeles did great work in this case with our partners and we thank them.
4,484
11,711
1,081
75,772
3,732,273
Say it with me: Kashmir was an independent state, Pakistan invaded it, they decided to join India. Pakistan still occupies a part of Kashmir and sold a fraction of it to China. The only ‘just’ and legal solution would be that you pack your troops, shut down your terrorist camps and return Kashmir to India. And since you are there, you can also #FreeBalochistan
Refreshing and impressive to see so many British MP s come to the All Parties Parliamentary Group on Kashmir- good to know some important people in important capitals are still attached to ‘moral & historical obligation’ of the UK to pursue a just solution for the Kashmiri people
746
16
3,241
80,152
A video on social media shows Shaktikanta Das, Principal Secretary to the Prime Minister, promoting an investment platform In the video, he appears to say that investing ₹21,000 can give a daily income of ₹60,000, totaling ₹1,950,000 per month #PIBFactCheck ✔️This is a digitally altered #fake video! ✔️Don't trust such videos promoting investment schemes
13
366
7
1,100
57,779
Calling all #generativeAI startups! Applications open for AWS Generative AI Accelerator. Get up to $1M in AWS credits, mentorship, & AWS expertise. Apply by July 10: go.aws/43OpuGt
2
11
1
24
11,178
"Youngsters in India look up to the West - It breaks my heart." - Brazilian Acharya Jonas Masetti, winner of Padma Shri 2025
23
1,756
6
9,568
88,253