Hi,
Im just new to Tedis and have some doubts.
1. timeour?
What this parameter means?
Is it a timeout ?
If so, what units? seconds? milliseconds?
What is it for?
could you provide some reasonable initial value or tiop on it ?
2. Pool
Does it creates a pool of TCP connections to be reused in a round robin manner?
But what is a best practice to use it?
Should I pick a tedis for every operation I want to do ?
- getTedis()
- do one insert
- putTedis()
Or pooling is better designed for a more continuous use:
- getTedis()
- do one insert
- do one reading
- do another insert
- do another reading
- .....
- putTedis()
I'm working on a plattform in which we expect even hundreds of thousands of concurrent users at time.
Any advice or tip will be highly appreciated.
Thanks in advanced !!
Hi,
Im just new to Tedis and have some doubts.
1. timeour?
What this parameter means?
Is it a timeout ?
If so, what units? seconds? milliseconds?
What is it for?
could you provide some reasonable initial value or tiop on it ?
2. Pool
Does it creates a pool of TCP connections to be reused in a round robin manner?
But what is a best practice to use it?
Should I pick a tedis for every operation I want to do ?
Or pooling is better designed for a more continuous use:
I'm working on a plattform in which we expect even hundreds of thousands of concurrent users at time.
Any advice or tip will be highly appreciated.
Thanks in advanced !!