Home Forum
2024-12-21
Benvenuto, Ospite
Nome Utente Password: Ricordami

Performance / caching
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Performance / caching

Performance / caching 14 Anni, 8 Mesi fa #1150

Hi Luigi,

First of all thanks for a great plugin... I am testing it at the moment...

I have one concern/question about performance...

I see that the plugin will make a database call for every URL parsed by Joomla.

What is your experience with performance impact of doing this?

Do you have any advice on updating indexes etc. on the database?

Do you have any plans on perhaps implementing some caching function?

I would imagine that most people would hold a limited number of redirects, and for those people I'd imaging some kind of cache would dramatically improve performance...

A suggestion might be an option to disable the hit counter too...

Thanks for your time!

Cheers,

Anders
L'Argomento è stato bloccato.

Re:Performance / caching 14 Anni, 8 Mesi fa #1151

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi Anders,
and thanks for your post.

Code optimization and performance are my obsessions, and both Tag Meta and ReDJ plugins are written with these requirements in mind.

For this reason, any suggestion about this are welcome!!!

About your question:

What is your experience with performance impact of doing this?

Do you have any advice on updating indexes etc. on the database?


No significant degradation in performances occurred during my tests. Take a look at plugin code, there's just one select on one table for each call. Unfortunately table indexes are not possible using regular expressions, but the redirection table as you say has a small number of rows.

Do you have any plans on perhaps implementing some caching function?


It would be great, but I really can't figure out how to implement it. Even for exact URL (dropping support for regular expressions), you need to save somewere a correspondence between origin and destination URL (like I do with a table). If you have some suggestion on this, you are welcome.

A suggestion might be an option to disable the hit counter too...


Also this is not necessary, because the update query is executed only for a matching url, when redirect must occur. Other statistical informations, instead, can be disabled by configuration (e.g. you can disable referral tracking to increase performance).

Let me known what you think,
Luigi
Ultima modifica: 14 Anni, 8 Mesi fa Da admin.
L'Argomento è stato bloccato.

Re:Performance / caching 13 Anni, 1 Mese fa #2765

  • dc006
  • Offline
  • Fresh Boarder
  • Messaggi: 3
Take a look at plugin code, there's just one select on one table for each call.


I would not perhaps understand the code in plugin. Does only 1 requested URL have to go trough process of ReDJ plugin or all URLs on the page have to be "scanned"?
L'Argomento è stato bloccato.

Re:Performance / caching 13 Anni, 1 Mese fa #2766

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Does only 1 requested URL have to go trough process of ReDJ plugin or all URLs on the page have to be "scanned"?


The first, no needs at all for second scenario...
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.29 secondi
Cerca con Google
News
Chi è online
 259 visitatori online
Sponsor

slotmachineaamsonline.com è una guida alle migliori slot machine online legali in Italia. Sul sito trovi un elenco sempre aggiornato dei casino online con Slot machine e bonus slot, le ultime novità dal mondo delle slot online e le migliori strategie per vincere. Inoltre, è disponibile una sezione dedicata alle slot machine da BAR che finalmente sono disponibili nella versione online.