Sticky Session:
If you have many instances of tomcat (eg: tomcat1 & tomcat2) and you start session on tomcat1, the subsequent requests will be forwarded to tomcat1 as long as tomcat1 running an up (you never reach tomcat2). It means that if tomcat1 now is down, then your subsequent request will be forwarded to tomcat2, with a different session (a new session created at tomcat1 for you). This is not very good because if your application responding on tomcat1, then moved to tomcat2, session data will be lost. Usually Sticky session is achieved in simple load balancing of Apache server in front of tomcat servers.
Session affinity:
Session affinity, means you will have the same session id regardless of your first or subsequent requests served by tomcat1 or tomcat2. It means that you session will be duplicated on both tomcat1 and tomcat2. Sometimes you served by tomcat1, sometimes you served tomcat2, although none of them is down. Usually this is achieved when tomcat cluster is created.
If you have many instances of tomcat (eg: tomcat1 & tomcat2) and you start session on tomcat1, the subsequent requests will be forwarded to tomcat1 as long as tomcat1 running an up (you never reach tomcat2). It means that if tomcat1 now is down, then your subsequent request will be forwarded to tomcat2, with a different session (a new session created at tomcat1 for you). This is not very good because if your application responding on tomcat1, then moved to tomcat2, session data will be lost. Usually Sticky session is achieved in simple load balancing of Apache server in front of tomcat servers.
Session affinity:
Session affinity, means you will have the same session id regardless of your first or subsequent requests served by tomcat1 or tomcat2. It means that you session will be duplicated on both tomcat1 and tomcat2. Sometimes you served by tomcat1, sometimes you served tomcat2, although none of them is down. Usually this is achieved when tomcat cluster is created.
This is not very good because if your application responding on tomcat1, then moved to tomcat2, session data will be lost. Usually Sticky session is achieved in simple load balancing of Apache server in front of tomcat servers.Impresion de etiquetas en transfer
ReplyDeleteSudah seru, odds nya menguntungkan lagi!!. itulah permainan sabung ayam online di www.sateayam.co
ReplyDeleteDapatkan informasi penting dalam dunia sabung ayam di website bawah ini
http://taruhanayamonline.bravesites.com/entries/general/kelebihan-dari-model-berlaganya-sabung-ayam-bangkok-saigon-juga-burma
* LETS JOIN AND FEEL SENSATION TO PLAY *
ReplyDeleteTajen Bali
Video Adu Ayam
Sabung Ayam-pukul Mati
Sabungayam
Sejarah Sabung Ayam
Bandar Sabung Ayam
Jadwal Bola Malam Ini
* VISIT OUR SITE AT *
www.gorengayam.net
* ONLY HERE YOU CAN FEEL CONTINUOUS VICTORY *
https://bakarayammarketing.blogspot.com/2018/10/makanan-murah-penambah-stamina-pada.html
WINNING303 - JUDI BOLA ONLINE | CASINO ONLINE | SLOT ONLINE | POKER ONLINE TERPERCAYA
ReplyDelete* KUNJUNGI SITUS KAMI DI *
www.winning303.com
*NB : MENANG BERAPAPUN, PASTI KAMI BAYAR !!! *
* Melayani LiveChat 7 x 24 Jam Nonstop :
- WA : +6281717177303
- BBM : WINNING303
- LINE : WINNING303*
DAFTAR SEKARANG
WINNING303 - JUDI BOLA ONLINE | CASINO ONLINE | SLOT ONLINE | POKER ONLINE TERPERCAYA
Dapatkan Double Bonus dari Donaco Poker Setiap Hari!!
ReplyDeleteMau Tau Caranya??? Ayo Daftar..!!.atau Hubungi Kami Segera......
Cara Daftar Donaco Poker
Dapatkan juga tips jitu dari kami Tips Jitu Poker
Jadwal Sabung Ayam Terupdate Setiap Hari Sabung S128
ReplyDelete