Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Share] CacheD with port,connStr select (https://postpacific.loc-online.com/showthread.php?t=8002)

Ra1n0 07.07.2007 23:35

[Share] CacheD with port,connStr select
 
hi all..

we made CacheD with port,connStr select + no mutex
cached based on la2guard

Code:

[World]
;default 2008 port1
port1=2008

;default 2006 port2
port2=2006

;default 2012 adminport
adminport=2012

;registry key connection. default connStr
connstr=connStr

test log
Code:

07/08/2007 03:27:xx.xx6, BBS use is disabled.
07/08/2007 03:27:xx.xx1, Item write cache is enabled
07/08/2007 03:27:xx.xx3, server ready on port 12345
07/08/2007 03:27:xx.xx3, server ready on port 12346
07/08/2007 03:27:xx.xx3, admin server ready on port 12347
07/08/2007 03:27:xx.xx3, CLogCli::Init()  Connect()

credits to Ra1n0 & Forcer ;)
based on la2guard

[download]

Xakep 08.07.2007 00:03

big THX;)...

~Marquis~ 08.07.2007 07:31

thanks, idi naxyu ))

radio 08.07.2007 07:45

Quote:

Originally Posted by ~Marquis~ (Post 91117)
thanks, idi naxyu ))

olala ......... very nice :)

Ra1n0 08.07.2007 07:48

Quote:

idi naxyu ))
man dont say this words
and stop flame in this topic..

first post updated

2 moders: delete plz posts :5,6,7,8,9

Ant0n1z 08.07.2007 11:03

That is one awesome share. A million thanks!
(putting it on test now :D)

Forcer 08.07.2007 12:52

Ah yes! Post your wishes about cached functions here =)

Professor F 08.07.2007 14:47

as you're first to do this, maybe it's resonable to have the name of db to connect to in there? instead of registry.

PS specially for PyroMaker:
THIS post might be interesting NOT only for author/ru_audience, so it's in english

Dkilla 08.07.2007 21:58

Quote:

Originally Posted by radio (Post 91081)
[rus]в Бабруйск, жЫвотное. Слова благодарности человек имеет право писать на том языке, на котором ему нравится, и уж тем более на родном языке автора топика[/rus]

Not really mate, you need to read the section rules =/

radio 09.07.2007 13:03

Quote:

Originally Posted by Dkilla (Post 91226)
Not really mate, you need to read the section rules =/

thanks, idi naxyu ))

RetaL 09.07.2007 21:20

Thanks for the share Ra1n0.
2 Radio: Если любишь выёбываться,то выёбывайся в russian discussion,там где тебя понимают.
Sorry for the russian language.

yobzhik 02.08.2007 12:06

Thanks, good share.

Quote:

Originally Posted by radio (Post 91300)
thanks, idi naxyu ))

[rus] Гы, отжок, эта пьять ! =)))) [/rus]

KOC2000 04.08.2007 15:37

Thank you much.

Firedaemon 16.08.2007 17:57

Interesting release and thank you for sharing. However I am trying to think of the benefit to having the different ports for cached and I cant think of any. Regardless of which ports cached uses, you will still want to close them all from outside sources anyway. If you dont, a simple port scan will lead to discovery.

Am I missing the value of such a thing?

madar 16.08.2007 18:00

you can run 2 cacheds on the same comp since they are hexed the mutex

Firedaemon 16.08.2007 18:39

Yeah ok, I can see the point in that then. Maybe running a dev server on the same box as the live server. Thanks.

Darklink 16.08.2007 21:52

lol, nows thats something funny. New ideas evryday :)


All times are GMT. The time now is 14:23.