Thread: i'm back :)
View Single Post
Old 21.12.2005, 11:02   #5
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

yes, u are quite right on the l2j's aspect and sadly java cant do much abt that either...
and the thread pool for the sockets is a very good decision as well.
for the db wise, there's a couple of ideas i had abt it...
first i'd talk abt my previous implementation -> odbc
i chosen that due to it's high supportability, u could make dbs out of almost anything u could think of. (txt, mssql, mysql, oracle, access, etc)
and with this idea in mind, i constructed a l2dbfactory to internally manage the connection, to keep cpu&mem usage low and reduce coding and better management.
and of cuz the next idea was to make it into a multi threading pooling service (ala cached idea).
but the downside of this would be not so optimized performance
of cuz if u would like to go for full performance
u probably have to go either ado.net + tons of stored procedures or go for a object based db on a seperate machine which would yield the best results.
(all these are according to my own opinions.. correct me if i'm wrong in any way
and yeah... c#'s managed code is really good. good bye to buffer overflow exploits
sure... it'd be great to have more hands on a project then struggling alone of cuz, do u have msn/icq or something?
Digital is offline