PDA

View Full Version : Already proposed Use memcache or xcache for guest cache



tavenger5
16-11-10, 16:37
I understand there is a large amount of data to be stored that may be too much for memcache, however vbOptimise has figured out a way of doing this and it seems to work very well. This would eliminate the need for the guest file cache.

vBET
17-11-10, 00:19
We already have in plans to support already existing cache systems. We will definitively look on it closer :) And you are right - we have lot of data to cache (too much to cache it entirely in memory), but as I suppose existing cache systems are configurable and do not grow without limits. I suppose (didn't check yet) that it is only configuration thing to tell how many data should be kept in cache, and if there is more then last used data is thrown away from cache. So I think that it will not be mechanism to replace File Guest Cache, but to support it and give even faster responses for pages which was visited recently.

This is already accepted in some other thread :)

moman
17-11-10, 16:46
I've found that vBET's performance using the traditional database caching is more than adequate. On a server w/o a mysql bottleneck, the queries add virtually no load or generation time.

One thing that's puzzling me, though, is why the cache is so big. On my forum, the cache is starting to push 20gb after just a week, which is frightening considering I'm only using a 300gb primary hard drive :p

A complete English dictionary would likely not take more than a few megabytes to store, so I'm wondering if maybe vBET's approach to caching isn't optimal?

moman
17-11-10, 16:47
I've found some duplicate entries in the cache:

Edit Delete 12899126581059 $50 spent on a cheap 28-70mm zoom will teach more ... 50 dólares gastados en una barata 28-70mm zoom va...
Edit Delete 12897111510247 $50, messenger-style bag, K10D and grip, couple le... $ 50, bolsa de mensajero de estilo, K10D y agarre,...
Edit Delete 12897984013763 $50, messenger-style bag, K10D and grip, couple le... $ 50, bolsa de mensajero de estilo, K10D y agarre,...
Edit Delete 12897111510247 $50, messenger-style bag, K10D and grip, couple le... $ 50, bolsa de mensajero de estilo, K10D y agarre,...
Edit Delete 12898088420098 $500 + shipping: Free ship within Canada/$15 to US... buque gratuito dentro de Canadá $ / 15 a EE.UU. y...
Edit Delete 12899971661609 $500 US/CDN + actual shipping (0.41kgs @ 24cm x 10... $ 500 US / CDN + gastos de envÃ*o reales (0.41kgs ...
12897054321530 $500 is more than you need to spend on this, thoug... $ 500 es más de lo necesario para pasar en esta, ...
Edit Delete 12898354095989 $500 more gets you a rather pedestrian quality Son... $ 500 más que hace una calidad más bien peatonal...
Edit Delete 12899456433261 $500-600 is getting awfully close to the FA 31mm a... $ 500-600 se está muy cerca de la FA 31mm a $ 964...
Edit 12899457774156 $500-600 is getting awfully close to the FA 31mm a... $ 500-600 se está muy cerca de la FA 31mm a $ 964...
Edit Delete 12897497244177 $500.00 now including US continental USPS Priority... $ 500.00 ahora incluyendo EE.UU. continental de en...
Edit Delete 12898735289696 $519-$279 = $240, not $140... but I wouldn't trust... $ 519 - $ 279 = $ 240 no, $ 140 ... pero yo no con...

vBET
01-12-10, 22:09
I've found that vBET's performance using the traditional database caching is more than adequate. On a server w/o a mysql bottleneck, the queries add virtually no load or generation time.

One thing that's puzzling me, though, is why the cache is so big. On my forum, the cache is starting to push 20gb after just a week, which is frightening considering I'm only using a 300gb primary hard drive :p

A complete English dictionary would likely not take more than a few megabytes to store, so I'm wondering if maybe vBET's approach to caching isn't optimal?

Your size of cache depends on your normal database size. Plese keep in mind that vBET gives you 52 times more content :)
Also it doesn't matter how much whole English dictioary keeps:
1. We support 52 languages not just one
2. We do not cache words, but whole translations, made by Google. So same world can be many times in different sentences.

vBET
01-12-10, 22:18
I've found some duplicate entries in the cache:

Edit Delete 12899126581059 $50 spent on a cheap 28-70mm zoom will teach more ... 50 dólares gastados en una barata 28-70mm zoom va...
Edit Delete 12897111510247 $50, messenger-style bag, K10D and grip, couple le... $ 50, bolsa de mensajero de estilo, K10D y agarre,...
Edit Delete 12897984013763 $50, messenger-style bag, K10D and grip, couple le... $ 50, bolsa de mensajero de estilo, K10D y agarre,...
Edit Delete 12897111510247 $50, messenger-style bag, K10D and grip, couple le... $ 50, bolsa de mensajero de estilo, K10D y agarre,...
Edit Delete 12898088420098 $500 + shipping: Free ship within Canada/$15 to US... buque gratuito dentro de Canadá $ / 15 a EE.UU. y...
Edit Delete 12899971661609 $500 US/CDN + actual shipping (0.41kgs @ 24cm x 10... $ 500 US / CDN + gastos de envÃ*o reales (0.41kgs ...
12897054321530 $500 is more than you need to spend on this, thoug... $ 500 es más de lo necesario para pasar en esta, ...
Edit Delete 12898354095989 $500 more gets you a rather pedestrian quality Son... $ 500 más que hace una calidad más bien peatonal...
Edit Delete 12899456433261 $500-600 is getting awfully close to the FA 31mm a... $ 500-600 se está muy cerca de la FA 31mm a $ 964...
Edit 12899457774156 $500-600 is getting awfully close to the FA 31mm a... $ 500-600 se está muy cerca de la FA 31mm a $ 964...
Edit Delete 12897497244177 $500.00 now including US continental USPS Priority... $ 500.00 ahora incluyendo EE.UU. continental de en...
Edit Delete 12898735289696 $519-$279 = $240, not $140... but I wouldn't trust... $ 519 - $ 279 = $ 240 no, $ 140 ... pero yo no con...

This is OK. This can happen only for tables with large texts (not for small and medium), because there is not possible to set unique constraints - column is too large. This is OK, because it is harmless, it will disappear anyway once 15 days, this can happen very rare (if same page translation appears twice in same time simultaneously) and it is better for performance to not block table, just allow for such situation. We know that and we know that it is OK, so you can sleep well with it :)

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Integration with translations by vB Enterprise Translator 4.10.1