I have so far not sure how successfully, integrated memcache into the
logins for authmysql and dm_db. So it will cache all the user
information on a separate server, and update the cache if needed. It
works, its caching the information and pulling it out. Been banging my
head because the retrieval function returns a char and user_idnr is a
u64_t and for got to convert it to a integer, then pointers have been
messing with me. roflmao. I guess thats what I get with the lack of XP
I have compared to you guys.
I was reading about the mysql cache and when ever a table is
updated/modified or new records added the cache goes away. So I
thought integrated memcache into dbmail would help make it better.
Skip the mysql queries with shorter memcache queries, and when a
record is updated on the mysql side the cache will all be valid except
for the updated key in memcache.
Facebook and alot of other providers use memcache to help handle huge
loads and take the burden off the mysql databases......
Anywho. I'm not done. I will send you the code for scolding tomorrow I
guess. HAve a good day or night whereever you are. I am about to goto
sleep. C is a far cry from php lol.
On 03/31/2012 at 4:03 AM, Paul J Stevens wrote:On 03/31/2012 06:52
AM, skr...@hushmail.com wrote:
> I'm new to c programming. I am trying to make a mod to the mysql
auth
> module.
There is no such a module..., either the 2.2 mysql module, or the sql
auth module.
Just curious: what are you trying to do?
> Except it totally segfaults every time. I was wondering how do I
> just debug the module compared to the daemon, because the running
gdb on
> the imap server doesn't really say much. I am probably doing it
wrong
Working on the codebase, and especially on the modules running a
static
build is a must. It will speed up the builds, and will allow gdb to
keep
better track of symbols.
Just run configure with
--enable-static=yes --enable-shared=no
and add to CFLAGS:
-g
so the debugging symbols aren't stripped.
If you are on a debian/ubuntu/mint system you can also do as I do:
export DEB_BUILD_OPTIONS=debug,devel,sieve && fakeroot debian/rules
clean stamps configure dbmail
--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
* Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev