Reply
redis performance problem
Old 10-15-2009, 07:53 AM redis performance problem
Junior Talker

Posts: 1
Trades: 0
Hello everyone,
Recently i've used the redis to replace my mysql database.
I have a performance problem: i need to insert data to my redis database.
i use this function to insert the data, one by one like that:
$r->set("func:funcid:name". "joe")
$r->set("func:funcid:type". "1234")
...
i have something like 20 different types of data (such as name, type etc.) i need to save about each funcid, and i have about 8000 records to save each time, thats takes me about 10-14 seconds.
Is there anyway to set 20 different data to one funcid quickly, and then to 8000 records ?

Thanks!
amitdar is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Reply     « Reply to redis performance problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.09599 seconds with 13 queries