View Single Post
Old 03-18-2022, 09:00 AM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by Klen View Post
Yep, i used similar approach with other type of script, till i switched to memcache which is far smoother method to deal with it.
Memcached has its uses of course but for something like this memory table is PERFECT because you can do something like

INSERT INTO `table` SELECT * FROM `buffer_table`; TRUNCATE `buffer_table`;

Making it very easy to migrate the data
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote